ARM: versatile: move flash registration to the device tree
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 26 Jan 2016 09:55:32 +0000 (10:55 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 4 Apr 2016 08:33:16 +0000 (10:33 +0200)
commit7bb73fd719805dc40616d0c0dcd1d2d1e17b9b23
treec6decbe721e7befb66e3b0398a5d8ebe9fe9bbd3
parent81fc3eb2b3c253b9aa5f55b6af5246a6c431dbf4
ARM: versatile: move flash registration to the device tree

This moves the boardfile definition of the flash memory in the
Versatile board into the device tree. The flash was already
defined with the property "arm,versatile-flash" which was
not handled by the kernel: instead define it as compatible
also with "cfi-flash" so it detects properly, and delete the
corresponding boardfile code so we get a smooth transition.

The old compatible string "arm,versatile-flash" is reused to
indicate to the MTD physmap subsystem that this flash requires
special VPP handling. (See separate patch.)

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/versatile-ab.dts
arch/arm/mach-versatile/versatile_dt.c
This page took 0.028338 seconds and 5 git commands to generate.