[PATCH v2] spl: ram: hide SPL_RAM_SUPPORT

Tom Rini trini at konsulko.com
Wed Sep 25 01:40:39 CEST 2024


On Tue, 10 Sep 2024 15:00:18 +0200, Jerome Forissier wrote:

> Make SPL_RAM_SUPPORT a hidden Kconfig symbol, automatically selected
> by SPL_RAM_DEVICE or SPL_DFU. Avoids the situation where SPL_RAM_SUPPORT
> may be enabled without the other two being enabled, which results in the
> following build warning:
> 
> common/spl/spl_ram.c:19:14: warning: ‘spl_ram_load_read’ defined but not used [-Wunused-function]
>    19 | static ulong spl_ram_load_read(struct spl_load_info *load, ulong sector,
>       |              ^~~~~~~~~~~~~~~~~
> 
> [...]

Applied to u-boot/next, thanks!

-- 
Tom




More information about the U-Boot mailing list