[PATCH] xilinx: Enable GUID partitions and EFI variable commands

Michal Simek monstr at monstr.eu
Fri Apr 23 08:47:37 CEST 2021


čt 1. 4. 2021 v 12:51 odesílatel Michal Simek <michal.simek at xilinx.com> napsal:
>
> For work with EFI it is good to have GUID partitions enabled and also
> option to work with UEFI variables. That's why enable both.
>
> Signed-off-by: Michal Simek <michal.simek at xilinx.com>
> ---
>
>  configs/xilinx_versal_virt_defconfig | 2 ++
>  configs/xilinx_zynqmp_virt_defconfig | 3 +++
>  2 files changed, 5 insertions(+)
>
> diff --git a/configs/xilinx_versal_virt_defconfig b/configs/xilinx_versal_virt_defconfig
> index 03c81e6c2751..707693713a7e 100644
> --- a/configs/xilinx_versal_virt_defconfig
> +++ b/configs/xilinx_versal_virt_defconfig
> @@ -18,6 +18,7 @@ CONFIG_USE_PREBOOT=y
>  CONFIG_BOARD_EARLY_INIT_R=y
>  CONFIG_SYS_PROMPT="Versal> "
>  CONFIG_CMD_BOOTMENU=y
> +CONFIG_CMD_NVEDIT_EFI=y
>  CONFIG_CMD_MEMTEST=y
>  CONFIG_SYS_ALT_MEMTEST=y
>  CONFIG_CMD_CLK=y
> @@ -38,6 +39,7 @@ CONFIG_CMD_TIMER=y
>  CONFIG_CMD_EXT4_WRITE=y
>  CONFIG_CMD_MTDPARTS=y
>  CONFIG_CMD_UBI=y
> +CONFIG_PARTITION_TYPE_GUID=y
>  CONFIG_OF_BOARD=y
>  CONFIG_ENV_IS_NOWHERE=y
>  CONFIG_ENV_IS_IN_FAT=y
> diff --git a/configs/xilinx_zynqmp_virt_defconfig b/configs/xilinx_zynqmp_virt_defconfig
> index a399c1761949..25351b3315c9 100644
> --- a/configs/xilinx_zynqmp_virt_defconfig
> +++ b/configs/xilinx_zynqmp_virt_defconfig
> @@ -35,6 +35,7 @@ CONFIG_SPL_ATF=y
>  CONFIG_SPL_ATF_NO_PLATFORM_PARAM=y
>  CONFIG_CMD_BOOTMENU=y
>  CONFIG_CMD_THOR_DOWNLOAD=y
> +CONFIG_CMD_NVEDIT_EFI=y
>  CONFIG_CMD_MEMTEST=y
>  CONFIG_SYS_ALT_MEMTEST=y
>  CONFIG_CMD_BIND=y
> @@ -67,6 +68,7 @@ CONFIG_CMD_MTDPARTS=y
>  CONFIG_CMD_MTDPARTS_SPREAD=y
>  CONFIG_CMD_MTDPARTS_SHOW_NET_SIZES=y
>  CONFIG_CMD_UBI=y
> +CONFIG_PARTITION_TYPE_GUID=y
>  CONFIG_SPL_OF_CONTROL=y
>  CONFIG_OF_LIST="avnet-ultra96-rev1 zynqmp-a2197-revA zynqmp-e-a2197-00-revA zynqmp-g-a2197-00-revA zynqmp-m-a2197-01-revA zynqmp-m-a2197-02-revA zynqmp-m-a2197-03-revA zynqmp-p-a2197-00-revA zynqmp-zc1232-revA zynqmp-zc1254-revA zynqmp-zc1751-xm015-dc1 zynqmp-zc1751-xm016-dc2 zynqmp-zc1751-xm017-dc3 zynqmp-zc1751-xm018-dc4 zynqmp-zc1751-xm019-dc5 zynqmp-zcu100-revC zynqmp-zcu102-rev1.1 zynqmp-zcu102-rev1.0 zynqmp-zcu102-revA zynqmp-zcu102-revB zynqmp-zcu104-revA zynqmp-zcu104-revC zynqmp-zcu106-revA zynqmp-zcu111-revA zynqmp-zcu1275-revA zynqmp-zcu1275-revB zynqmp-zcu1285-revA zynqmp-zcu208-revA zynqmp-zcu216-revA zynqmp-topic-miamimp-xilinx-xdp-v1r1"
>  CONFIG_OF_SPL_REMOVE_PROPS="pinctrl-0 pinctrl-names interrupt-parent interrupts iommus power-domains"
> @@ -175,4 +177,5 @@ CONFIG_WDT_CDNS=y
>  CONFIG_PANIC_HANG=y
>  CONFIG_TPM=y
>  CONFIG_SPL_GZIP=y
> +# CONFIG_SPL_HEXDUMP is not set
>  CONFIG_OF_LIBFDT_OVERLAY=y
> --
> 2.31.0
>

Applied.
M


-- 
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel - Xilinx Microblaze
Maintainer of Linux kernel - Xilinx Zynq ARM and ZynqMP ARM64 SoCs
U-Boot custodian - Xilinx Microblaze/Zynq/ZynqMP/Versal SoCs


More information about the U-Boot mailing list