diff options
| author | Allen Martin <amartin@nvidia.com> | 2012-12-19 13:02:36 -0800 | 
|---|---|---|
| committer | Allen Martin <amartin@nvidia.com> | 2012-12-19 13:02:36 -0800 | 
| commit | a098cf41fdb2a6607c675f7fe4f3164617c9367e (patch) | |
| tree | b37acb36f65909e6f74cc537d73efd883a1485a6 /arch/x86/include/asm/arch-coreboot/tables.h | |
| parent | b8a7c467960ffb4d5a5e1eef5f7783fb6f594542 (diff) | |
| parent | 095728803eedfce850a2f85828f79500cb09979e (diff) | |
| download | olio-uboot-2014.01-a098cf41fdb2a6607c675f7fe4f3164617c9367e.tar.xz olio-uboot-2014.01-a098cf41fdb2a6607c675f7fe4f3164617c9367e.zip  | |
Merge remote-tracking branch 'u-boot/master' into u-boot-arm-merged
Conflicts:
	README
	arch/arm/cpu/armv7/exynos/clock.c
	board/samsung/universal_c210/universal.c
	drivers/misc/Makefile
	drivers/power/power_fsl.c
	include/configs/mx35pdk.h
	include/configs/mx53loco.h
	include/configs/seaboard.h
Diffstat (limited to 'arch/x86/include/asm/arch-coreboot/tables.h')
| -rw-r--r-- | arch/x86/include/asm/arch-coreboot/tables.h | 74 | 
1 files changed, 74 insertions, 0 deletions
diff --git a/arch/x86/include/asm/arch-coreboot/tables.h b/arch/x86/include/asm/arch-coreboot/tables.h index c28697375..ad34a8b0f 100644 --- a/arch/x86/include/asm/arch-coreboot/tables.h +++ b/arch/x86/include/asm/arch-coreboot/tables.h @@ -164,6 +164,55 @@ struct cb_framebuffer {  	u8 reserved_mask_size;  }; +#define CB_TAG_GPIO 0x0013 +#define GPIO_MAX_NAME_LENGTH 16 +struct cb_gpio { +	u32 port; +	u32 polarity; +	u32 value; +	u8 name[GPIO_MAX_NAME_LENGTH]; +}; + +struct cb_gpios { +	u32 tag; +	u32 size; + +	u32 count; +	struct cb_gpio gpios[0]; +}; + +#define CB_TAG_FDT	0x0014 +struct cb_fdt { +	uint32_t tag; +	uint32_t size;	/* size of the entire entry */ +	/* the actual FDT gets placed here */ +}; + +#define CB_TAG_VDAT	0x0015 +struct cb_vdat { +	uint32_t tag; +	uint32_t size;	/* size of the entire entry */ +	void	 *vdat_addr; +	uint32_t vdat_size; +}; + +#define CB_TAG_TIMESTAMPS	0x0016 +#define CB_TAG_CBMEM_CONSOLE	0x0017 +#define CB_TAG_MRC_CACHE	0x0018 +struct cb_cbmem_tab { +	uint32_t tag; +	uint32_t size; +	void   *cbmem_tab; +}; + +#define CB_TAG_VBNV		0x0019 +struct cb_vbnv { +	uint32_t tag; +	uint32_t size; +	uint32_t vbnv_start; +	uint32_t vbnv_size; +}; +  #define CB_TAG_CMOS_OPTION_TABLE 0x00c8  struct cb_cmos_option_table {  	u32 tag; @@ -238,4 +287,29 @@ struct sysinfo_t;  int get_coreboot_info(struct sysinfo_t *info); +#define CBMEM_TOC_RESERVED      512 +#define MAX_CBMEM_ENTRIES       16 +#define CBMEM_MAGIC             0x434f5245 + +struct cbmem_entry { +	u32 magic; +	u32 id; +	u64 base; +	u64 size; +} __packed; + +#define CBMEM_ID_FREESPACE      0x46524545 +#define CBMEM_ID_GDT            0x4c474454 +#define CBMEM_ID_ACPI           0x41435049 +#define CBMEM_ID_CBTABLE        0x43425442 +#define CBMEM_ID_PIRQ           0x49525154 +#define CBMEM_ID_MPTABLE        0x534d5054 +#define CBMEM_ID_RESUME         0x5245534d +#define CBMEM_ID_RESUME_SCRATCH 0x52455343 +#define CBMEM_ID_SMBIOS         0x534d4254 +#define CBMEM_ID_TIMESTAMP      0x54494d45 +#define CBMEM_ID_MRCDATA        0x4d524344 +#define CBMEM_ID_CONSOLE        0x434f4e53 +#define CBMEM_ID_NONE           0x00000000 +  #endif  |