summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorMarkus Niebel <Markus.Niebel@tq-group.com>2015-06-04 17:25:33 +0200
committerStefano Babic <sbabic@denx.de>2015-06-27 17:59:17 +0200
commit55c0e49ab31dbd7d45ee978ae08194a8f28ae188 (patch)
tree2e02a7376f2d70a56a238985cc9f0ded745e208e /board
parent30ed1257dbd61efc5d3d0856d81b69aba380705b (diff)
arm: imx6: tqma6: boot device selection via Kconfig
Signed-off-by: Markus Niebel <Markus.Niebel@tq-group.com>
Diffstat (limited to 'board')
-rw-r--r--board/tqc/tqma6/Kconfig19
1 files changed, 19 insertions, 0 deletions
diff --git a/board/tqc/tqma6/Kconfig b/board/tqc/tqma6/Kconfig
index ce47ba49c6a..132e82f68dc 100644
--- a/board/tqc/tqma6/Kconfig
+++ b/board/tqc/tqma6/Kconfig
@@ -33,6 +33,25 @@ config TQMA6S
endchoice
+choice
+ prompt "TQMa6 boot configuration"
+ default TQMA6X_MMC_BOOT
+ help
+ Configure boot device. This is also used to implement environment
+ location.
+
+config TQMA6X_MMC_BOOT
+ bool "MMC / SD Boot"
+ help
+ Boot from eMMC / SD Card
+
+config TQMA6X_SPI_BOOT
+ bool "SPI NOR Boot"
+ help
+ Boot from on board SPI NOR flash
+
+endchoice
+
config IMX_CONFIG
default "board/tqc/tqma6/tqma6q.cfg" if TQMA6Q
default "board/tqc/tqma6/tqma6s.cfg" if TQMA6S