diff options
Diffstat (limited to 'arch/arm/include/asm/arch-omap4/omap.h')
| -rw-r--r-- | arch/arm/include/asm/arch-omap4/omap.h | 16 | 
1 files changed, 16 insertions, 0 deletions
| diff --git a/arch/arm/include/asm/arch-omap4/omap.h b/arch/arm/include/asm/arch-omap4/omap.h index 0ade8961a..e9942574f 100644 --- a/arch/arm/include/asm/arch-omap4/omap.h +++ b/arch/arm/include/asm/arch-omap4/omap.h @@ -191,5 +191,21 @@ struct control_lpddr2io_regs {  #define DEV_DESC_PTR_OFFSET	0x4  #define DEV_DATA_PTR_OFFSET	0x18  #define BOOT_MODE_OFFSET	0x8 +#define RESET_REASON_OFFSET	0x9 +#define CH_FLAGS_OFFSET		0xA +#define CH_FLAGS_CHSETTINGS	(0x1 << 0) +#define CH_FLAGS_CHRAM		(0x1 << 1) +#define CH_FLAGS_CHFLASH	(0x1 << 2) +#define CH_FLAGS_CHMMCSD	(0x1 << 3) + +#ifndef __ASSEMBLY__ +struct omap_boot_parameters { +	char *boot_message; +	unsigned int mem_boot_descriptor; +	unsigned char omap_bootdevice; +	unsigned char reset_reason; +	unsigned char ch_flags; +}; +#endif  #endif |