ARM: pxa/tosa: Remove hardcoded partitioning, use sharpslpart parser
authorAndrea Adami <andrea.adami@gmail.com>
Tue, 21 Nov 2017 21:43:49 +0000 (22:43 +0100)
committerRobert Jarzmik <robert.jarzmik@free.fr>
Tue, 28 Nov 2017 21:52:54 +0000 (22:52 +0100)
commitb3bd8559043c6721a3ebdb22afc6d75fa4bdc28a
tree544b49fb8251c67c1dc520793b2779f5d9c7218f
parent48f17df6a4ad28420916398e328b31bc11fdf7ba
ARM: pxa/tosa: 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/tosa.c