diff mbox series

[LEDE-DEV,LEDE-DEV,v2,08/11] uboot-at91: Add support for SAMA5D3 Xplained board

Message ID 244af23731bd2355494c3d3e8810d0f7b1ce4ef9.1505328596.git.sandeepsheriker.mallikarjun@microchip.com
State Accepted
Headers show
Series [LEDE-DEV,LEDE-DEV,v2,01/11] at91: Renaming subtarget sama5d3 to sama5 | expand

Commit Message

Sandeep Sheriker Sept. 13, 2017, 6:51 p.m. UTC
Add support for SAMA5D3 Xplained board and options to select & build
u-boot configs for different media storage.

Signed-off-by: Sandeep Sheriker Mallikarjun <sandeepsheriker.mallikarjun@microchip.com>
---
 package/boot/uboot-at91/Makefile | 16 +++++++++++++++-
 1 file changed, 15 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/package/boot/uboot-at91/Makefile b/package/boot/uboot-at91/Makefile
index 68e4ba4..2c95377 100644
--- a/package/boot/uboot-at91/Makefile
+++ b/package/boot/uboot-at91/Makefile
@@ -30,9 +30,23 @@  define U-Boot/at91sam9x5ek_nandflash
   BUILD_SUBTARGET:=legacy
 endef
 
+define uboot/sama5d3_xplained_nandflash
+  TITLE:=U-Boot for the SAMA5D3 Xplained board (NandFlash)
+  BUILD_SUBTARGET:=sama5
+  BUILD_DEVICES:=at91-sama5d3_xplained
+endef
+
+define uboot/sama5d3_xplained_mmc
+  TITLE:=U-Boot for the SAMA5D3 Xplained board (SDcard)
+  BUILD_SUBTARGET:=sama5
+  BUILD_DEVICES:=at91-sama5d3_xplained
+endef
+
 UBOOT_TARGETS := \
 	at91sam9m10g45ek_nandflash \
-	at91sam9x5ek_nandflash
+	at91sam9x5ek_nandflash \
+    sama5d3_xplained_nandflash \
+    sama5d3_xplained_mmc
 
 define Build/Compile
 	+$(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR) \