summaryrefslogtreecommitdiffstats
path: root/src/soc/intel/broadwell/include/soc/device_nvs.h
blob: b9fc0ccb2da23265aee17b9c83ea2e73b355660e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/* SPDX-License-Identifier: GPL-2.0-only */
/* This file is part of the coreboot project. */

#ifndef _BROADWELL_DEVICE_NVS_H_
#define _BROADWELL_DEVICE_NVS_H_

#include <stdint.h>

#define SIO_NVS_DMA		0
#define SIO_NVS_I2C0		1
#define SIO_NVS_I2C1		2
#define SIO_NVS_SPI0		3
#define SIO_NVS_SPI1		4
#define SIO_NVS_UART0		5
#define SIO_NVS_UART1		6
#define SIO_NVS_SDIO		7
#define SIO_NVS_ADSP		8

typedef struct {
	u8	enable[9];
	u32	bar0[9];
	u32	bar1[9];
} __packed device_nvs_t;

#endif