ARM: sheevaplug: correct nand partition layout
authorPeter Korsgaard <peter@korsgaard.com>
Sun, 17 Jan 2016 17:23:45 +0000 (18:23 +0100)
committerStefan Roese <sr@denx.de>
Thu, 24 Mar 2016 08:26:10 +0000 (09:26 +0100)
commit371b9e9c394d7d96935afbc6fae318fde2fa2760
tree02826741d52f744c0abf65ab060e8112f406f969
parentd085ecd61b9956cda0d37b89b5c538f54440fe58
ARM: sheevaplug: correct nand partition layout

Commit 1e3d640316 (ARM: sheevaplug: redefine MTDPARTS) changed the partition
layout (without any description why), but didn't change the offset/size to
load the kernel from or the root=/dev/mtdblockX in the bootargs.

The 3MB forseen for a kernel is furthermore too little. A 4.4 build of
mvebu_v5_defconfig is 3.6MB:

-rw-r--r-- 1 peko peko 3.6M Jan 16 20:24 uImage.kirkwood-sheevaplug

When device tree support for sheevaplug was added to the kernel in commit
ee514b381e (ARM: Kirkwood: Add dts files for Sheevaplug and eSATA
Sheevaplug) a default flash partition layout (used if mtdparts= isn't passed
on the command line / CONFIG_MTD_CMDLINE_PARTS isn't enabled) with 1MB for
u-boot / environment, 4MB for the kernel and the rest for the rootfs, so use
that layout here and adjust the kernel loading to match.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Stefan Roese <sr@denx.de>
include/configs/sheevaplug.h