Kconfig: spl: Add SPL support options to Kconfig
PATCH v4 8/45 Kconfig: spl: Add SPL support options to Kconfig
There are a lot of SPL options in U-Boot to enable various features and drivers. Currently these do not use Kconfig. Add them to Kconfig along with suitable help, and drop them from the README.
---
Changes in v4:
- Drop SPL_PINCTRL_SUPPORT
Changes in v3:
- Move SPL_NET_VCI_STRING into the SPL Kconfig file also
Changes in v2: None
README | 49 ------- common/spl/Kconfig | 411 +++++++++++++++++++++++++++++++++++++++++++++++++++++ net/Kconfig | 3 - 3 files changed, 411 insertions(+), 52 deletions(-)
README +0 -49
@@ -3509,21 +3509,6 @@ FIT uImage format: CONFIG_SPL_INIT_MINIMAL Arch init code should be built for a very small image - CONFIG_SPL_LIBCOMMON_SUPPORT - Support for common/libcommon.o in SPL binary - - CONFIG_SPL_LIBDISK_SUPPORT - Support for disk/libdisk.o in SPL binary - - CONFIG_SPL_I2C_SUPPORT - Support for drivers/i2c/libi2c.o in SPL binary - - CONFIG_SPL_GPIO_SUPPORT - Support for drivers/gpio/libgpio.o in SPL binary - - CONFIG_SPL_MMC_SUPPORT - Support for drivers/mmc/libmmc.o in SPL binary - CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR, CONFIG_SYS_U_BOOT_MAX_SIZE_SECTORS, Address and partition on the MMC to load U-Boot from
@@ -3547,12 +3532,6 @@ FIT uImage format: Partition on the MMC to load U-Boot from when the MMC is being used in fs mode - CONFIG_SPL_FAT_SUPPORT - Support for fs/fat/libfat.o in SPL binary - - CONFIG_SPL_EXT_SUPPORT - Support for EXT filesystem in SPL binary - CONFIG_SPL_FS_LOAD_PAYLOAD_NAME Filename to read to load U-Boot when reading from filesystem
@@ -3591,18 +3570,10 @@ FIT uImage format: Support for a lightweight UBI (fastmap) scanner and loader - CONFIG_SPL_MTD_SUPPORT - Support for the MTD subsystem within SPL. Useful for - environment on NAND support within SPL. - CONFIG_SPL_NAND_RAW_ONLY Support to boot only raw u-boot.bin images. Use this only if you need to save space. - CONFIG_SPL_MPC8XXX_INIT_DDR_SUPPORT - Set for the SPL on PPC mpc8xxx targets, support for - drivers/ddr/fsl/libddr.o in SPL binary. - CONFIG_SPL_COMMON_INIT_DDR Set for common ddr init with serial presence detect in SPL binary.
@@ -3638,29 +3609,9 @@ FIT uImage format: Support for an OMAP3-specific set of functions to return the ID and MFR of the first attached NAND chip, if present. - CONFIG_SPL_SERIAL_SUPPORT - Support for drivers/serial/libserial.o in SPL binary - - CONFIG_SPL_SPI_FLASH_SUPPORT - Support for drivers/mtd/spi/libspi_flash.o in SPL binary - - CONFIG_SPL_SPI_SUPPORT - Support for drivers/spi/libspi.o in SPL binary - CONFIG_SPL_RAM_DEVICE Support for running image already present in ram, in SPL binary - CONFIG_SPL_LIBGENERIC_SUPPORT - Support for lib/libgeneric.o in SPL binary - - CONFIG_SPL_ENV_SUPPORT - Support for the environment operating in SPL binary - - CONFIG_SPL_NET_SUPPORT - Support for the net/libnet.o in SPL binary. - It conflicts with SPL env from storage medium specified by - CONFIG_ENV_IS_xxx but CONFIG_ENV_IS_NOWHERE - CONFIG_SPL_PAD_TO Image offset to which the SPL should be padded before appending the SPL payload. By default, this is defined as
common/spl/Kconfig +411 -0
417 lines not on this page · raw message
net/Kconfig +0 -3
@@ -45,7 +45,4 @@ config BOOTP_VCI_STRING default "U-Boot.arm" if ARM default "U-Boot" -config SPL_NET_VCI_STRING - string - endif # if NET
Signature · 1 line
2.8.0.rc3.226.g39d4020
PATCH v4 35/45 Remove CONFIG_SPL_PINCTRL_SUPPORT
This option is not used. Drop it.
---
Changes in v4:
- Really drop CONFIG_SPL_PINCTRL_SUPPORT
Changes in v3: None
Changes in v2:
- Drop CONFIG_SPL_PINCTRL_SUPPORT
include/configs/rk3288_common.h | 2 -- 1 file changed, 2 deletions(-)
include/configs/rk3288_common.h +0 -2
@@ -63,8 +63,6 @@#define CONFIG_SYS_MMCSD_FS_BOOT_PARTITION 1#define CONFIG_SPL_FS_LOAD_PAYLOAD_NAME "u-boot.img" -#define CONFIG_SPL_PINCTRL_SUPPORT -#define CONFIG_SYS_SDRAM_BASE 0#define CONFIG_NR_DRAM_BANKS 1#define SDRAM_BANK_SIZE (2UL << 30)
Signature · 1 line
2.8.0.rc3.226.g39d4020
PATCH v4 35/45 Remove CONFIG_SPL_PINCTRL_SUPPORT
Quoted 3 lines · Simon Glass
This option is not used. Drop it.
Signed-off-by Simon Glass <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160918/7b7d13ce/attachment.sig>
PATCH v4 8/45 Kconfig: spl: Add SPL support options to Kconfig
In reply to Simon GlassQuoted 5 lines · Simon Glass
There are a lot of SPL options in U-Boot to enable various features and drivers. Currently these do not use
Kconfig. Add them toKconfigalong with suitable help, and drop them from the README.Signed-off-by Simon Glass <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160918/15e95be4/attachment.sig>