]> 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)
committerHans de Goede <hdegoede@redhat.com>
Mon, 31 Aug 2015 06:43:42 +0000 (08:43 +0200)
commitf5916d1856cb043f79304a99103a2f910298eecc
tree48274075f44e9d525d77c72ba2c6405d1db8e168
parent0a247554c2dec96e693c1b02761cf0b5d5189fc0
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