]> git.dujemihanovic.xyz Git - u-boot.git/commit
spl: ram: hide SPL_RAM_SUPPORT
authorJerome Forissier <jerome.forissier@linaro.org>
Tue, 10 Sep 2024 13:00:18 +0000 (15:00 +0200)
committerTom Rini <trini@konsulko.com>
Tue, 24 Sep 2024 16:07:36 +0000 (10:07 -0600)
commitab507411216f59171fd853e0d77c7943c1d391e4
tree224c64fad10bb357e4e1440ff5f77e0ac1db607c
parent0aea8264f668bdcb2f352e6facc8d1cebe873e0a
spl: ram: hide SPL_RAM_SUPPORT

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@linaro.org>
Reviewed-by: Sean Anderson <seanga2@gmail.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
common/spl/Kconfig
drivers/usb/gadget/Kconfig