dm: core: Allow devres to be disabled in SPL
authorSimon Glass <sjg@chromium.org>
Sun, 27 Mar 2022 20:26:19 +0000 (14:26 -0600)
committerTom Rini <trini@konsulko.com>
Mon, 18 Apr 2022 21:53:56 +0000 (17:53 -0400)
commit092d5c2a83b730844aeaa5ac300ddc7f13a75f49
treea1eb7b69290ad103c95dc2688dfd227a1eaa45d3
parent0c6be933ffeb991c1b9b70bce9cf9e9cdb92c9ed
dm: core: Allow devres to be disabled in SPL

At present if devres is enabled in U-Boot proper it is enabled in SPL.
We don't normally want it there, so disable it.

Signed-off-by: Simon Glass <sjg@chromium.org>
Tested-by: Angus Ainslie <angus@akkea.ca>
drivers/core/Makefile
drivers/core/device.c
include/dm/device-internal.h
include/dm/device.h
include/dm/devres.h
test/dm/Makefile