[PATCH v2] spl: ram: hide SPL_RAM_SUPPORT
Tom Rini
trini at konsulko.com
Tue Sep 10 19:22:26 CEST 2024
On Tue, Sep 10, 2024 at 03:00:18PM +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,
> | ^~~~~~~~~~~~~~~~~
>
> Signed-off-by: Jerome Forissier <jerome.forissier at linaro.org>
Reviewed-by: Tom Rini <trini at konsulko.com>
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20240910/ffdf424c/attachment.sig>
More information about the U-Boot
mailing list