[PATCH 04/12] ARM: versatile: drop platform code to register GPIOs
Sascha Hauer
s.hauer at pengutronix.de
Tue May 2 02:14:11 PDT 2023
Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
arch/arm/mach-versatile/core.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/arch/arm/mach-versatile/core.c b/arch/arm/mach-versatile/core.c
index 8e32d10302..8dea053d48 100644
--- a/arch/arm/mach-versatile/core.c
+++ b/arch/arm/mach-versatile/core.c
@@ -116,10 +116,6 @@ static void __noreturn versatile_reset_soc(struct restart_handler *rst)
static int versatile_init(void)
{
- amba_apb_device_add(NULL, "pl061_gpio", 0, 0x101e4000, 4096, NULL, 0);
- amba_apb_device_add(NULL, "pl061_gpio", 1, 0x101e5000, 4096, NULL, 0);
- amba_apb_device_add(NULL, "pl061_gpio", 2, 0x101e6000, 4096, NULL, 0);
- amba_apb_device_add(NULL, "pl061_gpio", 3, 0x101e7000, 4096, NULL, 0);
restart_handler_register_fn("soc", versatile_reset_soc);
return 0;
}
--
2.39.2
More information about the barebox
mailing list