diff options
| author | Minkyu Kang <mk7.kang@samsung.com> | 2012-12-10 13:44:41 +0900 | 
|---|---|---|
| committer | Minkyu Kang <mk7.kang@samsung.com> | 2012-12-10 14:13:27 +0900 | 
| commit | 2c601c7208713ba9b2158c57adcf515f4bdbc212 (patch) | |
| tree | 9f6e70f33565beceb956b98c261bee19731d50d2 /arch/x86/include/asm/arch-coreboot/tables.h | |
| parent | b8a7c467960ffb4d5a5e1eef5f7783fb6f594542 (diff) | |
| parent | fd4d564b3c80b111f18c93adb14233a6a7ddb0e9 (diff) | |
| download | olio-uboot-2014.01-2c601c7208713ba9b2158c57adcf515f4bdbc212.tar.xz olio-uboot-2014.01-2c601c7208713ba9b2158c57adcf515f4bdbc212.zip | |
Merge branch 'master' of git://git.denx.de/u-boot into resolve
Conflicts:
	README
	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 |