[PATCH v2 1/1] arm64: versal: enable OF_SEPARATE

Michal Simek michal.simek at amd.com
Tue Jan 3 12:10:35 CET 2023



On 1/3/23 09:34, Neal Frager wrote:
> Enable CONFIG_OF_SEPARATE, so that the u-boot.dtb is built by default for
> versal devices.
> 
> Signed-off-by: Neal Frager <neal.frager at amd.com>
> ---
> V1->V2:
>    - Corrected commit message to use OF_SEPARATE in caps
> ---
>   configs/xilinx_versal_virt_defconfig | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/configs/xilinx_versal_virt_defconfig b/configs/xilinx_versal_virt_defconfig
> index de74b70550..1a254297f3 100644
> --- a/configs/xilinx_versal_virt_defconfig
> +++ b/configs/xilinx_versal_virt_defconfig
> @@ -53,6 +53,7 @@ CONFIG_CMD_MTDPARTS=y
>   CONFIG_CMD_UBI=y
>   CONFIG_PARTITION_TYPE_GUID=y
>   CONFIG_OF_BOARD=y
> +CONFIG_OF_SEPARATE=y
>   CONFIG_ENV_IS_NOWHERE=y
>   CONFIG_ENV_IS_IN_FAT=y
>   CONFIG_ENV_IS_IN_SPI_FLASH=y


When this patch is applied.

And running
for i in `ls configs/xilinx_*`; do NAME=`basename $i`; echo $NAME; make $NAME; 
make savedefconfig; cp defconfig $i; done

I get
[u-boot](debian-sent4)$ git diff
diff --git a/configs/xilinx_versal_virt_defconfig 
b/configs/xilinx_versal_virt_defconfig
index 1a254297f397..de74b7055040 100644
--- a/configs/xilinx_versal_virt_defconfig
+++ b/configs/xilinx_versal_virt_defconfig
@@ -53,7 +53,6 @@ CONFIG_CMD_MTDPARTS=y
  CONFIG_CMD_UBI=y
  CONFIG_PARTITION_TYPE_GUID=y
  CONFIG_OF_BOARD=y
-CONFIG_OF_SEPARATE=y
  CONFIG_ENV_IS_NOWHERE=y
  CONFIG_ENV_IS_IN_FAT=y
  CONFIG_ENV_IS_IN_SPI_FLASH=y

It means there is no reason to apply this patch.

M


More information about the U-Boot mailing list