OneNAND: Add simple OneNAND SPL
authorMarek Vasut <marek.vasut@gmail.com>
Mon, 31 Oct 2011 13:14:15 +0000 (14:14 +0100)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Tue, 15 Nov 2011 21:24:50 +0000 (22:24 +0100)
commit54cd51bf7910164e6640c7f428f2fd95e15019da
treed71163139099c0f7a76d67cf65bc2651dfbabd2b
parent5d877f42126027fbb7d5e3d9491ffd7a93627359
OneNAND: Add simple OneNAND SPL

This introduces small OneNAND loader, fitting into 1kB of space (smallest
possible OneNAND RAM size). Some devices equipped with such crappy chips will
use this.

Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
Cc: Albert ARIBAUD <albert.u.boot@aribaud.net>
Cc: Kyungmin Park <kyungmin.park@samsung.com>
Cc: Scott Wood <scottwood@freescale.com>
V2: Introduce spl_onenand_load_image() to load data from OneNAND in SPL
V3: Cleanup, align with nand_spl. Skip whole blocks.
drivers/mtd/onenand/Makefile
drivers/mtd/onenand/onenand_spl.c [new file with mode: 0644]
include/onenand_uboot.h
spl/Makefile