[LEDE-DEV,1/3] at91:Add SAMA5D27 SOM1 EK device

Message ID 02705869d7a533824d14b450958c622816e1eb1e.1515453490.git.sandeepsheriker.mallikarjun@microchip.com
State Changes Requested
Delegated to: John Crispin
Headers show
Series
  • Add AT91 SAMA5D27 SOM1 EK board
Related show

Commit Message

Sandeep Sheriker Mallikarjun Jan. 8, 2018, 11:23 p.m.
Add support for SAMA5D27 with target device as at91-sama5d27_som1_ek
in SAMA5 subtarget and build images for SAMA5D27 SOM1 EK board.

Signed-off-by: Sandeep Sheriker Mallikarjun <sandeepsheriker.mallikarjun@microchip.com>
---
 target/linux/at91/base-files/lib/at91.sh | 3 +++
 target/linux/at91/image/sama5.mk         | 8 ++++++++
 2 files changed, 11 insertions(+)

Patch

diff --git a/target/linux/at91/base-files/lib/at91.sh b/target/linux/at91/base-files/lib/at91.sh
index 61921ed..50812de 100755
--- a/target/linux/at91/base-files/lib/at91.sh
+++ b/target/linux/at91/base-files/lib/at91.sh
@@ -46,6 +46,9 @@  at91_board_detect() {
 	*"SAMA5D2 Xplained")
 		name="sama5d2_xplained"
 		;;
+	*"SAMA5D27 SOM1 EK")
+		name="sama5d27_SOM1_EK"
+		;;
 	*"SAMA5D4 Xplained")
 		name="sama5d4_xplained"
 		;;
diff --git a/target/linux/at91/image/sama5.mk b/target/linux/at91/image/sama5.mk
index d33a398..1ed9066 100644
--- a/target/linux/at91/image/sama5.mk
+++ b/target/linux/at91/image/sama5.mk
@@ -64,6 +64,14 @@  define Device/at91-sama5d2_xplained
 endef
 TARGET_DEVICES += at91-sama5d2_xplained
 
+define Device/at91-sama5d27_som1_ek
+  $(Device/evaluation-dtb)
+  DEVICE_TITLE := Microchip(Atmel AT91) SAMA5D27 SOM1 EK
+  KERNEL_SIZE := 6144k
+  $(Device/evaluation-sdimage)
+endef
+TARGET_DEVICES += at91-sama5d27_som1_ek
+
 define Device/at91-sama5d4_xplained
   $(Device/evaluation-dtb)
   DEVICE_TITLE := Microchip(Atmel AT91) SAMA5D4 Xplained