]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
Correct SPL uses of EFI_HAVE_CAPSULE_SUPPORT
authorSimon Glass <sjg@chromium.org>
Sun, 5 Feb 2023 22:39:42 +0000 (15:39 -0700)
committerTom Rini <trini@konsulko.com>
Thu, 9 Feb 2023 21:32:26 +0000 (16:32 -0500)
This converts 13 usages of this option to the non-SPL form, since there is
no SPL_EFI_HAVE_CAPSULE_SUPPORT defined in Kconfig

Signed-off-by: Simon Glass <sjg@chromium.org>
12 files changed:
board/advantech/imx8mp_rsb3720a1/imx8mp_rsb3720a1.c
board/compulab/imx8mm-cl-iot-gate/imx8mm-cl-iot-gate.c
board/emulation/common/qemu_dfu.c
board/emulation/qemu-arm/qemu-arm.c
board/kontron/pitx_imx8m/pitx_imx8m.c
board/kontron/sl-mx8mm/sl-mx8mm.c
board/kontron/sl28/sl28.c
board/rockchip/evb_rk3399/evb-rk3399.c
board/sandbox/sandbox.c
board/socionext/developerbox/developerbox.c
board/st/stm32mp1/stm32mp1.c
board/xilinx/common/board.c

index aa9687f7a9d991f0da340c98e021a2152474bba5..34109c69ddbdf1001bf87f8869d7fd965e99b343 100644 (file)
@@ -35,7 +35,7 @@ static void setup_gpmi_nand(void)
 }
 #endif
 
-#if CONFIG_IS_ENABLED(EFI_HAVE_CAPSULE_SUPPORT)
+#if IS_ENABLED(CONFIG_EFI_HAVE_CAPSULE_SUPPORT)
 struct efi_fw_image fw_images[] = {
 #if defined(CONFIG_TARGET_IMX8MP_RSB3720A1_4G)
        {
index 3d7fff34d25eb78a4ae860c144e0e17761fd1db3..b373e45df951f7905ab2fed832f8c4b8d835df2e 100644 (file)
@@ -31,7 +31,7 @@
 
 DECLARE_GLOBAL_DATA_PTR;
 
-#if CONFIG_IS_ENABLED(EFI_HAVE_CAPSULE_SUPPORT)
+#if IS_ENABLED(CONFIG_EFI_HAVE_CAPSULE_SUPPORT)
 struct efi_fw_image fw_images[] = {
 #if defined(CONFIG_TARGET_IMX8MM_CL_IOT_GATE)
        {
index c1aeaf10d939e995d93f8c0eb80d7b39582d2561..332d659c1f7c278c604004754afb48297df9e9ed 100644 (file)
@@ -44,7 +44,7 @@ void set_dfu_alt_info(char *interface, char *devstr)
 
        ALLOC_CACHE_ALIGN_BUFFER(char, buf, DFU_ALT_BUF_LEN);
 
-       if (!CONFIG_IS_ENABLED(EFI_HAVE_CAPSULE_SUPPORT) &&
+       if (!IS_ENABLED(CONFIG_EFI_HAVE_CAPSULE_SUPPORT) &&
            env_get("dfu_alt_info"))
                return;
 
index dae37640bc5bb2e43341117335ca787e3676631b..34ed3e8ae63030ea6d012c5c811f1729db92a6a0 100644 (file)
@@ -29,7 +29,7 @@
 #ifdef CONFIG_ARM64
 #include <asm/armv8/mmu.h>
 
-#if CONFIG_IS_ENABLED(EFI_HAVE_CAPSULE_SUPPORT)
+#if IS_ENABLED(CONFIG_EFI_HAVE_CAPSULE_SUPPORT)
 struct efi_fw_image fw_images[] = {
 #if defined(CONFIG_TARGET_QEMU_ARM_32BIT)
        {
index d974af8da1a71cc2460d6bb9fbe86387eb8e8781..af1832c47368e84927be3d893bbe1e320f2ebc1c 100644 (file)
@@ -32,7 +32,7 @@ static iomux_v3_cfg_t const uart_pads[] = {
        IMX8MQ_PAD_ECSPI1_MISO__UART3_CTS_B | MUX_PAD_CTRL(UART_PAD_CTRL),
 };
 
-#if CONFIG_IS_ENABLED(EFI_HAVE_CAPSULE_SUPPORT)
+#if IS_ENABLED(CONFIG_EFI_HAVE_CAPSULE_SUPPORT)
 struct efi_fw_image fw_images[] = {
        {
                .image_type_id = KONTRON_PITX_IMX8M_FIT_IMAGE_GUID,
index 4ac430b29a980bb07f5e56df566ac900be77a070..250195694ba5aae938f53c775b514946a7c53d6c 100644 (file)
@@ -18,7 +18,7 @@
 
 DECLARE_GLOBAL_DATA_PTR;
 
-#if CONFIG_IS_ENABLED(EFI_HAVE_CAPSULE_SUPPORT)
+#if IS_ENABLED(CONFIG_EFI_HAVE_CAPSULE_SUPPORT)
 struct efi_fw_image fw_images[] = {
        {
                .image_type_id = KONTRON_SL_MX8MM_FIT_IMAGE_GUID,
index 0576b3eae482b534f16296d50a24bd385ab471a2..4ad6b323476ce674257e2209b82d51bc4cd4a5b9 100644 (file)
@@ -28,7 +28,7 @@
 
 DECLARE_GLOBAL_DATA_PTR;
 
-#if CONFIG_IS_ENABLED(EFI_HAVE_CAPSULE_SUPPORT)
+#if IS_ENABLED(CONFIG_EFI_HAVE_CAPSULE_SUPPORT)
 struct efi_fw_image fw_images[] = {
        {
                .image_type_id = KONTRON_SL28_FIT_IMAGE_GUID,
index f56b379b937f68056122069cb5d884e703b9719b..c99ffdd75e803f11c8b299493004fa315476353d 100644 (file)
@@ -14,7 +14,7 @@
 
 #define ROCKPI4_UPDATABLE_IMAGES       2
 
-#if CONFIG_IS_ENABLED(EFI_HAVE_CAPSULE_SUPPORT)
+#if IS_ENABLED(CONFIG_EFI_HAVE_CAPSULE_SUPPORT)
 static struct efi_fw_image fw_images[ROCKPI4_UPDATABLE_IMAGES] = {0};
 
 struct efi_capsule_update_info update_info = {
index 8b953f9b397ef67f319b296fcd43b8b059692e03..2e44bdf0df3e392c12f5260ae0deeddf63c0d098 100644 (file)
@@ -29,7 +29,7 @@
  */
 gd_t *gd;
 
-#if CONFIG_IS_ENABLED(EFI_HAVE_CAPSULE_SUPPORT)
+#if IS_ENABLED(CONFIG_EFI_HAVE_CAPSULE_SUPPORT)
 /* GUIDs for capsule updatable firmware images */
 #define SANDBOX_UBOOT_IMAGE_GUID \
        EFI_GUID(0x09d7cf52, 0x0720, 0x4710, 0x91, 0xd1, \
index 6415c90c1c1d7231de2838dcdf678f27a7f50e98..16e14d4f7f56db2a982358cce8876830c084b5fb 100644 (file)
@@ -18,7 +18,7 @@
 
 #include <linux/kernel.h>
 
-#if CONFIG_IS_ENABLED(EFI_HAVE_CAPSULE_SUPPORT)
+#if IS_ENABLED(CONFIG_EFI_HAVE_CAPSULE_SUPPORT)
 struct efi_fw_image fw_images[] = {
        {
                .image_type_id = DEVELOPERBOX_UBOOT_IMAGE_GUID,
index b0dfa2b332ef9e2e1caebcef2cf68304e5b762db..ec6f0b43f2870f26922a3fa44289d8a9fcd9b134 100644 (file)
@@ -88,7 +88,7 @@
 #define USB_START_LOW_THRESHOLD_UV     1230000
 #define USB_START_HIGH_THRESHOLD_UV    2150000
 
-#if CONFIG_IS_ENABLED(EFI_HAVE_CAPSULE_SUPPORT)
+#if IS_ENABLED(CONFIG_EFI_HAVE_CAPSULE_SUPPORT)
 struct efi_fw_image fw_images[1];
 
 struct efi_capsule_update_info update_info = {
@@ -677,7 +677,7 @@ int board_init(void)
 
        setup_led(LEDST_ON);
 
-#if CONFIG_IS_ENABLED(EFI_HAVE_CAPSULE_SUPPORT)
+#if IS_ENABLED(CONFIG_EFI_HAVE_CAPSULE_SUPPORT)
        efi_guid_t image_type_guid = STM32MP_FIP_IMAGE_GUID;
 
        guidcpy(&fw_images[0].image_type_id, &image_type_guid);
index 35a2f310f4f7eb08755b18847652939eecb4ddbf..aa9f3ef071c2a83bb8ecaefc86d3f4fd4ce11e22 100644 (file)
@@ -33,7 +33,7 @@
 
 #include "fru.h"
 
-#if CONFIG_IS_ENABLED(EFI_HAVE_CAPSULE_SUPPORT)
+#if IS_ENABLED(CONFIG_EFI_HAVE_CAPSULE_SUPPORT)
 struct efi_fw_image fw_images[] = {
 #if defined(XILINX_BOOT_IMAGE_GUID)
        {