Commit 55c0e49a authored by Markus Niebel's avatar Markus Niebel Committed by Stefano Babic
Browse files

arm: imx6: tqma6: boot device selection via Kconfig


Signed-off-by: default avatarMarkus Niebel <Markus.Niebel@tq-group.com>
parent 30ed1257
......@@ -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
......
CONFIG_ARM=y
CONFIG_ARCH_MX6=y
CONFIG_TARGET_TQMA6=y
CONFIG_SYS_EXTRA_OPTIONS="MBA6,TQMA6X_MMC_BOOT"
CONFIG_SYS_EXTRA_OPTIONS="MBA6"
CONFIG_CMD_SETEXPR=y
CONFIG_CMD_NET=y
CONFIG_ARM=y
CONFIG_ARCH_MX6=y
CONFIG_TARGET_TQMA6=y
CONFIG_SYS_EXTRA_OPTIONS="MBA6,TQMA6X_SPI_BOOT"
CONFIG_TQMA6X_SPI_BOOT=y
CONFIG_SYS_EXTRA_OPTIONS="MBA6"
CONFIG_CMD_SETEXPR=y
CONFIG_CMD_NET=y
......@@ -2,6 +2,6 @@ CONFIG_ARM=y
CONFIG_ARCH_MX6=y
CONFIG_TARGET_TQMA6=y
CONFIG_TQMA6S=y
CONFIG_SYS_EXTRA_OPTIONS="MBA6,TQMA6X_MMC_BOOT"
CONFIG_SYS_EXTRA_OPTIONS="MBA6"
CONFIG_CMD_SETEXPR=y
CONFIG_CMD_NET=y
......@@ -2,6 +2,7 @@ CONFIG_ARM=y
CONFIG_ARCH_MX6=y
CONFIG_TARGET_TQMA6=y
CONFIG_TQMA6S=y
CONFIG_SYS_EXTRA_OPTIONS="MBA6,TQMA6X_SPI_BOOT"
CONFIG_TQMA6X_SPI_BOOT=y
CONFIG_SYS_EXTRA_OPTIONS="MBA6"
CONFIG_CMD_SETEXPR=y
CONFIG_CMD_NET=y
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment