ARM: pxa: magician: Fix support for Intel Strata NOR Flash
authorPetr Cvek <petr.cvek@tul.cz>
Mon, 28 Sep 2015 21:34:39 +0000 (23:34 +0200)
committerRobert Jarzmik <robert.jarzmik@free.fr>
Wed, 14 Oct 2015 21:06:58 +0000 (23:06 +0200)
commitfdb902b6fca4c4b72cf8131114bc4e6610b3cc24
treeeb63a2fd78cfd415d9e1398f3716cc4c257e4b2c
parent0f073e3e0c156eca99ce021529b2f914d1d465ff
ARM: pxa: magician: Fix support for Intel Strata NOR Flash

Old definition for the physmap-flash driver is incomplete:
- Use of an EGPIO without previous request
- Missing the MTD partitions

This patch fixes it. Read functionality was tested on the machine with
board_id 0x3a. Writing was not tested.

Signed-off-by: Petr Cvek <petr.cvek@tul.cz>
Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
arch/arm/mach-pxa/magician.c