From d433c74eecdce1e4952ef4e8c712a9289c0dfcc2 Mon Sep 17 00:00:00 2001 From: Tom Rini Date: Wed, 23 Mar 2022 17:20:03 -0400 Subject: Convert CONFIG_SDCARD et al to Kconfig This converts the following to Kconfig: CONFIG_SDCARD CONFIG_SPIFLASH Signed-off-by: Tom Rini --- boot/Kconfig | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'boot') 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 -- cgit v1.2.3