ARM: pxa/poodle: Remove hardcoded partitioning, use sharpslpart parser
authorAndrea Adami <andrea.adami@gmail.com>
Tue, 21 Nov 2017 21:43:51 +0000 (22:43 +0100)
committerRobert Jarzmik <robert.jarzmik@free.fr>
Tue, 28 Nov 2017 21:53:00 +0000 (22:53 +0100)
commitc6f8d31c069d06d69c66bd1a6b1df364a4ead4ad
tree8853d83848a29222d5608e9640ea97d5cb8860fb
parentac6231b69574e6e57fd85750db4ae4995ca2de50
ARM: pxa/poodle: Remove hardcoded partitioning, use sharpslpart parser

With the introduction of sharpslpart partition parser we can now read the
offsets from NAND: we specify the list of the parsers as platform data, with
cmdlinepart and ofpart parsers first allowing to override the part. table
written in NAND. This is done here in the board file.

Emulators like qemu will need to pass the mtdparts in the cmdline.

Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
arch/arm/mach-pxa/poodle.c