diff options
| author | Tom Rini <[email protected]> | 2022-03-23 17:20:03 -0400 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2022-04-01 10:28:46 -0400 |
| commit | d433c74eecdce1e4952ef4e8c712a9289c0dfcc2 (patch) | |
| tree | 723ed9b77bef05eeaa0cd532487465e13120042c /boot | |
| parent | 0941548c20b9073ec4a864dba200a42f52e68573 (diff) | |
Convert CONFIG_SDCARD et al to Kconfig
This converts the following to Kconfig:
CONFIG_SDCARD
CONFIG_SPIFLASH
Signed-off-by: Tom Rini <[email protected]>
Diffstat (limited to 'boot')
| -rw-r--r-- | boot/Kconfig | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/boot/Kconfig b/boot/Kconfig index b3580bd28f0..a52c9f90c50 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 |
