diff options
author | Tom Rini <trini@konsulko.com> | 2022-05-28 17:21:03 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-06-06 12:09:29 -0400 |
commit | 103d1aecb0b9e48955d4cd90aa3dbc0a22a1fab9 (patch) | |
tree | 3c9aaff648980a26b0a4a799a6730ac4a3617e5d /common/spl/Kconfig | |
parent | 5fc1d581762724b03ad0be86aaa76c0005d92b1a (diff) | |
download | u-boot-103d1aecb0b9e48955d4cd90aa3dbc0a22a1fab9.zip u-boot-103d1aecb0b9e48955d4cd90aa3dbc0a22a1fab9.tar.gz u-boot-103d1aecb0b9e48955d4cd90aa3dbc0a22a1fab9.tar.bz2 |
Convert CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTOR et al to Kconfig
This converts the following to Kconfig:
CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTOR
CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTORS
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'common/spl/Kconfig')
-rw-r--r-- | common/spl/Kconfig | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/common/spl/Kconfig b/common/spl/Kconfig index 05049c1..d4f02b5 100644 --- a/common/spl/Kconfig +++ b/common/spl/Kconfig @@ -1226,6 +1226,20 @@ config SYS_MMCSD_RAW_MODE_KERNEL_SECTOR Note that the Falcon mode image can also be a FIT, if FIT support is enabled. +config SYS_MMCSD_RAW_MODE_ARGS_SECTOR + hex "Falcon mode: Sector to load 'args' from MMC" + depends on SPL_FALCON_BOOT_MMCSD + help + When Falcon mode is used with an MMC or SD media, SPL needs to know + where to look for the OS 'args', typically a device tree. The + contents are expected to begin at the raw MMC specified in this config. + Note that if using a FIT image, this and the next option can be set to + 0x0. + +config SYS_MMCSD_RAW_MODE_ARGS_SECTORS + hex "Falcon mode: Number of sectors to load for 'args' from MMC" + depends on SPL_FALCON_BOOT_MMCSD && SYS_MMCSD_RAW_MODE_ARGS_SECTOR != 0x0 + config SPL_PAYLOAD string "SPL payload" default "tpl/u-boot-with-tpl.bin" if TPL |