From 9da7bd8c3a3bc34d6a3014edb86827964ff94dcb Mon Sep 17 00:00:00 2001 From: "Aisheng.Dong" Date: Fri, 30 Jul 2010 16:02:19 +0800 Subject: 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 --- include/configs/mx28_evk.h | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'include') 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 -- cgit v1.1