omap-common: reorganize spl.c
authorSimon Schwarz <simonschwarzcor@googlemail.com>
Wed, 14 Sep 2011 19:33:34 +0000 (15:33 -0400)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Fri, 30 Sep 2011 20:00:55 +0000 (22:00 +0200)
commit9ea5c6efd8cc2f799ee0dba303754911848231d0
tree0fcdb44e9f313ef1032a2fb2797430febbd27b28
parent409ef1bcfbadf71059477feda1d88e717a4b7e62
omap-common: reorganize spl.c

split-up spl.c into spl.c, spl_mmc.c and spl_nand.c. This avoids problems
with missing defines if a board does not use mmc or nand. This includes
adding spl_ prefix to some functions which are now public. spl_image_t is now
a public type. Added some of the common functions to omap-common.h

Signed-off-by: Simon Schwarz <simonschwarzcor@gmail.com>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
arch/arm/cpu/armv7/omap-common/Makefile
arch/arm/cpu/armv7/omap-common/spl.c
arch/arm/cpu/armv7/omap-common/spl_mmc.c [new file with mode: 0644]
arch/arm/cpu/armv7/omap-common/spl_nand.c [new file with mode: 0644]