aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorSandeep Sheriker Mallikarjun <sandeepsheriker.mallikarjun@microchip.com>2017-09-13 11:51:22 -0700
committerJohn Crispin <john@phrozen.org>2017-09-20 09:01:38 +0200
commit5b9cff921ebe54cecba38c17b3c60babb73f1f1a (patch)
treebb2ec99351f09c16ec234e6c3e0227edf5468528 /package
parentdacab6472d8dcf4a4e9719eee5cdc87dc8a81513 (diff)
downloadupstream-5b9cff921ebe54cecba38c17b3c60babb73f1f1a.tar.gz
upstream-5b9cff921ebe54cecba38c17b3c60babb73f1f1a.tar.bz2
upstream-5b9cff921ebe54cecba38c17b3c60babb73f1f1a.zip
uboot-at91: Add support for SAMA5D4 Xplained board
Add support for SAMA5D4 Xplained board and options to select & build u-boot configs for different media storage. Signed-off-by: Sandeep Sheriker Mallikarjun <sandeepsheriker.mallikarjun@microchip.com>
Diffstat (limited to 'package')
-rw-r--r--package/boot/uboot-at91/Makefile24
1 files changed, 22 insertions, 2 deletions
diff --git a/package/boot/uboot-at91/Makefile b/package/boot/uboot-at91/Makefile
index e2d3ed0322..8dc5e3ea3d 100644
--- a/package/boot/uboot-at91/Makefile
+++ b/package/boot/uboot-at91/Makefile
@@ -54,14 +54,34 @@ define uboot/sama5d2_xplained_mmc
BUILD_DEVICES:=at91-sama5d2_xplained
endef
+define uboot/sama5d4_xplained_spiflash
+ TITLE:=U-Boot for the SAMA5D4 Xplained board (SPI Flash)
+ BUILD_SUBTARGET:=sama5
+ BUILD_DEVICES:=at91-sama5d4_xplained
+endef
+
+define uboot/sama5d4_xplained_mmc
+ TITLE:=U-Boot for the SAMA5D4 Xplained board (SDcard)
+ BUILD_SUBTARGET:=sama5
+ BUILD_DEVICES:=at91-sama5d4_xplained
+endef
+
+define uboot/sama5d4_xplained_nandflash
+ TITLE:=U-Boot for the SAMA5D4 Xplained board (NandFlash)
+ BUILD_SUBTARGET:=sama5
+ BUILD_DEVICES:=at91-sama5d4_xplained
+endef
+
UBOOT_TARGETS := \
at91sam9m10g45ek_nandflash \
at91sam9x5ek_nandflash \
sama5d3_xplained_nandflash \
sama5d3_xplained_mmc \
sama5d2_xplained_mmc \
- sama5d2_xplained_spiflash
-
+ sama5d2_xplained_spiflash \
+ sama5d4_xplained_mmc \
+ sama5d4_xplained_spiflash \
+ sama5d4_xplained_nandflash
define Build/Compile
+$(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR) \