Convert CONFIG_OF_EMBED to Kconfig
authorTom Rini <trini@konsulko.com>
Sun, 31 Oct 2021 03:03:54 +0000 (23:03 -0400)
committerTom Rini <trini@konsulko.com>
Fri, 5 Nov 2021 15:23:29 +0000 (11:23 -0400)
This converts the following to Kconfig:
   CONFIG_OF_EMBED

Signed-off-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Rick Chen <rick@andestech.com>
README
configs/adp-ae3xx_defconfig
configs/adp-ag101p_defconfig
include/configs/adp-ae3xx.h
include/configs/adp-ag101p.h
include/configs/cgtqmx8.h
include/configs/imx8qm_mek.h
include/configs/imx8qxp_mek.h

diff --git a/README b/README
index 840b192..420513f 100644 (file)
--- a/README
+++ b/README
@@ -673,13 +673,6 @@ The following options need to be configured:
                U-Boot needs to get its device tree from somewhere. This can
                be done using one of the three options below:
 
-               CONFIG_OF_EMBED
-               If this variable is defined, U-Boot will embed a device tree
-               binary in its image. This device tree file should be in the
-               board directory and called <soc>-<board>.dts. The binary file
-               is then picked up in board_init_f() and made available through
-               the global data structure as gd->fdt_blob.
-
                CONFIG_OF_SEPARATE
                If this variable is defined, U-Boot will build a device tree
                binary. It will be called u-boot.dtb. Architecture-specific
index 2183712..3fa00fb 100644 (file)
@@ -24,6 +24,7 @@ CONFIG_CMD_DATE=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_FAT=y
 CONFIG_OF_CONTROL=y
+CONFIG_OF_EMBED=y
 CONFIG_ENV_OVERWRITE=y
 CONFIG_ENV_IS_IN_SPI_FLASH=y
 CONFIG_SYS_RELOC_GD_ENV_ADDR=y
index 3b2c5ea..cc6541b 100644 (file)
@@ -22,6 +22,7 @@ CONFIG_CMD_DATE=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_FAT=y
 CONFIG_OF_CONTROL=y
+CONFIG_OF_EMBED=y
 CONFIG_ENV_OVERWRITE=y
 CONFIG_ENV_IS_IN_FLASH=y
 CONFIG_ENV_ADDR=0x80140000
index b6a78b1..973033d 100644 (file)
@@ -24,7 +24,6 @@
 #ifdef CONFIG_SKIP_LOWLEVEL_INIT
 #ifdef CONFIG_OF_CONTROL
 #undef CONFIG_OF_SEPARATE
-#define CONFIG_OF_EMBED
 #endif
 #endif
 
index 3e78d5c..f533ada 100644 (file)
@@ -26,7 +26,6 @@
 #ifdef CONFIG_SKIP_LOWLEVEL_INIT
 #ifdef CONFIG_OF_CONTROL
 #undef CONFIG_OF_SEPARATE
-#define CONFIG_OF_EMBED
 #endif
 #endif
 
index df9bd90..11b186a 100644 (file)
@@ -30,8 +30,6 @@
 #define CONFIG_SPL_RAW_IMAGE_ARM_TRUSTED_FIRMWARE
 
 #define CONFIG_SPL_ABORT_ON_RAW_IMAGE
-
-#define CONFIG_OF_EMBED
 #endif
 
 #define CONFIG_REMAKE_ELF
index 451140e..d3c3e58 100644 (file)
@@ -30,8 +30,6 @@
 #define CONFIG_SPL_RAW_IMAGE_ARM_TRUSTED_FIRMWARE
 
 #define CONFIG_SPL_ABORT_ON_RAW_IMAGE
-
-#define CONFIG_OF_EMBED
 #endif
 
 #define CONFIG_REMAKE_ELF
index a7ca48f..3b1f957 100644 (file)
@@ -28,8 +28,6 @@
 #define CONFIG_SPL_RAW_IMAGE_ARM_TRUSTED_FIRMWARE
 
 #define CONFIG_SPL_ABORT_ON_RAW_IMAGE
-
-#define CONFIG_OF_EMBED
 #endif
 
 #define CONFIG_REMAKE_ELF