[U-Boot] [PATCH 14/15] sunxi_nand_spl: Auto detect nand configuration parameters

Ian Campbell ijc at hellion.org.uk
Mon Aug 17 10:32:58 CEST 2015


On Sat, 2015-08-15 at 22:02 +0200, Hans de Goede wrote:
> Auto detect the nand configuration parameters, like the BROM does.
> 
> This allows us to get rid of various Kconfig settings, and is
> necessary to support generic boards like the mk802 which have seen
> many production runs with different nands.
> 
> The full blown u-boot/kernel nand driver uses the nand id to determine
> this info, for the SPL we do as the BROM does and simply try a few
> standard configs.
> 
> Note the table only contains configs which are known to actually be used,
> rather then all the configs the BROM tries. This means that it may need
> to be updated in the future as we add support for nand on more boards.
> 
> Signed-off-by: Hans de Goede <hdegoede at redhat.com>

Acked-by: Ian Campbell <ijc at hellion.org.uk>

(assuming table vs. probing by nand id is OK by Scott)



More information about the U-Boot mailing list