CONFIG_SUPPORT_SPL表示是否支持SPL功能,一般是在具体arch的Kconfig的版型菜单中,根据需要select
Replace CONFIG_SPL_EXT_SUPPORT to CONFIG_SPLY_FS_EXT4 so both obj-$(CONFIG_$(SPL_)FS_EXT4) and CONFIG_IS_ENABLED(FS_EXT4) can be used to control the build in both SPL and U-Boot. Signed-off-by: Tien Fong Chee <tien.fong.chee@intel.com> Reviewed-by: Tom Rini <trini@konsulko....
if (IS_ENABLED(CONFIG_SPL_FAT_SUPPORT)) if (IS_ENABLED(CONFIG_SPL_FS_FAT)) return MMCSD_MODE_FS; else return MMCSD_MODE_RAW; case MMC1_BOOT: case MMC2_BOOT: case MMC3_BOOT: if (IS_ENABLED(CONFIG_SPL_FAT_SUPPORT)) if (IS_ENABLED(CONFIG_SPL_FS_FAT)) return MMCSD_MODE_FS; ...
@@ -181,7 +181,7 @@ u32 spl_boot_mode(const u32 boot_device) case BOOT_DEVICE_MMC1: case BOOT_DEVICE_MMC2: case BOOT_DEVICE_MMC2_2: #if defined(CONFIG_SPL_FAT_SUPPORT) #if defined(CONFIG_SPL_FS_FAT) return MMCSD_MODE_FS; #elif defined(CONFIG_SUPPORT_EMMC_BOOT) return MMCSD...