]> git.sur5r.net Git - u-boot/blobdiff - arch/arm/include/asm/arch-omap5/omap.h
omap_hsmmc: Wait for CMDI to be clear
[u-boot] / arch / arm / include / asm / arch-omap5 / omap.h
index 85975de2da251ee08b87325e0e81de160d78a1b1..d811d6ec237739712118c5a0468a8865613f332c 100644 (file)
@@ -203,5 +203,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 /* __ASSEMBLY__ */
 #endif