[Skiboot] [PATCH 4/6] plat/qemu: use astbmc_ext_irq_serirq_cpld()

Cédric Le Goater clg at fr.ibm.com
Thu Apr 7 02:30:10 AEST 2016


This is the same code.

Signed-off-by: Cédric Le Goater <clg at fr.ibm.com>
---
 platforms/astbmc/qemu.c | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/platforms/astbmc/qemu.c b/platforms/astbmc/qemu.c
index 2f316df80a5a..7b72ea668d7d 100644
--- a/platforms/astbmc/qemu.c
+++ b/platforms/astbmc/qemu.c
@@ -68,11 +68,6 @@ static void qemu_dt_fixup(void)
 	astbmc_fixup_dt_uart(primary_lpc);
 }
 
-static void qemu_ext_irq_serirq_cpld(unsigned int chip_id)
-{
-	lpc_all_interrupts(chip_id);
-}
-
 static bool qemu_probe(void)
 {
 	if (!dt_node_is_compatible(dt_root, "qemu,powernv"))
@@ -97,5 +92,5 @@ DECLARE_PLATFORM(qemu) = {
 	.name		= "Qemu",
 	.probe		= qemu_probe,
 	.init		= qemu_init,
-	.external_irq   = qemu_ext_irq_serirq_cpld,
+	.external_irq   = astbmc_ext_irq_serirq_cpld,
 };
-- 
2.1.4



More information about the Skiboot mailing list