]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - common/spl/spl.c
SPL: Move the omap SPL framework to common/spl
[people/ms/u-boot.git] / common / spl / spl.c
similarity index 98%
rename from arch/arm/cpu/armv7/omap-common/spl.c
rename to common/spl/spl.c
index dc2675021806704bb94d85543ecb8a61b336592c..1562f2a16226f292b7802529877c1cadb01e6298 100644 (file)
@@ -23,9 +23,8 @@
  * MA 02111-1307 USA
  */
 #include <common.h>
-#include <asm/spl.h>
+#include <spl.h>
 #include <asm/u-boot.h>
-#include <asm/utils.h>
 #include <nand.h>
 #include <fat.h>
 #include <version.h>
@@ -36,7 +35,7 @@
 
 DECLARE_GLOBAL_DATA_PTR;
 
-u32boot_params_ptr = NULL;
+u32 *boot_params_ptr = NULL;
 struct spl_image_info spl_image;
 
 /* Define global data structure pointer to it*/