ARM: integrator: move flash registration to device tree
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 26 Jan 2016 10:09:22 +0000 (11:09 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 4 Apr 2016 08:33:16 +0000 (10:33 +0200)
commit91011a7605822cd9c16eabcd1cc11ae31d604bfd
tree8f2e757014ada28ce752f32b962109d715b1f501
parent7bb73fd719805dc40616d0c0dcd1d2d1e17b9b23
ARM: integrator: move flash registration to device tree

The flash on the Integrator was already defined by the device
tree, but VPP control and flash protection was in the
boardfiles. Simply add the compatible string
"arm,versatile-flash" and the special add-on code for flash
programming voltage and protection kicks in in the MTD
layer.

Remove the board file code and augment the device tree in
one go for seamless transition.

Cc: Grant Likely <grant.likely@linaro.org>
Cc: Rob Herring <robh@kernel.org>
Cc: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
arch/arm/boot/dts/integrator.dtsi
arch/arm/mach-integrator/integrator_ap.c
arch/arm/mach-integrator/integrator_cp.c
This page took 0.026097 seconds and 5 git commands to generate.