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 _BAYTRAIL_DEVICE_NVS_H_
4 #define _BAYTRAIL_DEVICE_NVS_H_
5 
6 #include <stdint.h>
7 
8 #define LPSS_NVS_SIO_DMA1 0
9 #define LPSS_NVS_I2C1 1
10 #define LPSS_NVS_I2C2 2
11 #define LPSS_NVS_I2C3 3
12 #define LPSS_NVS_I2C4 4
13 #define LPSS_NVS_I2C5 5
14 #define LPSS_NVS_I2C6 6
15 #define LPSS_NVS_I2C7 7
16 #define LPSS_NVS_SIO_DMA2 8
17 #define LPSS_NVS_SPI 9
18 #define LPSS_NVS_PWM1 10
19 #define LPSS_NVS_PWM2 11
20 #define LPSS_NVS_HSUART1 12
21 #define LPSS_NVS_HSUART2 13
22 
23 #define SCC_NVS_MMC 0
24 #define SCC_NVS_SDIO 1
25 #define SCC_NVS_SD 2
26 
28  /* Device Enabled in ACPI Mode */
29  u8 lpss_en[14];
30  u8 scc_en[3];
32 
33  /* BAR 0 */
34  u32 lpss_bar0[14];
35  u32 scc_bar0[3];
37 
38  /* BAR 1 */
39  u32 lpss_bar1[14];
40  u32 scc_bar1[3];
42 
43  /* Extra */
44  u32 lpe_fw; /* LPE Firmware */
45 };
46 
47 #endif
uint32_t u32
Definition: stdint.h:51
uint8_t u8
Definition: stdint.h:45
Definition: x86.c:23
u32 lpe_bar1
Definition: device_nvs.h:41
u32 lpe_bar0
Definition: device_nvs.h:36
u32 lpe_fw
Definition: device_nvs.h:44