diff options
author | Andrew F. Davis <afd@ti.com> | 2019-01-17 13:43:02 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-01-26 08:13:54 -0500 |
commit | 6536ca4d6676bf38e50784298e713edc30b9cde9 (patch) | |
tree | 5519cea036d781633acfdf25ae10a41eb6c41b29 /common/spl/spl_ram.c | |
parent | 70dbbd7269c2fc1c096830e448a97862ad87fd2a (diff) | |
download | u-boot-6536ca4d6676bf38e50784298e713edc30b9cde9.tar.gz |
spl: Kconfig: Drop the _SUPPORT postfix from SPL_DFU
The symbol CONFIG_SPL_DFU_SUPPORT in SPL build has the same
meaning as CONFIG_DFU in regular U-Boot. Drop the _SUPPORT
to allow for cleaner use in code.
Signed-off-by: Andrew F. Davis <afd@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Acked-by: Lukasz Majewski <lukma@denx.de>
Diffstat (limited to 'common/spl/spl_ram.c')
-rw-r--r-- | common/spl/spl_ram.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/spl/spl_ram.c b/common/spl/spl_ram.c index 5fcc3b1504..954e91a004 100644 --- a/common/spl/spl_ram.c +++ b/common/spl/spl_ram.c @@ -35,7 +35,7 @@ static int spl_ram_load_image(struct spl_image_info *spl_image, header = (struct image_header *)CONFIG_SPL_LOAD_FIT_ADDRESS; -#if CONFIG_IS_ENABLED(DFU_SUPPORT) +#if CONFIG_IS_ENABLED(DFU) if (bootdev->boot_device == BOOT_DEVICE_DFU) spl_dfu_cmd(0, "dfu_alt_info_ram", "ram", "0"); #endif @@ -76,7 +76,7 @@ static int spl_ram_load_image(struct spl_image_info *spl_image, #if CONFIG_IS_ENABLED(RAM_DEVICE) SPL_LOAD_IMAGE_METHOD("RAM", 0, BOOT_DEVICE_RAM, spl_ram_load_image); #endif -#if CONFIG_IS_ENABLED(DFU_SUPPORT) +#if CONFIG_IS_ENABLED(DFU) SPL_LOAD_IMAGE_METHOD("DFU", 0, BOOT_DEVICE_DFU, spl_ram_load_image); #endif |