[source] uboot-at91: Add support for SAMA5D2 Xplained board

LEDE Commits lede-commits at lists.infradead.org
Wed Sep 20 00:54:20 PDT 2017


blogic pushed a commit to source.git, branch master:
https://git.lede-project.org/dacab6472d8dcf4a4e9719eee5cdc87dc8a81513

commit dacab6472d8dcf4a4e9719eee5cdc87dc8a81513
Author: Sandeep Sheriker Mallikarjun <sandeepsheriker.mallikarjun at microchip.com>
AuthorDate: Wed Sep 13 11:51:21 2017 -0700

    uboot-at91: Add support for SAMA5D2 Xplained board
    
    Add support for SAMA5D2 Xplained board and options to select & build
    u-boot configs for different media storage.
    
    Signed-off-by: Sandeep Sheriker Mallikarjun <sandeepsheriker.mallikarjun at microchip.com>
---
 package/boot/uboot-at91/Makefile | 17 ++++++++++++++++-
 1 file changed, 16 insertions(+), 1 deletion(-)

diff --git a/package/boot/uboot-at91/Makefile b/package/boot/uboot-at91/Makefile
index 2c95377..e2d3ed0 100644
--- a/package/boot/uboot-at91/Makefile
+++ b/package/boot/uboot-at91/Makefile
@@ -42,11 +42,26 @@ define uboot/sama5d3_xplained_mmc
   BUILD_DEVICES:=at91-sama5d3_xplained
 endef
 
+define uboot/sama5d2_xplained_spiflash
+  TITLE:=U-Boot for the SAMA5D2 Xplained board (SPI Flash)
+  BUILD_SUBTARGET:=sama5
+  BUILD_DEVICES:=at91-sama5d2_xplained
+endef
+
+define uboot/sama5d2_xplained_mmc
+  TITLE:=U-Boot for the SAMA5D2 Xplained board (SDcard/EMMC)
+  BUILD_SUBTARGET:=sama5
+  BUILD_DEVICES:=at91-sama5d2_xplained
+endef
+
 UBOOT_TARGETS := \
 	at91sam9m10g45ek_nandflash \
 	at91sam9x5ek_nandflash \
     sama5d3_xplained_nandflash \
-    sama5d3_xplained_mmc
+    sama5d3_xplained_mmc \
+    sama5d2_xplained_mmc \
+    sama5d2_xplained_spiflash
+
 
 define Build/Compile
 	+$(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR) \



More information about the lede-commits mailing list