summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-zynq/zynq.c
diff options
context:
space:
mode:
authorLucas Stach <dev@lynxeye.de>2019-11-09 15:28:33 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2019-11-11 09:15:55 +0100
commit70b00bda144d2bf0dfbf55cef62d70f9e5e4fb69 (patch)
treeeddcdc4a1cc1f4462d27864a5f5b2f6d82ad9b1d /arch/arm/mach-zynq/zynq.c
parentcfffe9368ac4eeda52ed837f8adb41a54cc85e96 (diff)
downloadbarebox-70b00bda144d2bf0dfbf55cef62d70f9e5e4fb69.tar.gz
barebox-70b00bda144d2bf0dfbf55cef62d70f9e5e4fb69.tar.xz
ARM: zynq: switch to DT based probing
All the currently supported devices can now be probed from the DT. Remove platform devices and switch to DT. Signed-off-by: Lucas Stach <dev@lynxeye.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-zynq/zynq.c')
-rw-r--r--arch/arm/mach-zynq/zynq.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/arm/mach-zynq/zynq.c b/arch/arm/mach-zynq/zynq.c
index ec22b16c91..ad06c624d9 100644
--- a/arch/arm/mach-zynq/zynq.c
+++ b/arch/arm/mach-zynq/zynq.c
@@ -48,10 +48,6 @@ static int zynq_init(void)
writel(val, 0xf8f00000);
dmb();
- add_generic_device("zynq-clock", 0, NULL, ZYNQ_SLCR_BASE + 0x100,
- 0x4000, IORESOURCE_MEM, NULL);
- add_generic_device("smp_twd", 0, NULL, CORTEXA9_SCU_TIMER_BASE_ADDR,
- 0x4000, IORESOURCE_MEM, NULL);
restart_handler_register_fn(zynq_restart_soc);
return 0;