spl: nand: sunxi: stop guessing the redundant u-boot offset
authorBoris Brezillon <boris.brezillon@free-electrons.com>
Mon, 6 Jun 2016 08:16:59 +0000 (10:16 +0200)
committerScott Wood <oss@buserror.net>
Mon, 20 Jun 2016 00:12:01 +0000 (19:12 -0500)
commitfa3011587887ba222bc9337d9ac17f3000db63b2
treeb99cbe9a61b1e2fb43499e57659f45c8d8594f7c
parent80ef700f8df1f85dd3b0880584e2e2a998a9b3dd
spl: nand: sunxi: stop guessing the redundant u-boot offset

Use CONFIG_SYS_NAND_U_BOOT_OFFS_REDUND value instead of trying to guess
where the redundant u-boot image is based on simple (and most of the time
erroneous) heuristics.

Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Acked-by: Hans de Goede <hdegoede@redhat.com>
# Conflicts:
# drivers/mtd/nand/sunxi_nand_spl.c
drivers/mtd/nand/sunxi_nand_spl.c