diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2015-08-12 07:31:54 +0900 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2015-08-18 13:46:04 -0400 |
commit | dffb86e468c8e02ba77283989aefef214d904dc5 (patch) | |
tree | 6a34789586f2e78de5974ded230f13255f6da143 /common | |
parent | cc7aebe8198be062ae005448f78c7cdcbba825d4 (diff) | |
download | u-boot-imx-dffb86e468c8e02ba77283989aefef214d904dc5.zip u-boot-imx-dffb86e468c8e02ba77283989aefef214d904dc5.tar.gz u-boot-imx-dffb86e468c8e02ba77283989aefef214d904dc5.tar.bz2 |
of: flip CONFIG_SPL_DISABLE_OF_CONTROL into CONFIG_SPL_OF_CONTROL
As we discussed a couple of times, negative CONFIG options make our
life difficult; CONFIG_SYS_NO_FLASH, CONFIG_SYS_DCACHE_OFF, ...
and here is another one.
Now, there are three boards enabling OF_CONTROL on SPL:
- socfpga_arria5_defconfig
- socfpga_cyclone5_defconfig
- socfpga_socrates_defconfig
This commit adds CONFIG_SPL_OF_CONTROL for them and deletes
CONFIG_SPL_DISABLE_OF_CONTROL from the other boards to invert
the logic.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common')
-rw-r--r-- | common/spl/spl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/spl/spl.c b/common/spl/spl.c index 94b01da..45cf925 100644 --- a/common/spl/spl.c +++ b/common/spl/spl.c @@ -158,7 +158,7 @@ int spl_init(void) gd->malloc_ptr = 0; #endif if (IS_ENABLED(CONFIG_OF_CONTROL) && - !IS_ENABLED(CONFIG_SPL_DISABLE_OF_CONTROL)) { + IS_ENABLED(CONFIG_SPL_OF_CONTROL)) { ret = fdtdec_setup(); if (ret) { debug("fdtdec_setup() returned error %d\n", ret); |