]> git.sur5r.net Git - u-boot/blobdiff - arch/arm/include/asm/arch-mxs/sys_proto.h
ARM: mxs: move spl data
[u-boot] / arch / arm / include / asm / arch-mxs / sys_proto.h
index f2b075e14ffbbcd8325574894585793b525ef373..b23ee6d88768f1ff9612dcc5cf0d2c1892e198fb 100644 (file)
@@ -10,7 +10,7 @@
 #ifndef __MXS_SYS_PROTO_H__
 #define __MXS_SYS_PROTO_H__
 
-#include <asm/imx-common/sys_proto.h>
+#include <asm/mach-imx/sys_proto.h>
 
 int mxsmmc_initialize(bd_t *bis, int id, int (*wp)(int), int (*cd)(int));
 
@@ -85,6 +85,8 @@ static const struct mxs_pair mxs_boot_modes[] = {
 #define MXS_BM_SDMMC1_3V3              0x0a
 #define MXS_BM_SDMMC1_1V8              0x1a
 
+#define MXS_SPL_DATA ((struct mxs_spl_data *)(CONFIG_SYS_TEXT_BASE - 0x200))
+
 struct mxs_spl_data {
        uint8_t         boot_mode_idx;
        uint32_t        mem_dram_size;