mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-22 04:44:46 +00:00
ARM: mvebu: Correct SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR usage
As the code is today, we get a warning about "select" statements on "choice" options not doing anything. However, it also works as intended because SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR is the default option within that choice statement. To guard against future regressions, make the choice statement in common/spl/Kconfig have an explicit default if MVEBU_SPL_BOOT_DEVICE_MMC. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Stefan Roese <sr@denx.de>
This commit is contained in:
parent
a6a2f07989
commit
9af45190d6
2 changed files with 1 additions and 1 deletions
|
@ -394,7 +394,6 @@ config MVEBU_SPL_BOOT_DEVICE_MMC
|
||||||
imply SPL_LIBDISK_SUPPORT
|
imply SPL_LIBDISK_SUPPORT
|
||||||
imply SPL_MMC
|
imply SPL_MMC
|
||||||
select SUPPORT_EMMC_BOOT if SPL_MMC
|
select SUPPORT_EMMC_BOOT if SPL_MMC
|
||||||
select SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR if SPL_MMC
|
|
||||||
select SPL_BOOTROM_SUPPORT
|
select SPL_BOOTROM_SUPPORT
|
||||||
|
|
||||||
config MVEBU_SPL_BOOT_DEVICE_SATA
|
config MVEBU_SPL_BOOT_DEVICE_SATA
|
||||||
|
|
|
@ -537,6 +537,7 @@ if SPL_SYS_MMCSD_RAW_MODE
|
||||||
|
|
||||||
choice
|
choice
|
||||||
prompt "Method for locating next phase of boot (e.g. U-Boot)"
|
prompt "Method for locating next phase of boot (e.g. U-Boot)"
|
||||||
|
default SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR if MVEBU_SPL_BOOT_DEVICE_MMC
|
||||||
|
|
||||||
config SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR
|
config SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR
|
||||||
bool "MMC raw mode: by sector"
|
bool "MMC raw mode: by sector"
|
||||||
|
|
Loading…
Add table
Reference in a new issue