public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH 101/171] Correct SPL uses of I8259_PIC
@ 2023-01-30 15:15 Simon Glass
  2023-01-30 15:15 ` [PATCH 102/171] Correct SPL uses of IMX8M Simon Glass
                   ` (69 more replies)
  0 siblings, 70 replies; 82+ messages in thread
From: Simon Glass @ 2023-01-30 15:15 UTC (permalink / raw)
  To: U-Boot Mailing List; +Cc: Tom Rini, Simon Glass, Bin Meng

This converts 4 usages of this option to the non-SPL form, since there is
no SPL_I8259_PIC defined in Kconfig

Signed-off-by: Simon Glass <sjg@chromium.org>
---

 arch/x86/lib/interrupts.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/arch/x86/lib/interrupts.c b/arch/x86/lib/interrupts.c
index ff52959ed28..33d6eb49d75 100644
--- a/arch/x86/lib/interrupts.c
+++ b/arch/x86/lib/interrupts.c
@@ -66,7 +66,7 @@ void irq_install_handler(int irq, interrupt_handler_t *handler, void *arg)
 	irq_handlers[irq].arg = arg;
 	irq_handlers[irq].count = 0;
 
-	if (CONFIG_IS_ENABLED(I8259_PIC))
+	if (IS_ENABLED(CONFIG_I8259_PIC))
 		unmask_irq(irq);
 
 	if (status)
@@ -86,7 +86,7 @@ void irq_free_handler(int irq)
 
 	status = disable_interrupts();
 
-	if (CONFIG_IS_ENABLED(I8259_PIC))
+	if (IS_ENABLED(CONFIG_I8259_PIC))
 		mask_irq(irq);
 
 	irq_handlers[irq].handler = NULL;
@@ -108,13 +108,13 @@ void do_irq(int hw_irq)
 	}
 
 	if (irq_handlers[irq].handler) {
-		if (CONFIG_IS_ENABLED(I8259_PIC))
+		if (IS_ENABLED(CONFIG_I8259_PIC))
 			mask_irq(irq);
 
 		irq_handlers[irq].handler(irq_handlers[irq].arg);
 		irq_handlers[irq].count++;
 
-		if (CONFIG_IS_ENABLED(I8259_PIC)) {
+		if (IS_ENABLED(CONFIG_I8259_PIC)) {
 			unmask_irq(irq);
 			specific_eoi(irq);
 		}
-- 
2.39.1.456.gfc5497dd1b-goog


^ permalink raw reply related	[flat|nested] 82+ messages in thread

end of thread, other threads:[~2023-02-03  7:03 UTC | newest]

Thread overview: 82+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-30 15:15 [PATCH 101/171] Correct SPL uses of I8259_PIC Simon Glass
2023-01-30 15:15 ` [PATCH 102/171] Correct SPL uses of IMX8M Simon Glass
2023-01-30 15:15 ` [PATCH 103/171] Correct SPL use of IMX8MN_BEACON_2GB_LPDDR Simon Glass
2023-01-31  1:39   ` Adam Ford
2023-01-30 15:15 ` [PATCH 104/171] Correct SPL uses of IMX_MODULE_FUSE Simon Glass
2023-01-30 15:15 ` [PATCH 105/171] Correct SPL uses of IMX_RDC Simon Glass
2023-01-30 15:15 ` [PATCH 106/171] Correct SPL uses of LMB Simon Glass
2023-01-30 15:15 ` [PATCH 107/171] Correct SPL uses of MICROBLAZE Simon Glass
2023-01-30 15:15 ` [PATCH 108/171] Correct SPL use of MIPS_CM Simon Glass
2023-01-30 15:15 ` [PATCH 109/171] Correct SPL use of MMC_QUIRKS Simon Glass
2023-01-30 15:15 ` [PATCH 110/171] Correct SPL uses of MTD Simon Glass
2023-01-30 15:15 ` [PATCH 111/171] Correct SPL uses of MULTIPLEXER Simon Glass
2023-01-30 15:15 ` [PATCH 112/171] Correct SPL uses of NEEDS_MANUAL_RELOC Simon Glass
2023-01-30 15:15 ` [PATCH 113/171] Correct SPL use of NETDEVICES Simon Glass
2023-01-30 15:15 ` [PATCH 114/171] Correct SPL uses of NXP_FSPI Simon Glass
2023-01-30 15:15 ` [PATCH 115/171] Correct SPL use of OCTEON_SERIAL_BOOTCMD Simon Glass
2023-01-30 15:15 ` [PATCH 116/171] Correct SPL use of OCTEON_SERIAL_PCIE_CONSOLE Simon Glass
2023-01-30 15:15 ` [PATCH 117/171] Correct SPL uses of OF_BOARD Simon Glass
2023-01-31 11:13   ` Matthias Brugger
2023-01-30 15:15 ` [PATCH 118/171] Correct SPL use of OF_EMBED Simon Glass
2023-01-30 15:15 ` [PATCH 119/171] Correct SPL use of PANEL Simon Glass
2023-01-30 15:15 ` [PATCH 120/171] Correct SPL use of PARTITION_TYPE_GUID Simon Glass
2023-01-30 15:15 ` [PATCH 121/171] Correct SPL use of PCI_PNP Simon Glass
2023-01-30 15:15 ` [PATCH 122/171] Correct SPL uses of PG_WCOM_UBOOT_BOOTPACKAGE Simon Glass
2023-02-03  7:01   ` Aleksandar Gerasimovski
2023-01-30 15:15 ` [PATCH 123/171] Correct SPL uses of PG_WCOM_UBOOT_UPDATE Simon Glass
2023-02-03  6:59   ` Aleksandar Gerasimovski
2023-01-30 15:15 ` [PATCH 124/171] Correct SPL use of PG_WCOM_UBOOT_UPDATE_SUPPORTED Simon Glass
2023-02-03  7:02   ` Aleksandar Gerasimovski
2023-01-30 15:15 ` [PATCH 125/171] Correct SPL use of PHY_CADENCE_SIERRA Simon Glass
2023-01-30 15:15 ` [PATCH 126/171] Correct SPL use of PHY_CADENCE_TORRENT Simon Glass
2023-01-30 15:15 ` [PATCH 127/171] Correct SPL uses of PHY_FIXED Simon Glass
2023-01-30 15:15 ` [PATCH 128/171] Correct SPL uses of PMIC_STPMIC1 Simon Glass
2023-01-30 15:15 ` [PATCH 129/171] Correct SPL use of QFW_PIO Simon Glass
2023-01-30 15:15 ` [PATCH 130/171] Correct SPL use of REGEX Simon Glass
2023-01-30 15:15 ` [PATCH 131/171] Correct SPL use of RENESAS_SDHI Simon Glass
2023-01-30 15:15 ` [PATCH 132/171] Correct SPL use of RESV_RAM Simon Glass
2023-01-30 15:15 ` [PATCH 133/171] Correct SPL uses of ROCKCHIP_EFUSE Simon Glass
2023-01-30 15:15 ` [PATCH 134/171] Correct SPL uses of ROCKCHIP_OTP Simon Glass
2023-01-30 15:15 ` [PATCH 135/171] Correct SPL use of SANDBOX Simon Glass
2023-01-30 15:15 ` [PATCH 136/171] Correct SPL uses of SANDBOX_CLK_CCF Simon Glass
2023-01-30 15:15 ` [PATCH 137/171] Correct SPL uses of SAVE_PREV_BL_FDT_ADDR Simon Glass
2023-01-30 15:15 ` [PATCH 138/171] Correct SPL uses of SAVE_PREV_BL_INITRAMFS_START_ADDR Simon Glass
2023-01-30 15:15 ` [PATCH 139/171] Correct SPL uses of SEC_FIRMWARE_ARMV8_PSCI Simon Glass
2023-01-30 15:15 ` [PATCH 140/171] Correct SPL uses of SIFIVE_OTP Simon Glass
2023-01-30 15:15 ` [PATCH 141/171] Correct SPL use of SL28CPLD Simon Glass
2023-01-30 15:15 ` [PATCH 142/171] Correct SPL use of SL28_SPL_LOADS_OPTEE_BL32 Simon Glass
2023-01-30 15:15 ` [PATCH 143/171] Correct SPL use of SPI_FLASH_BAR Simon Glass
2023-01-30 15:15 ` [PATCH 144/171] Correct SPL uses of SPI_FLASH_MACRONIX Simon Glass
2023-01-30 15:15 ` [PATCH 145/171] Correct SPL use of SPLASH_SOURCE Simon Glass
2023-01-30 15:15 ` [PATCH 146/171] Correct SPL use of STM32MP15X_STM32IMAGE Simon Glass
2023-01-30 15:15 ` [PATCH 147/171] Correct SPL use of SUPPORT_EMMC_RPMB Simon Glass
2023-01-30 15:15 ` [PATCH 148/171] Correct SPL use of SYS_FSL_ERRATUM_A010539 Simon Glass
2023-01-30 15:15 ` [PATCH 149/171] Correct SPL uses of SYS_LONGHELP Simon Glass
2023-01-30 15:15 ` [PATCH 150/171] Correct SPL use of SYS_MEM_RSVD_FOR_MMU Simon Glass
2023-01-30 15:15 ` [PATCH 151/171] Correct SPL uses of TARGET_LX2160ARDB Simon Glass
2023-01-30 15:15 ` [PATCH 152/171] Correct SPL use of TARGET_MX6UL_9X9_EVK Simon Glass
2023-01-30 15:15 ` [PATCH 153/171] Correct SPL use of TARGET_PG_WCOM_EXPU1 Simon Glass
2023-02-03  7:02   ` Aleksandar Gerasimovski
2023-01-30 15:15 ` [PATCH 154/171] Correct SPL use of TARGET_PG_WCOM_SELI8 Simon Glass
2023-02-03  7:03   ` Aleksandar Gerasimovski
2023-01-30 15:15 ` [PATCH 155/171] Correct SPL use of TEE Simon Glass
2023-01-30 15:15 ` [PATCH 156/171] Correct SPL uses of TEN64_CONTROLLER Simon Glass
2023-01-30 15:15 ` [PATCH 157/171] Correct SPL use of TPM_RNG Simon Glass
2023-01-30 15:15 ` [PATCH 158/171] Correct SPL use of UDP_FUNCTION_FASTBOOT Simon Glass
2023-01-31 14:58   ` Mattijs Korpershoek
2023-01-30 15:16 ` [PATCH 159/171] Correct SPL use of USB_DWC3_MESON_G12A Simon Glass
2023-01-30 15:16 ` [PATCH 160/171] Correct SPL uses of USB_DWC3_MESON_GXL Simon Glass
2023-01-31  8:49   ` Neil Armstrong
2023-01-30 15:16 ` [PATCH 161/171] Correct SPL use of USB_FUNCTION_FASTBOOT Simon Glass
2023-01-31 15:00   ` Mattijs Korpershoek
2023-01-30 15:16 ` [PATCH 162/171] Correct SPL uses of USB_GADGET_DWC2_OTG Simon Glass
2023-01-31  8:49   ` Neil Armstrong
2023-01-30 15:16 ` [PATCH 163/171] Correct SPL uses of USB_KEYBOARD Simon Glass
2023-01-30 15:16 ` [PATCH 164/171] Correct SPL uses of USB_MUSB_HOST Simon Glass
2023-01-30 15:16 ` [PATCH 165/171] Correct SPL uses of VIDEO Simon Glass
2023-01-30 15:16 ` [PATCH 166/171] Correct SPL use of VIDEO_ANSI Simon Glass
2023-01-30 15:16 ` [PATCH 167/171] Correct SPL use of VIDEO_BPP16 Simon Glass
2023-01-30 15:16 ` [PATCH 168/171] Correct SPL use of VIDEO_BPP32 Simon Glass
2023-01-30 15:16 ` [PATCH 169/171] Correct SPL use of WATCHDOG_AUTOSTART Simon Glass
2023-01-30 15:16 ` [PATCH 170/171] Correct SPL uses of XEN_SERIAL Simon Glass
2023-01-30 15:16 ` [PATCH 171/171] Correct SPL uses of ZYNQMP_FIRMWARE Simon Glass

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox