diff --git a/Makefile b/Makefile index 55380d7..2fd3440 100755 --- a/Makefile +++ b/Makefile @@ -482,6 +482,10 @@ endif $(obj)u-boot.mmc: $(obj)u-boot.bin echo y | $(obj)tools/marvell/doimage -T mmc -D 0x0 -E 0x0 -G $(obj)tools/marvell/bin_hdr/bin_hdr.bin u-boot.bin u-boot.mmc +$(obj)u-boot.flash: $(obj)u-boot.bin + echo y | $(obj)tools/marvell/doimage -T flash -D 0x0 -E 0x0 -G $(obj)tools/marvell/bin_hdr/bin_hdr.bin u-boot.bin u-boot.flash + echo y | $(obj)tools/marvell/doimage -T uart -D 0x0 -E 0x0 -G $(obj)tools/marvell/bin_hdr/bin_hdr.uart.bin u-boot.bin u-boot-uart.flash + $(obj)u-boot.img: $(obj)u-boot.bin $(obj)tools/mkimage -A $(ARCH) -T firmware -C none \ -O u-boot -a $(CONFIG_SYS_TEXT_BASE) \ diff --git a/include/configs/armada_38x.h b/include/configs/armada_38x.h index c38122c..cb59ea8 100644 --- a/include/configs/armada_38x.h +++ b/include/configs/armada_38x.h @@ -325,6 +325,10 @@ extern unsigned int mvUartPortGet(void); #endif /* Boot from SPI settings */ +#if defined(CONFIG_MV_SPI_BOOT) + #define MV_SPI_BOOT +#endif + #if defined(MV_SPI_BOOT) #define CONFIG_ENV_IS_IN_SPI_FLASH