summaryrefslogtreecommitdiff
path: root/spl
diff options
context:
space:
mode:
authorMarek Vasut <marek.vasut@gmail.com>2011-10-31 14:14:15 +0100
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2011-11-15 22:24:50 +0100
commit54cd51bf7910164e6640c7f428f2fd95e15019da (patch)
treed71163139099c0f7a76d67cf65bc2651dfbabd2b /spl
parent5d877f42126027fbb7d5e3d9491ffd7a93627359 (diff)
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.
Diffstat (limited to 'spl')
-rw-r--r--spl/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/spl/Makefile b/spl/Makefile
index c8317fa7027..010cd837e5e 100644
--- a/spl/Makefile
+++ b/spl/Makefile
@@ -54,6 +54,7 @@ LIBS-$(CONFIG_SPL_FAT_SUPPORT) += fs/fat/libfat.o
LIBS-$(CONFIG_SPL_LIBGENERIC_SUPPORT) += lib/libgeneric.o
LIBS-$(CONFIG_SPL_POWER_SUPPORT) += drivers/power/libpower.o
LIBS-$(CONFIG_SPL_NAND_SUPPORT) += drivers/mtd/nand/libnand.o
+LIBS-$(CONFIG_SPL_ONENAND_SUPPORT) += drivers/mtd/onenand/libonenand.o
LIBS-$(CONFIG_SPL_DMA_SUPPORT) += drivers/dma/libdma.o
LIBS-$(CONFIG_SPL_POST_MEM_SUPPORT) += post/drivers/memory.o