summaryrefslogtreecommitdiff
path: root/arch/arm/mach-versatile/versatile_dt.c
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2015-12-08 23:44:16 +0300
committerArnd Bergmann <arnd@arndb.de>2015-12-16 01:53:21 +0300
commit16956fed35fecde2201e23458cda193526b19559 (patch)
tree540334f3232efb2bd79c00aaa75dca6d4a7bea5f /arch/arm/mach-versatile/versatile_dt.c
parenta8e2894c125f69aaea474592ebebd463bb7e1b0a (diff)
downloadlinux-16956fed35fecde2201e23458cda193526b19559.tar.xz
ARM: versatile: switch to DT only booting and remove legacy code
With DT support for clocks, irqchips, timers, and PCI now in place, DT based booting has feature parity with non-DT legacy boot. The final piece is actually enabling common clock support on Versatile. Enabling full DT support requires either removing the old Versatile clock code, updating the legacy boot to use the common clock code, or making DT and legacy boot mutually exclusive. Given that removing legacy boot code is the goal anyway, I am going with the 1st option. Signed-off-by: Rob Herring <robh@kernel.org> Cc: Russell King <linux@arm.linux.org.uk> Cc: Linus Walleij <linus.walleij@linaro.org> Cc: Mike Turquette <mturquette@linaro.org> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/mach-versatile/versatile_dt.c')
-rw-r--r--arch/arm/mach-versatile/versatile_dt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-versatile/versatile_dt.c b/arch/arm/mach-versatile/versatile_dt.c
index a58575832fa3..86fa2d35a019 100644
--- a/arch/arm/mach-versatile/versatile_dt.c
+++ b/arch/arm/mach-versatile/versatile_dt.c
@@ -81,6 +81,7 @@ static void __init versatile_dt_init(void)
versatile_dt_pci_init();
+ platform_device_register(&versatile_flash_device);
of_platform_populate(NULL, of_default_bus_match_table,
versatile_auxdata_lookup, NULL);
}