[PATCH] core: devres: don't use devres code when CONFIG_DEVRES is not defined
Simon Glass
sjg at chromium.org
Sat Feb 19 23:12:09 CET 2022
On Wed, 2 Feb 2022 at 16:16, Angus Ainslie <angus at akkea.ca> wrote:
>
> Put guards around the devres code so that it isn't compiled during the SPL.
>
> Signed-off-by: Angus Ainslie <angus at akkea.ca>
> ---
> drivers/core/devres.c | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
I think the correct fix here is to change the Makefile rule for this file to use
CONFIG_$(SPL_)DEVRES
instead of
CONFIG_DEVRES
Can you try it?
Regards,
Simon
[..]
More information about the U-Boot
mailing list