]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
sunxi_nand_spl: Parametrize lowlevel read functions
authorHans de Goede <hdegoede@redhat.com>
Sat, 15 Aug 2015 18:51:53 +0000 (20:51 +0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Thu, 10 Sep 2015 10:19:13 +0000 (12:19 +0200)
commit77e531f608fa6d1ae67b2a444629d43f06a861ab
tree1245d20e8e003ebecc8ddb40955a34b6a59f27f9
parent731d30c51ab85798539f383aac0a2d342482c182
sunxi_nand_spl: Parametrize lowlevel read functions

Parametrize the lowlevel nand_read_page function, instead of directly
using the CONFIG_foo settings for page-size, etc. there and add a few
wrappers / helper functions for calling it.

This is a preparation patch for adding auto-detecting of the nand
parameters like the BROM does.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Ian Campbell <ijc@hellion.org.uk>
drivers/mtd/nand/sunxi_nand_spl.c