From 888d828101fd04f7e6a8d5f2bac07ecfb1dd4bee Mon Sep 17 00:00:00 2001
From: Oussama Ghorbel <oussama.ghorbel@iopsys.eu>
Date: Tue, 19 May 2020 11:11:35 +0200
Subject: [PATCH] iopsys-brcm63xx-arm: rename the board smarthub3 to
 arc63158ref

---
 iopsys-brcm63xx-arm/Config.in          |  6 +++---
 iopsys-brcm63xx-arm/image/Config.in    |  8 ++++----
 iopsys-brcm63xx-arm/profiles/iopsys.mk | 12 ++++++------
 3 files changed, 13 insertions(+), 13 deletions(-)

diff --git a/iopsys-brcm63xx-arm/Config.in b/iopsys-brcm63xx-arm/Config.in
index d28d42537..fdbf7954b 100644
--- a/iopsys-brcm63xx-arm/Config.in
+++ b/iopsys-brcm63xx-arm/Config.in
@@ -69,7 +69,7 @@ menu "Target options Brcm63xx (ARM/MIPS)"
 	default "96846GWO" if TARGET_iopsys_brcm63xx_arm_panther
 	default "96856GWO" if TARGET_iopsys_brcm63xx_arm_xue534
 
-	default "963158GWV" if TARGET_iopsys_brcm63xx_arm_smarthub3
+	default "963158GWV" if TARGET_iopsys_brcm63xx_arm_arc63158ref
 
 
     menuconfig BCM_CHIP_ID
@@ -86,7 +86,7 @@ menu "Target options Brcm63xx (ARM/MIPS)"
 	default "6846" if TARGET_iopsys_brcm63xx_arm_panther
 	default "6856" if TARGET_iopsys_brcm63xx_arm_xue534
 
-	default "63158" if TARGET_iopsys_brcm63xx_arm_smarthub3
+	default "63158" if TARGET_iopsys_brcm63xx_arm_arc63158ref
 
     menuconfig BCM_TOOLTUPLE
         string "Broadcom toolchain tuple"
@@ -111,7 +111,7 @@ menu "Target options Brcm63xx (ARM/MIPS)"
         default "TIGER"      if TARGET_iopsys_brcm63xx_arm_tiger
         default "PANTHER"     if TARGET_iopsys_brcm63xx_arm_panther
 	default "XUG534"     if TARGET_iopsys_brcm63xx_arm_xue534
-        default "SMARTHUB3"     if TARGET_iopsys_brcm63xx_arm_smarthub3
+        default "ARC63158REF"     if TARGET_iopsys_brcm63xx_arm_arc63158ref
 
 	config TARGET_HAS_VOICE
 		bool "Whether to build voice or exclude it entirely"
diff --git a/iopsys-brcm63xx-arm/image/Config.in b/iopsys-brcm63xx-arm/image/Config.in
index c2f052f9a..95443dba8 100644
--- a/iopsys-brcm63xx-arm/image/Config.in
+++ b/iopsys-brcm63xx-arm/image/Config.in
@@ -114,7 +114,7 @@ config TARGET_NAND_DEVSZ
 	default "268435456"  if TARGET_iopsys_brcm63xx_arm_tiger
 	default "268435456"  if TARGET_iopsys_brcm63xx_arm_panther
 	default "268435456"  if TARGET_iopsys_brcm63xx_arm_xue534
-	default "1073741824" if TARGET_iopsys_brcm63xx_arm_smarthub3
+	default "1073741824" if TARGET_iopsys_brcm63xx_arm_arc63158ref
 	range 67108864 4294967296
 	depends on NAND_SUPPORT
 
@@ -132,7 +132,7 @@ config TARGET_NAND_BLOCKSZ
 	default "131072"     if TARGET_iopsys_brcm63xx_arm_tiger
 	default "131072"     if TARGET_iopsys_brcm63xx_arm_panther
 	default "131072"     if TARGET_iopsys_brcm63xx_arm_xue534
-	default "262144"     if TARGET_iopsys_brcm63xx_arm_smarthub3
+	default "262144"     if TARGET_iopsys_brcm63xx_arm_arc63158ref
 	range 16384 1048576
 	depends on NAND_SUPPORT
 
@@ -150,7 +150,7 @@ config TARGET_NAND_PAGESZ
 	default "2048"       if TARGET_iopsys_brcm63xx_arm_tiger
 	default "2048"       if TARGET_iopsys_brcm63xx_arm_panther
 	default "2048"       if TARGET_iopsys_brcm63xx_arm_xue534
-	default "4096"       if TARGET_iopsys_brcm63xx_arm_smarthub3
+	default "4096"       if TARGET_iopsys_brcm63xx_arm_arc63158ref
 	range 256 65536
 	depends on NAND_SUPPORT
 
@@ -180,7 +180,7 @@ choice	DDR_TYPE
 		for addvtoken tool when generating the broadcom w
 		image
 
-	default TARGET_DDR_TYPE_DDR3 if TARGET_iopsys_brcm63xx_arm_smarthub3
+	default TARGET_DDR_TYPE_DDR3 if TARGET_iopsys_brcm63xx_arm_arc63158ref
 	default TARGET_DDR_TYPE_NONE
 
 	config TARGET_DDR_TYPE_NONE
diff --git a/iopsys-brcm63xx-arm/profiles/iopsys.mk b/iopsys-brcm63xx-arm/profiles/iopsys.mk
index 37782c8ad..0d453a3a8 100644
--- a/iopsys-brcm63xx-arm/profiles/iopsys.mk
+++ b/iopsys-brcm63xx-arm/profiles/iopsys.mk
@@ -106,13 +106,13 @@ endef
 
 $(eval $(call Profile,xue534))
 
-#################### SmartHub3
-define Profile/smarthub3
-  NAME:=smarthub3
+#################### arc63158ref
+define Profile/arc63158ref
+  NAME:=arc63158ref
 endef
 
-define Profile/sphinx/Description
-	smarthub3 profile
+define Profile/arc63158ref/Description
+	arc63158ref profile
 endef
 
-$(eval $(call Profile,smarthub3))
+$(eval $(call Profile,arc63158ref))
-- 
GitLab