mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-27 01:21:33 +00:00
fdtdec: fix OF_CONTROL switch
There is no case where defined(SPL_DISABLE_OF_CONTROL) is true. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
0a5804b53a
commit
cc7aebe819
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ struct fdt_memory {
|
|||
#endif
|
||||
|
||||
#ifdef CONFIG_OF_CONTROL
|
||||
# if defined(CONFIG_SPL_BUILD) && defined(SPL_DISABLE_OF_CONTROL)
|
||||
# if defined(CONFIG_SPL_BUILD) && defined(CONFIG_SPL_DISABLE_OF_CONTROL)
|
||||
# define OF_CONTROL 0
|
||||
# else
|
||||
# define OF_CONTROL 1
|
||||
|
|
Loading…
Add table
Reference in a new issue