summaryrefslogtreecommitdiff
path: root/boot/Kconfig
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-03-23 17:20:03 -0400
committerTom Rini <trini@konsulko.com>2022-04-01 10:28:46 -0400
commitd433c74eecdce1e4952ef4e8c712a9289c0dfcc2 (patch)
tree723ed9b77bef05eeaa0cd532487465e13120042c /boot/Kconfig
parent0941548c20b9073ec4a864dba200a42f52e68573 (diff)
downloadu-boot-d433c74eecdce1e4952ef4e8c712a9289c0dfcc2.tar.gz
u-boot-d433c74eecdce1e4952ef4e8c712a9289c0dfcc2.tar.bz2
u-boot-d433c74eecdce1e4952ef4e8c712a9289c0dfcc2.zip
Convert CONFIG_SDCARD et al to Kconfig
This converts the following to Kconfig: CONFIG_SDCARD CONFIG_SPIFLASH Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'boot/Kconfig')
-rw-r--r--boot/Kconfig14
1 files changed, 14 insertions, 0 deletions
diff --git a/boot/Kconfig b/boot/Kconfig
index b3580bd28f..a52c9f90c5 100644
--- a/boot/Kconfig
+++ b/boot/Kconfig
@@ -423,6 +423,20 @@ config RAMBOOT_PBL
Some SoCs use PBL to load RCW and/or pre-initialization instructions.
For more details refer to doc/README.pblimage
+choice
+ prompt "Freescale PBL load location"
+ depends on RAMBOOT_PBL || ((TARGET_P1010RDB_PA || TARGET_P1010RDB_PB \
+ || TARGET_P1020RDB_PC || TARGET_P1020RDB_PD || TARGET_P2020RDB) \
+ && !CMD_NAND)
+
+config SDCARD
+ bool "Freescale PBL is found on SD card"
+
+config SPIFLASH
+ bool "Freescale PBL is found on SPI flash"
+
+endchoice
+
config SYS_FSL_PBL_PBI
string "PBI(pre-boot instructions) commands for the PBL image"
depends on RAMBOOT_PBL