diff options
author | Tom Rini <trini@konsulko.com> | 2015-07-31 19:55:11 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2015-08-12 20:48:07 -0400 |
commit | b4c4fec300e87ce8b071fd8f3a9fd5bd2dce35ad (patch) | |
tree | 86b829fb8f3801d734fe75143ef4542fdb5f9323 | |
parent | b5d92ba1ad97c06985ebc689e1ac1462a146832d (diff) | |
download | u-boot-imx-b4c4fec300e87ce8b071fd8f3a9fd5bd2dce35ad.zip u-boot-imx-b4c4fec300e87ce8b071fd8f3a9fd5bd2dce35ad.tar.gz u-boot-imx-b4c4fec300e87ce8b071fd8f3a9fd5bd2dce35ad.tar.bz2 |
dra7xx: Move CONS_INDEX to Kconfig and enable CONFIG_SPL_STACK_ADDR
- Move the CONS_INDEX selection out of CONFIG_SYS_EXTRA_OPTIONS and
into Kconfig proper.
- While in here, enable CONFIG_SPL_STACK_ADDR
Signed-off-by: Tom Rini <trini@konsulko.com>
-rw-r--r-- | board/ti/dra7xx/Kconfig | 8 | ||||
-rw-r--r-- | configs/dra7xx_evm_defconfig | 3 | ||||
-rw-r--r-- | configs/dra7xx_evm_qspiboot_defconfig | 4 | ||||
-rw-r--r-- | configs/dra7xx_evm_uart3_defconfig | 5 |
4 files changed, 17 insertions, 3 deletions
diff --git a/board/ti/dra7xx/Kconfig b/board/ti/dra7xx/Kconfig index 3bbd866..80341d9 100644 --- a/board/ti/dra7xx/Kconfig +++ b/board/ti/dra7xx/Kconfig @@ -9,4 +9,12 @@ config SYS_VENDOR config SYS_CONFIG_NAME default "dra7xx_evm" +config CONS_INDEX + int "UART used for console" + range 1 6 + default 1 + help + The DRA7xx (and AM57x) SoC has a total of 6 UARTs available to it. + Depending on your specific board you may want something other than UART1 + here. endif diff --git a/configs/dra7xx_evm_defconfig b/configs/dra7xx_evm_defconfig index 463a7e2..f98e7b7 100644 --- a/configs/dra7xx_evm_defconfig +++ b/configs/dra7xx_evm_defconfig @@ -2,7 +2,8 @@ CONFIG_ARM=y CONFIG_OMAP54XX=y CONFIG_TARGET_DRA7XX_EVM=y CONFIG_SPL=y -CONFIG_SYS_EXTRA_OPTIONS="CONS_INDEX=1" +CONFIG_SPL_STACK_R=y +CONFIG_SPL_STACK_R_ADDR=0x82000000 # CONFIG_CMD_IMLS is not set # CONFIG_CMD_FLASH is not set # CONFIG_CMD_SETEXPR is not set diff --git a/configs/dra7xx_evm_qspiboot_defconfig b/configs/dra7xx_evm_qspiboot_defconfig index 90e3cf4..f14fa62 100644 --- a/configs/dra7xx_evm_qspiboot_defconfig +++ b/configs/dra7xx_evm_qspiboot_defconfig @@ -2,7 +2,9 @@ CONFIG_ARM=y CONFIG_OMAP54XX=y CONFIG_TARGET_DRA7XX_EVM=y CONFIG_SPL=y -CONFIG_SYS_EXTRA_OPTIONS="CONS_INDEX=1,QSPI_BOOT" +CONFIG_SPL_STACK_R=y +CONFIG_SPL_STACK_R_ADDR=0x82000000 +CONFIG_SYS_EXTRA_OPTIONS="QSPI_BOOT" # CONFIG_CMD_IMLS is not set # CONFIG_CMD_FLASH is not set # CONFIG_CMD_SETEXPR is not set diff --git a/configs/dra7xx_evm_uart3_defconfig b/configs/dra7xx_evm_uart3_defconfig index 474cada..8882260 100644 --- a/configs/dra7xx_evm_uart3_defconfig +++ b/configs/dra7xx_evm_uart3_defconfig @@ -1,8 +1,11 @@ CONFIG_ARM=y CONFIG_OMAP54XX=y CONFIG_TARGET_DRA7XX_EVM=y +CONFIG_CONS_INDEX=3 CONFIG_SPL=y -CONFIG_SYS_EXTRA_OPTIONS="CONS_INDEX=3,SPL_YMODEM_SUPPORT" +CONFIG_SPL_STACK_R=y +CONFIG_SPL_STACK_R_ADDR=0x82000000 +CONFIG_SYS_EXTRA_OPTIONS="SPL_YMODEM_SUPPORT" # CONFIG_CMD_IMLS is not set # CONFIG_CMD_FLASH is not set # CONFIG_CMD_SETEXPR is not set |