diff mbox series

[LEDE-DEV,2/3] at91bootstrap: Add support for SAMA5D27 SOM1 EK board

Message ID 901c9c93dd6a528df148dc74bdd9ff52aa46202b.1515453490.git.sandeepsheriker.mallikarjun@microchip.com
State Changes Requested
Delegated to: John Crispin
Headers show
Series Add AT91 SAMA5D27 SOM1 EK board | expand

Commit Message

Sandeep Sheriker Jan. 8, 2018, 11:23 p.m. UTC
1. Add support for SAMA5D27 SOM1 EK board
2. version update to v3.8.9

Signed-off-by: Sandeep Sheriker Mallikarjun <sandeepsheriker.mallikarjun@microchip.com>
---
 package/boot/at91bootstrap/Makefile | 20 +++++++++++++++++---
 1 file changed, 17 insertions(+), 3 deletions(-)

Comments

Hauke Mehrtens Jan. 20, 2018, 10:45 a.m. UTC | #1
On 01/09/2018 12:23 AM, Sandeep Sheriker Mallikarjun wrote:
> 1. Add support for SAMA5D27 SOM1 EK board
> 2. version update to v3.8.9
> 
> Signed-off-by: Sandeep Sheriker Mallikarjun <sandeepsheriker.mallikarjun@microchip.com>
> ---
>  package/boot/at91bootstrap/Makefile | 20 +++++++++++++++++---
>  1 file changed, 17 insertions(+), 3 deletions(-)
> 
> diff --git a/package/boot/at91bootstrap/Makefile b/package/boot/at91bootstrap/Makefile
> index 5d5d2e5..6d27956 100644
> --- a/package/boot/at91bootstrap/Makefile
> +++ b/package/boot/at91bootstrap/Makefile
> @@ -9,12 +9,12 @@
>  include $(TOPDIR)/rules.mk
>  
>  PKG_NAME:=at91bootstrap
> -PKG_VERSION:=v3.8.88888888
> +PKG_VERSION:=v3.8.9
>  PKG_RELEASE:=

This does not apply cleanly any more.


>  PKG_SOURCE_PROTO:=git
>  PKG_SOURCE_URL:=https://github.com/linux4sam/at91bootstrap.git
> -PKG_SOURCE_VERSION:=3d33a4e0707c61007a5278f6620453502f7500db
> +PKG_SOURCE_VERSION:=f05a4df68b231b86d4a27fe43ef215baca9aee14

A PKG_MIRROR_HASH variable would be nice to download the source package
from our mirror instead of cloning it every time.
PKG_MIRROR_HASH:=73bdac3003b68041eb1e512202f09a12af19baaebba9d71f70dd76889cfa7d43

>  PKG_BUILD_DIR = \
>      $(BUILD_DIR)/$(PKG_NAME)-$(BUILD_VARIANT)/$(PKG_NAME)-$(PKG_VERSION)
> @@ -76,6 +76,18 @@ define AT91Bootstrap/sama5d4_xplainedsd_uboot_secure
>    BUILD_DEVICES:=at91-sama5d4_xplained
>  endef
>  
> +define AT91Bootstrap/sama5d27_som1_ekqspi_uboot
> +  TITLE:=AT91Bootstrap for SAMA5D27 SOM1 EK (QSPI Flash)
> +  BUILD_SUBTARGET:=sama5
> +  BUILD_DEVICES:= at91-sama5d27_som1_ek
> +endef
> +
> +define AT91Bootstrap/sama5d27_som1_eksd_uboot
> +  TITLE:=AT91Bootstrap for SAMA5D27 SOM1 EK (SDcard)
> +  BUILD_SUBTARGET:=sama5
> +  BUILD_DEVICES:= at91-sama5d27_som1_ek
> +endef
> +
>  AT91BOOTSTRAP_TARGETS := \
>      sama5d2_xplaineddf_uboot \
>      sama5d2_xplaineddf_qspi_uboot \
> @@ -84,7 +96,9 @@ AT91BOOTSTRAP_TARGETS := \
>      sama5d3_xplainedsd_uboot \
>      sama5d4_xplainednf_uboot_secure \
>      sama5d4_xplaineddf_uboot_secure \
> -    sama5d4_xplainedsd_uboot_secure
> +    sama5d4_xplainedsd_uboot_secure \
> +    sama5d27_som1_ekqspi_uboot \
> +    sama5d27_som1_eksd_uboot
>  
>  define Build/Compile
>  	+$(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR) \
>
diff mbox series

Patch

diff --git a/package/boot/at91bootstrap/Makefile b/package/boot/at91bootstrap/Makefile
index 5d5d2e5..6d27956 100644
--- a/package/boot/at91bootstrap/Makefile
+++ b/package/boot/at91bootstrap/Makefile
@@ -9,12 +9,12 @@ 
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=at91bootstrap
-PKG_VERSION:=v3.8.88888888
+PKG_VERSION:=v3.8.9
 PKG_RELEASE:=
 
 PKG_SOURCE_PROTO:=git
 PKG_SOURCE_URL:=https://github.com/linux4sam/at91bootstrap.git
-PKG_SOURCE_VERSION:=3d33a4e0707c61007a5278f6620453502f7500db
+PKG_SOURCE_VERSION:=f05a4df68b231b86d4a27fe43ef215baca9aee14
 
 PKG_BUILD_DIR = \
     $(BUILD_DIR)/$(PKG_NAME)-$(BUILD_VARIANT)/$(PKG_NAME)-$(PKG_VERSION)
@@ -76,6 +76,18 @@  define AT91Bootstrap/sama5d4_xplainedsd_uboot_secure
   BUILD_DEVICES:=at91-sama5d4_xplained
 endef
 
+define AT91Bootstrap/sama5d27_som1_ekqspi_uboot
+  TITLE:=AT91Bootstrap for SAMA5D27 SOM1 EK (QSPI Flash)
+  BUILD_SUBTARGET:=sama5
+  BUILD_DEVICES:= at91-sama5d27_som1_ek
+endef
+
+define AT91Bootstrap/sama5d27_som1_eksd_uboot
+  TITLE:=AT91Bootstrap for SAMA5D27 SOM1 EK (SDcard)
+  BUILD_SUBTARGET:=sama5
+  BUILD_DEVICES:= at91-sama5d27_som1_ek
+endef
+
 AT91BOOTSTRAP_TARGETS := \
     sama5d2_xplaineddf_uboot \
     sama5d2_xplaineddf_qspi_uboot \
@@ -84,7 +96,9 @@  AT91BOOTSTRAP_TARGETS := \
     sama5d3_xplainedsd_uboot \
     sama5d4_xplainednf_uboot_secure \
     sama5d4_xplaineddf_uboot_secure \
-    sama5d4_xplainedsd_uboot_secure
+    sama5d4_xplainedsd_uboot_secure \
+    sama5d27_som1_ekqspi_uboot \
+    sama5d27_som1_eksd_uboot
 
 define Build/Compile
 	+$(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR) \