aboutsummaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorSourav Poddar2014-05-19 16:53:37 -0400
committerTom Rini2014-06-06 17:46:12 -0400
commit7a5f71bc4056591574ea122ba58c55d14145eeb0 (patch)
tree0a3bcaf7058faaffcfd34fd148ff2ddb395473ee /board
parent867f03040f771a95323925b569eaf3b911b9eb14 (diff)
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 'board')
-rw-r--r--board/ti/am43xx/Makefile2
-rw-r--r--board/ti/am43xx/board.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/board/ti/am43xx/Makefile b/board/ti/am43xx/Makefile
index cb5fe889010..36ecb302c1f 100644
--- a/board/ti/am43xx/Makefile
+++ b/board/ti/am43xx/Makefile
@@ -6,7 +6,7 @@
# SPDX-License-Identifier: GPL-2.0+
#
-ifdef CONFIG_SPL_BUILD
+ifeq ($(CONFIG_SKIP_LOWLEVEL_INIT),)
obj-y := mux.o
endif
diff --git a/board/ti/am43xx/board.c b/board/ti/am43xx/board.c
index d7449770a3f..587fd76859a 100644
--- a/board/ti/am43xx/board.c
+++ b/board/ti/am43xx/board.c
@@ -70,7 +70,7 @@ static int read_eeprom(struct am43xx_board_id *header)
return 0;
}
-#ifdef CONFIG_SPL_BUILD
+#ifndef CONFIG_SKIP_LOWLEVEL_INIT
#define NUM_OPPS 6