summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorSourav Poddar <sourav.poddar@ti.com>2014-05-19 16:53:37 -0400
committerTom Rini <trini@ti.com>2014-06-06 17:46:12 -0400
commit7a5f71bc4056591574ea122ba58c55d14145eeb0 (patch)
tree0a3bcaf7058faaffcfd34fd148ff2ddb395473ee /arch
parent867f03040f771a95323925b569eaf3b911b9eb14 (diff)
downloadu-boot-imx-7a5f71bc4056591574ea122ba58c55d14145eeb0.zip
u-boot-imx-7a5f71bc4056591574ea122ba58c55d14145eeb0.tar.gz
u-boot-imx-7a5f71bc4056591574ea122ba58c55d14145eeb0.tar.bz2
am43xx_evm: Add qspiboot target
The ePOS EVM and EVM SK have QSPI as an option to boot. Add a qspiboot target that utilizes QSPI for env and so forth as an example of best practices. As QSPI is booted from directly we need to chang CONFIG_SYS_TEXT_BASE. Note that on ePOS EVM the QSPI and NAND are mutually exclusive choices we need to handle that elsewhere, once NAND support is also added. Signed-off-by: Sourav Poddar <sourav.poddar@ti.com> Signed-off-by: Tom Rini <trini@ti.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/cpu/armv7/am33xx/board.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/cpu/armv7/am33xx/board.c b/arch/arm/cpu/armv7/am33xx/board.c
index 28c16f8..e5c922a 100644
--- a/arch/arm/cpu/armv7/am33xx/board.c
+++ b/arch/arm/cpu/armv7/am33xx/board.c
@@ -224,7 +224,7 @@ void s_init(void)
set_uart_mux_conf();
setup_clocks_for_console();
uart_soft_reset();
-#ifdef CONFIG_NOR_BOOT
+#if defined(CONFIG_NOR_BOOT) || defined(CONFIG_QSPI_BOOT)
gd->baudrate = CONFIG_BAUDRATE;
serial_init();
gd->have_console = 1;