[U-Boot] [U-Boot, 3/7] mtd: nand: Consolidate nand spl loaders implementation

Tom Rini trini at konsulko.com
Fri Apr 7 17:28:44 UTC 2017


On Sat, Apr 01, 2017 at 05:16:37PM +0200, Ladislav Michl wrote:

> nand_spl_load_image implementation was copied over into three
> different drivers and now with nand_spl_read_block used for
> ubispl situation gets even worse. For now use least intrusive
> solution and #include the same implementation to nand drivers.
> 
> Signed-off-by: Ladislav Michl <ladis at linux-mips.org>
> Tested-by: Pau Pajuelo <ppajuel at gmail.com>
> ---
>  drivers/mtd/nand/am335x_spl_bch.c   |  49 +----------------
>  drivers/mtd/nand/atmel_nand.c       |  30 +---------
>  drivers/mtd/nand/nand_spl_loaders.c | 106 ++++++++++++++++++++++++++++++++++++
>  drivers/mtd/nand/nand_spl_simple.c  |  98 +--------------------------------
>  4 files changed, 112 insertions(+), 171 deletions(-)

This breaks a bunch of boards such as pxm2 at least.  Please give the
whole series a build on travis-ci before re-submitting, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170407/51da2ed4/attachment.sig>


More information about the U-Boot mailing list