summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-versatile
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2023-04-28 10:28:04 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2023-05-02 11:25:36 +0200
commit211004b11f71ca16a5d007a8aa2bbc2ef88f1514 (patch)
tree0b0a1ecb349181965b1d50e0b9789f39302565f9 /arch/arm/mach-versatile
parente883993dcb9f1b7b88f2552b6b498b8fd89020fd (diff)
downloadbarebox-211004b11f71ca16a5d007a8aa2bbc2ef88f1514.tar.gz
barebox-211004b11f71ca16a5d007a8aa2bbc2ef88f1514.tar.xz
ARM: versatile: drop platform code to register GPIOs
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-versatile')
-rw-r--r--arch/arm/mach-versatile/core.c4
1 files changed, 0 insertions, 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;
}