coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
device_nvs.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 
3 #ifndef _BROADWELL_DEVICE_NVS_H_
4 #define _BROADWELL_DEVICE_NVS_H_
5 
6 #include <stdint.h>
7 
8 #define SIO_NVS_DMA 0
9 #define SIO_NVS_I2C0 1
10 #define SIO_NVS_I2C1 2
11 #define SIO_NVS_SPI0 3
12 #define SIO_NVS_SPI1 4
13 #define SIO_NVS_UART0 5
14 #define SIO_NVS_UART1 6
15 #define SIO_NVS_SDIO 7
16 #define SIO_NVS_ADSP 8
17 
18 struct __packed device_nvs {
19  u8 enable[9];
20  u32 bar0[9];
21  u32 bar1[9];
22 };
23 
24 #endif
uint32_t u32
Definition: stdint.h:51
uint8_t u8
Definition: stdint.h:45
Definition: x86.c:23