diff options
author | Vitaly Andrianov <vitalya@ti.com> | 2016-03-28 15:15:59 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-04-01 17:17:57 -0400 |
commit | 27ce6965389fd2ee2104f3c0d75695b34a232f45 (patch) | |
tree | 3571bc72ed2676479455835c5957368612d4a88a /include/configs | |
parent | f00169a915a4abcb03ba323755117959fbbc632e (diff) | |
download | u-boot-imx-27ce6965389fd2ee2104f3c0d75695b34a232f45.zip u-boot-imx-27ce6965389fd2ee2104f3c0d75695b34a232f45.tar.gz u-boot-imx-27ce6965389fd2ee2104f3c0d75695b34a232f45.tar.bz2 |
configs: ti_armv7_keystone2: make SYS_TEXT_BASE configurable at build time
U-boot for general purpose KS2 devices is loaded to the beginning of the
internal memory (0x0c000000). Secure devices uses this memory and
CONFIG_SYS_TEXT_BASE has to be different for those devices.
This commit make this configurable at build time by giving
CONFIG_SYS_TEXT_BASE as a command line definition to make command.
Signed-off-by: Vitaly Andrianov <vitalya@ti.com>
Diffstat (limited to 'include/configs')
-rw-r--r-- | include/configs/ti_armv7_keystone2.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/configs/ti_armv7_keystone2.h b/include/configs/ti_armv7_keystone2.h index 6a3beac..41185a1 100644 --- a/include/configs/ti_armv7_keystone2.h +++ b/include/configs/ti_armv7_keystone2.h @@ -20,7 +20,9 @@ /* SoC Configuration */ #define CONFIG_ARCH_CPU_INIT #define CONFIG_SYS_ARCH_TIMER +#ifndef CONFIG_SYS_TEXT_BASE #define CONFIG_SYS_TEXT_BASE 0x0c000000 +#endif #define CONFIG_SPL_TARGET "u-boot-spi.gph" #define CONFIG_SYS_DCACHE_OFF |