All of lore.kernel.org
 help / color / mirror / Atom feed
From: Simon Glass <sjg@chromium.org>
To: U-Boot Mailing List <u-boot@lists.denx.de>
Cc: Tom Rini <trini@konsulko.com>, Simon Glass <sjg@chromium.org>
Subject: [PATCH v2 073/169] Correct SPL uses of EFI_HAVE_CAPSULE_SUPPORT
Date: Sun,  5 Feb 2023 15:39:42 -0700	[thread overview]
Message-ID: <20230205224118.233425-74-sjg@chromium.org> (raw)
In-Reply-To: <20230205224118.233425-63-sjg@chromium.org>

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>
---

(no changes since v1)

 board/advantech/imx8mp_rsb3720a1/imx8mp_rsb3720a1.c    | 2 +-
 board/compulab/imx8mm-cl-iot-gate/imx8mm-cl-iot-gate.c | 2 +-
 board/emulation/common/qemu_dfu.c                      | 2 +-
 board/emulation/qemu-arm/qemu-arm.c                    | 2 +-
 board/kontron/pitx_imx8m/pitx_imx8m.c                  | 2 +-
 board/kontron/sl-mx8mm/sl-mx8mm.c                      | 2 +-
 board/kontron/sl28/sl28.c                              | 2 +-
 board/rockchip/evb_rk3399/evb-rk3399.c                 | 2 +-
 board/sandbox/sandbox.c                                | 2 +-
 board/socionext/developerbox/developerbox.c            | 2 +-
 board/st/stm32mp1/stm32mp1.c                           | 4 ++--
 board/xilinx/common/board.c                            | 2 +-
 12 files changed, 13 insertions(+), 13 deletions(-)

diff --git a/board/advantech/imx8mp_rsb3720a1/imx8mp_rsb3720a1.c b/board/advantech/imx8mp_rsb3720a1/imx8mp_rsb3720a1.c
index aa9687f7a9d..34109c69ddb 100644
--- a/board/advantech/imx8mp_rsb3720a1/imx8mp_rsb3720a1.c
+++ b/board/advantech/imx8mp_rsb3720a1/imx8mp_rsb3720a1.c
@@ -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)
 	{
diff --git a/board/compulab/imx8mm-cl-iot-gate/imx8mm-cl-iot-gate.c b/board/compulab/imx8mm-cl-iot-gate/imx8mm-cl-iot-gate.c
index 3d7fff34d25..b373e45df95 100644
--- a/board/compulab/imx8mm-cl-iot-gate/imx8mm-cl-iot-gate.c
+++ b/board/compulab/imx8mm-cl-iot-gate/imx8mm-cl-iot-gate.c
@@ -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)
 	{
diff --git a/board/emulation/common/qemu_dfu.c b/board/emulation/common/qemu_dfu.c
index c1aeaf10d93..332d659c1f7 100644
--- a/board/emulation/common/qemu_dfu.c
+++ b/board/emulation/common/qemu_dfu.c
@@ -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;
 
diff --git a/board/emulation/qemu-arm/qemu-arm.c b/board/emulation/qemu-arm/qemu-arm.c
index 3df3e41c0b2..ff1755f8cde 100644
--- a/board/emulation/qemu-arm/qemu-arm.c
+++ b/board/emulation/qemu-arm/qemu-arm.c
@@ -19,7 +19,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)
 	{
diff --git a/board/kontron/pitx_imx8m/pitx_imx8m.c b/board/kontron/pitx_imx8m/pitx_imx8m.c
index d974af8da1a..af1832c4736 100644
--- a/board/kontron/pitx_imx8m/pitx_imx8m.c
+++ b/board/kontron/pitx_imx8m/pitx_imx8m.c
@@ -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,
diff --git a/board/kontron/sl-mx8mm/sl-mx8mm.c b/board/kontron/sl-mx8mm/sl-mx8mm.c
index 4ac430b29a9..250195694ba 100644
--- a/board/kontron/sl-mx8mm/sl-mx8mm.c
+++ b/board/kontron/sl-mx8mm/sl-mx8mm.c
@@ -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,
diff --git a/board/kontron/sl28/sl28.c b/board/kontron/sl28/sl28.c
index 0576b3eae48..4ad6b323476 100644
--- a/board/kontron/sl28/sl28.c
+++ b/board/kontron/sl28/sl28.c
@@ -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,
diff --git a/board/rockchip/evb_rk3399/evb-rk3399.c b/board/rockchip/evb_rk3399/evb-rk3399.c
index f56b379b937..c99ffdd75e8 100644
--- a/board/rockchip/evb_rk3399/evb-rk3399.c
+++ b/board/rockchip/evb_rk3399/evb-rk3399.c
@@ -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 = {
diff --git a/board/sandbox/sandbox.c b/board/sandbox/sandbox.c
index 8b953f9b397..2e44bdf0df3 100644
--- a/board/sandbox/sandbox.c
+++ b/board/sandbox/sandbox.c
@@ -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, \
diff --git a/board/socionext/developerbox/developerbox.c b/board/socionext/developerbox/developerbox.c
index 6415c90c1c1..16e14d4f7f5 100644
--- a/board/socionext/developerbox/developerbox.c
+++ b/board/socionext/developerbox/developerbox.c
@@ -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,
diff --git a/board/st/stm32mp1/stm32mp1.c b/board/st/stm32mp1/stm32mp1.c
index b0dfa2b332e..ec6f0b43f28 100644
--- a/board/st/stm32mp1/stm32mp1.c
+++ b/board/st/stm32mp1/stm32mp1.c
@@ -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);
diff --git a/board/xilinx/common/board.c b/board/xilinx/common/board.c
index 35a2f310f4f..aa9f3ef071c 100644
--- a/board/xilinx/common/board.c
+++ b/board/xilinx/common/board.c
@@ -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)
 	{
-- 
2.39.1.519.gcb327c4b5f-goog


  parent reply	other threads:[~2023-02-05 23:07 UTC|newest]

Thread overview: 111+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-05 22:39 [PATCH v2 062/169] Correct SPL uses of CPU_MICROBLAZE Simon Glass
2023-02-05 22:39 ` [PATCH v2 063/169] Correct SPL use of DEBUG_UART_ZYNQ Simon Glass
2023-02-05 22:39 ` [PATCH v2 064/169] Correct SPL uses of DFU_VIRT Simon Glass
2023-02-09 17:49   ` Tom Rini
2023-02-12 23:14     ` Simon Glass
2023-02-05 22:39 ` [PATCH v2 067/169] Correct SPL use of DISPLAY_CPUINFO Simon Glass
2023-02-05 22:39 ` [PATCH v2 068/169] Correct SPL use of DM_RNG Simon Glass
2023-02-09  0:40   ` Tom Rini
2023-02-09  1:08     ` Simon Glass
2023-02-09  1:10       ` Tom Rini
2023-02-05 22:39 ` [PATCH v2 069/169] Correct SPL uses of DTB_RESELECT Simon Glass
2023-02-05 22:39 ` [PATCH v2 070/169] Correct SPL uses of DWC_ETH_QOS Simon Glass
2023-02-05 22:39 ` [PATCH v2 071/169] Correct SPL use of EFI_APP Simon Glass
2023-02-05 22:39 ` [PATCH v2 072/169] Correct SPL use of EFI_DEVICE_PATH_UTIL Simon Glass
2023-02-05 22:39 ` Simon Glass [this message]
2023-02-05 22:39 ` [PATCH v2 074/169] Correct SPL use of EFI_LOADER_HII Simon Glass
2023-02-05 22:39 ` [PATCH v2 076/169] Correct SPL use of EFI_SECURE_BOOT Simon Glass
2023-02-10 18:43   ` Tom Rini
2023-02-05 22:39 ` [PATCH v2 077/169] Correct SPL use of EFI_TCG2_PROTOCOL Simon Glass
2023-02-06 23:41   ` Heinrich Schuchardt
2023-02-07  4:02     ` Simon Glass
2023-02-07  8:40       ` Heinrich Schuchardt
2023-02-07 13:38         ` Simon Glass
2023-02-05 22:39 ` [PATCH v2 078/169] Correct SPL use of EFI_UNICODE_COLLATION_PROTOCOL2 Simon Glass
2023-02-06 23:36   ` Heinrich Schuchardt
2023-02-06 23:38     ` Tom Rini
2023-02-07  1:24       ` Heinrich Schuchardt
2023-02-07  1:36         ` Tom Rini
2023-02-07  9:11           ` Heinrich Schuchardt
2023-02-05 22:39 ` [PATCH v2 079/169] Correct SPL uses of ENV_IS_IN_UBI Simon Glass
2023-02-05 22:39 ` [PATCH v2 080/169] Correct SPL uses of ENV_VARS_UBOOT_RUNTIME_CONFIG Simon Glass
2023-02-05 22:39 ` [PATCH v2 081/169] Correct SPL use of ENV_WRITEABLE_LIST Simon Glass
2023-02-05 22:39 ` [PATCH v2 082/169] Correct SPL use of EXYNOS7420 Simon Glass
2023-02-05 22:39 ` [PATCH v2 084/169] Correct SPL uses of FASTBOOT_FLASH Simon Glass
2023-02-05 22:39 ` [PATCH v2 087/169] Correct SPL use of FASTBOOT_MMC_USER_SUPPORT Simon Glass
2023-02-05 22:39 ` [PATCH v2 088/169] Correct SPL use of FDT_SIMPLEFB Simon Glass
2023-02-05 22:39 ` [PATCH v2 090/169] Correct SPL use of FSL_CAAM Simon Glass
2023-02-05 22:40 ` [PATCH v2 091/169] Correct SPL uses of FSL_ISBC_KEY_EXT Simon Glass
2023-02-09  1:09   ` Tom Rini
2023-02-12 23:14     ` Simon Glass
2023-02-05 22:40 ` [PATCH v2 092/169] Correct SPL use of FSL_MC_ENET Simon Glass
2023-02-05 22:40 ` [PATCH v2 093/169] Correct SPL use of FSP_VERSION2 Simon Glass
2023-02-10 12:41   ` Tom Rini
2023-02-12 23:14     ` Simon Glass
2023-02-05 22:40 ` [PATCH v2 094/169] Correct SPL use of FS_EROFS Simon Glass
2023-02-05 22:40 ` [PATCH v2 095/169] Correct SPL use of GENERATE_SMBIOS_TABLE Simon Glass
2023-02-09  2:40   ` Tom Rini
2023-02-12 23:14     ` Simon Glass
2023-02-05 22:40 ` [PATCH v2 096/169] Correct SPL uses of GMAC_ROCKCHIP Simon Glass
2023-02-09  1:51   ` Tom Rini
2023-02-12 23:14     ` Simon Glass
2023-02-05 22:40 ` [PATCH v2 097/169] Correct SPL use of HUSH_PARSER Simon Glass
2023-02-05 22:40 ` [PATCH v2 098/169] Correct SPL uses of HW_WATCHDOG Simon Glass
2023-02-05 22:40 ` [PATCH v2 099/169] Correct SPL uses of I8259_PIC Simon Glass
2023-02-10 12:41   ` Tom Rini
2023-02-12 23:14     ` Simon Glass
2023-02-05 22:40 ` [PATCH v2 100/169] Correct SPL uses of IMX8M Simon Glass
2023-02-05 22:40 ` [PATCH v2 101/169] Correct SPL use of IMX8MN_BEACON_2GB_LPDDR Simon Glass
2023-02-05 22:40 ` [PATCH v2 102/169] Correct SPL uses of IMX_MODULE_FUSE Simon Glass
2023-02-05 22:40 ` [PATCH v2 103/169] Correct SPL uses of IMX_RDC Simon Glass
2023-02-09  2:39   ` Tom Rini
2023-02-12 23:14     ` Simon Glass
2023-02-05 22:40 ` [PATCH v2 104/169] Correct SPL uses of LMB Simon Glass
2023-02-05 22:40 ` [PATCH v2 105/169] Correct SPL uses of MICROBLAZE Simon Glass
2023-02-05 22:40 ` [PATCH v2 106/169] Correct SPL use of MIPS_CM Simon Glass
2023-02-05 22:40 ` [PATCH v2 107/169] Correct SPL use of MMC_QUIRKS Simon Glass
2023-02-06  0:30   ` Jaehoon Chung
2023-02-09 21:32   ` Tom Rini
2023-02-05 22:40 ` [PATCH v2 108/169] Correct SPL uses of MTD Simon Glass
2023-02-05 22:40 ` [PATCH v2 109/169] Correct SPL uses of MULTIPLEXER Simon Glass
2023-02-09 15:56   ` Tom Rini
2023-02-12 23:14     ` Simon Glass
2023-02-05 22:40 ` [PATCH v2 110/169] Correct SPL uses of NEEDS_MANUAL_RELOC Simon Glass
2023-02-05 22:40 ` [PATCH v2 111/169] Correct SPL use of NETDEVICES Simon Glass
2023-02-05 22:40 ` [PATCH v2 112/169] Correct SPL uses of NXP_FSPI Simon Glass
2023-02-09  2:04   ` Tom Rini
2023-02-12 23:14     ` Simon Glass
2023-02-05 22:40 ` [PATCH v2 113/169] Correct SPL use of OCTEON_SERIAL_BOOTCMD Simon Glass
2023-02-05 22:40 ` [PATCH v2 114/169] Correct SPL use of OCTEON_SERIAL_PCIE_CONSOLE Simon Glass
2023-02-05 22:40 ` [PATCH v2 116/169] Correct SPL use of OF_EMBED Simon Glass
2023-02-05 22:40 ` [PATCH v2 118/169] Correct SPL use of PARTITION_TYPE_GUID Simon Glass
2023-02-05 22:40 ` [PATCH v2 119/169] Correct SPL use of PCI_PNP Simon Glass
2023-02-09 23:34   ` Tom Rini
2023-02-12 23:14     ` Simon Glass
2023-02-05 22:40 ` [PATCH v2 120/169] Correct SPL uses of PG_WCOM_UBOOT_BOOTPACKAGE Simon Glass
2023-02-05 22:40 ` [PATCH v2 121/169] Correct SPL uses of PG_WCOM_UBOOT_UPDATE Simon Glass
2023-02-05 22:40 ` [PATCH v2 124/169] Correct SPL use of PHY_CADENCE_TORRENT Simon Glass
2023-02-09  0:39   ` Tom Rini
2023-02-12 23:14     ` Simon Glass
2023-02-05 22:40 ` [PATCH v2 126/169] Correct SPL uses of PMIC_STPMIC1 Simon Glass
2023-02-05 22:40 ` [PATCH v2 127/169] Correct SPL use of QFW_PIO Simon Glass
2023-02-10 12:41   ` Tom Rini
2023-02-12 23:14     ` Simon Glass
2023-02-05 22:40 ` [PATCH v2 128/169] Correct SPL use of REGEX Simon Glass
2023-02-05 22:40 ` [PATCH v2 129/169] Correct SPL use of RENESAS_SDHI Simon Glass
2023-02-05 22:40 ` [PATCH v2 130/169] Correct SPL use of RESV_RAM Simon Glass
2023-02-05 22:40 ` [PATCH v2 131/169] Correct SPL uses of ROCKCHIP_EFUSE Simon Glass
2023-02-05 22:40 ` [PATCH v2 133/169] Correct SPL use of SANDBOX Simon Glass
2023-02-05 22:40 ` [PATCH v2 134/169] Correct SPL uses of SANDBOX_CLK_CCF Simon Glass
2023-02-05 22:40 ` [PATCH v2 135/169] Correct SPL uses of SAVE_PREV_BL_FDT_ADDR Simon Glass
2023-02-05 22:40 ` [PATCH v2 138/169] Correct SPL uses of SIFIVE_OTP Simon Glass
2023-02-05 22:40 ` [PATCH v2 139/169] Correct SPL use of SL28CPLD Simon Glass
2023-02-05 22:40 ` [PATCH v2 140/169] Correct SPL use of SL28_SPL_LOADS_OPTEE_BL32 Simon Glass
2023-02-05 22:40 ` [PATCH v2 144/169] Correct SPL use of STM32MP15X_STM32IMAGE Simon Glass
2023-02-05 22:40 ` [PATCH v2 145/169] Correct SPL use of SUPPORT_EMMC_RPMB Simon Glass
2023-02-06  0:30   ` Jaehoon Chung
2023-02-05 22:40 ` [PATCH v2 146/169] Correct SPL use of SYS_FSL_ERRATUM_A010539 Simon Glass
2023-02-05 22:40 ` [PATCH v2 147/169] Correct SPL uses of SYS_LONGHELP Simon Glass
2023-02-05 22:40 ` [PATCH v2 148/169] Correct SPL use of SYS_MEM_RSVD_FOR_MMU Simon Glass
2023-02-05 22:40 ` [PATCH v2 150/169] Correct SPL use of TARGET_MX6UL_9X9_EVK Simon Glass
2023-02-05 22:41 ` [PATCH v2 151/169] Correct SPL use of TARGET_PG_WCOM_EXPU1 Simon Glass

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230205224118.233425-74-sjg@chromium.org \
    --to=sjg@chromium.org \
    --cc=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.