diff options
author | Dirk Behme <dirk.behme@de.bosch.com> | 2012-02-06 14:33:06 +0100 |
---|---|---|
committer | Dirk Behme <dirk.behme@gmail.com> | 2012-11-11 11:42:28 +0100 |
commit | 657ba6a83b808db32cf5c461e0d2cf99d9201b37 (patch) | |
tree | 91fb8311c5d73ec9ae27e96d02e84ae899446390 | |
parent | 8753f67f7e3f7a4b7b40d65213a710b7fb5daf85 (diff) |
mx6q: Skip the relocation for the ARM2 and SabreLite boards
The boot ROM code copies U-Boot already into the RAM at address
CONFIG_SYS_TEXT_BASE. To improve the boot time, skip the relocation
(i.e. the copy RAM -> RAM).
ATTENTION: Please read
http://lists.denx.de/pipermail/u-boot/2012-February/117140.html
why you normally don't want this!
Signed-off-by: Dirk Behme <dirk.behme@de.bosch.com>
-rw-r--r-- | include/configs/mx6qarm2.h | 13 | ||||
-rw-r--r-- | include/configs/mx6qsabrelite.h | 13 |
2 files changed, 26 insertions, 0 deletions
diff --git a/include/configs/mx6qarm2.h b/include/configs/mx6qarm2.h index 6ebdaa8768..6fb308aaa8 100644 --- a/include/configs/mx6qarm2.h +++ b/include/configs/mx6qarm2.h @@ -80,6 +80,19 @@ #define CONFIG_LOADADDR 0x10800000 #define CONFIG_SYS_TEXT_BASE 0x17800000 +/* + * The boot ROM code copies U-Boot already into the RAM at + * address CONFIG_SYS_TEXT_BASE. To improve the boot time, + * skip the relocation (i.e. the copy RAM -> RAM). + * + * ATTENTION: Please read + * + * http://lists.denx.de/pipermail/u-boot/2012-February/117140.html + * + * why you normally don't want this! + */ +#define CONFIG_SYS_SKIP_ARM_RELOCATION + #define CONFIG_EXTRA_ENV_SETTINGS \ "script=boot.scr\0" \ "uimage=uImage\0" \ diff --git a/include/configs/mx6qsabrelite.h b/include/configs/mx6qsabrelite.h index 318f857cf8..38d69e0a6c 100644 --- a/include/configs/mx6qsabrelite.h +++ b/include/configs/mx6qsabrelite.h @@ -151,6 +151,19 @@ #define CONFIG_LOADADDR 0x10800000 #define CONFIG_SYS_TEXT_BASE 0x17800000 +/* + * The boot ROM code copies U-Boot already into the RAM at + * address CONFIG_SYS_TEXT_BASE. To improve the boot time, + * skip the relocation (i.e. the copy RAM -> RAM). + * + * ATTENTION: Please read + * + * http://lists.denx.de/pipermail/u-boot/2012-February/117140.html + * + * why you normally don't want this! + */ +#define CONFIG_SYS_SKIP_ARM_RELOCATION + #define CONFIG_EXTRA_ENV_SETTINGS \ "script=boot.scr\0" \ "uimage=uImage\0" \ |