]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
Merge remote-tracking branch 'u-boot-ti/master'
authorAlbert ARIBAUD <albert.u.boot@aribaud.net>
Fri, 26 Oct 2012 05:00:28 +0000 (07:00 +0200)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Fri, 26 Oct 2012 05:00:28 +0000 (07:00 +0200)
1  2 
include/configs/mx28evk.h
spl/Makefile

index 1443833c832bece7324507ab339614cc2ab7fde2,e188f029c752ac4384c4c24ec2888ca5a78913b4..2916c710e412aae691a8aa6892c7c94251bbee77
  #ifdef        CONFIG_CMD_MMC
  #define CONFIG_MMC
  #define CONFIG_GENERIC_MMC
 -#define CONFIG_MMC_BOUNCE_BUFFER
 +#define CONFIG_BOUNCE_BUFFER
  #define CONFIG_MXS_MMC
  #endif
  
                "dhcp ${uimage}; bootm\0"
  
  #define CONFIG_BOOTCOMMAND \
-       "if mmc rescan ${mmcdev}; then " \
+       "mmc dev ${mmcdev}; if mmc rescan; then " \
                "if run loadbootscript; then " \
                        "run bootscript; " \
                "else " \
diff --combined spl/Makefile
index 20a943c14d47e686ea1dee2a5769d7cb62130d7a,7b52bd1070292cc7c2a3b208eca3d296851b7fd4..3195390b2ff63e1bd1419d0918d2ac726a0673cd
@@@ -112,16 -112,13 +112,13 @@@ LDPPFLAGS += 
        $(shell $(LD) --version | \
          sed -ne 's/GNU ld version \([0-9][0-9]*\)\.\([0-9][0-9]*\).*/-DLD_MAJOR=\1 -DLD_MINOR=\2/p')
  
- ifdef CONFIG_OMAP
  $(OBJTREE)/MLO:       $(obj)u-boot-spl.bin
        $(OBJTREE)/tools/mkimage -T omapimage \
                -a $(CONFIG_SPL_TEXT_BASE) -d $< $@
- endif
- ifdef CONFIG_AM33XX
- $(OBJTREE)/MLO:       $(obj)u-boot-spl.bin
-       $(OBJTREE)/tools/mkimage -T omapimage \
+ $(OBJTREE)/MLO.byteswap: $(obj)u-boot-spl.bin
+       $(OBJTREE)/tools/mkimage -T omapimage -n byteswap \
                -a $(CONFIG_SPL_TEXT_BASE) -d $< $@
- endif
  
  ALL-y += $(obj)u-boot-spl.bin
  
@@@ -154,12 -151,8 +151,12 @@@ $(START):        depen
  $(LIBS):      depend
        $(MAKE) -C $(SRCTREE)$(dir $(subst $(SPLTREE),,$@))
  
 -$(obj)u-boot-spl.lds: $(LDSCRIPT) depend
 -      $(CPP) $(CPPFLAGS) $(LDPPFLAGS) -ansi -D__ASSEMBLY__ -P - < $< > $@
 +# The following line expands into whole rule which generates u-boot.lst,
 +# the file containing u-boots LG-array linker section. This is included into
 +# $(LDSCRIPT). The function make_u_boot_list is defined in helper.mk file.
 +$(eval $(call make_u_boot_list, $(obj)u-boot.lst, $(LIBS)))
 +$(obj)u-boot-spl.lds: $(LDSCRIPT) $(obj)u-boot.lst depend
 +      $(CPP) $(CPPFLAGS) $(LDPPFLAGS) -I$(obj). -ansi -D__ASSEMBLY__ -P - < $< > $@
  
  depend:       $(obj).depend
  .PHONY: depend