]> git.baikalelectronics.ru Git - uboot.git/commit
misc: Fix always compiling MISC even for SPL/TPL
authorSean Anderson <sean.anderson@seco.com>
Fri, 22 Apr 2022 20:11:37 +0000 (16:11 -0400)
committerTom Rini <trini@konsulko.com>
Tue, 10 May 2022 13:51:50 +0000 (09:51 -0400)
commit059427e444fe623b11038a020b811ccd726cc5f1
tree9a3dfe7faca39ccf7f3b1bd4fb5946c46edb99f8
parent9d609a4379bd0b9cbf68dff2e92069ccdaafccd6
misc: Fix always compiling MISC even for SPL/TPL

We should only build support for misc if the appropriate SPL/TPL symbol
is defined. To ease the transition, make SPL/TPL_MISC default to MISC.
This is necessary because many drivers don't specify their dependencies
properly. These defaults can be removed once all drivers depend on the
appropriate config.

Fixes: 8d9a664ecc ("spl: misc: Allow misc drivers in SPL and TPL")
Signed-off-by: Sean Anderson <sean.anderson@seco.com>
[trini: Add VPL_MISC symbol, handle like SPL/TPL_MISC]
Signed-off-by: Tom Rini <trini@konsulko.com>
drivers/misc/Kconfig
drivers/misc/Makefile