Correct SPL use of OF_EMBED
authorSimon Glass <sjg@chromium.org>
Sun, 5 Feb 2023 22:40:25 +0000 (15:40 -0700)
committerTom Rini <trini@konsulko.com>
Fri, 10 Feb 2023 12:41:39 +0000 (07:41 -0500)
This converts 1 usage of this option to the non-SPL form, since there is
no SPL_OF_EMBED defined in Kconfig

Signed-off-by: Simon Glass <sjg@chromium.org>
common/board_r.c

index fe803615163f44de7a341d23631b8fa7fb6483f3..90e1219fb967052962d19cceb3100a16fc19511b 100644 (file)
@@ -155,7 +155,7 @@ static int initr_reloc_global_data(void)
         * The fdt_blob needs to be moved to new relocation address
         * incase of FDT blob is embedded with in image
         */
-       if (CONFIG_IS_ENABLED(OF_EMBED) && IS_ENABLED(CONFIG_NEEDS_MANUAL_RELOC))
+       if (IS_ENABLED(CONFIG_OF_EMBED) && IS_ENABLED(CONFIG_NEEDS_MANUAL_RELOC))
                gd->fdt_blob += gd->reloc_off;
 
 #ifdef CONFIG_EFI_LOADER