summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAisheng.Dong <b29396@freescale.com>2010-07-30 16:02:19 +0800
committerAisheng.Dong <b29396@freescale.com>2010-07-30 16:13:43 +0800
commit9da7bd8c3a3bc34d6a3014edb86827964ff94dcb (patch)
tree32d0771acd91e95a8f80dd6ac5217c2d2be851b5
parent9fb5acfda21d655864072d0bf8fbf8602bda543a (diff)
downloadu-boot-imx-9da7bd8c3a3bc34d6a3014edb86827964ff94dcb.zip
u-boot-imx-9da7bd8c3a3bc34d6a3014edb86827964ff94dcb.tar.gz
u-boot-imx-9da7bd8c3a3bc34d6a3014edb86827964ff94dcb.tar.bz2
ENGR00125757 mx28: change the boot mode offset to TO1.2 version
The boot mode offset has been changed in TO1.2. Signed-off-by: Aisheng.Dong <b29396@freescale.com>
-rw-r--r--include/configs/mx28_evk.h13
1 files changed, 10 insertions, 3 deletions
diff --git a/include/configs/mx28_evk.h b/include/configs/mx28_evk.h
index 81c8e9e..3148fd2 100644
--- a/include/configs/mx28_evk.h
+++ b/include/configs/mx28_evk.h
@@ -25,6 +25,7 @@
* SoC configurations
*/
#define CONFIG_MX28 /* i.MX28 SoC */
+#define CONFIG_MX28_TO1_2
#define CONFIG_SYS_HZ 1000 /* Ticks per second */
/* ROM loads UBOOT into DRAM */
#define CONFIG_SKIP_RELOCATE_UBOOT
@@ -143,10 +144,16 @@
#define CONFIG_ENV_SIZE (0x20000 - 0x400) /* 127 KB */
#define CONFIG_DYNAMIC_MMC_DEVNO
-/* The global boot mode has been detected by Boot ROM and a boot mode value
- * is stored at address of 0x0001a7f0.
+/* The global boot mode will be detected by ROM code and
+ * a boot mode value will be stored at fixed address:
+ * TO1.0 addr 0x0001a7f0
+ * TO1.2 addr 0x00019BF0
*/
-#define GLOBAL_BOOT_MODE_ADDR 0x0001a7f0
+#ifndef MX28_EVK_TO1_0
+ #define GLOBAL_BOOT_MODE_ADDR 0x00019BF0
+#else
+ #define GLOBAL_BOOT_MODE_ADDR 0x0001a7f0
+#endif
#define BOOT_MODE_SD0 0x9
#define BOOT_MODE_SD1 0xa