From 70c4165e921cc0e400cb9587ebc320560c52f81b Mon Sep 17 00:00:00 2001
From: Oussama Ghorbel <oussama.ghorbel@iopsys.eu>
Date: Wed, 7 Oct 2020 12:30:37 +0200
Subject: [PATCH] added disc board

---
 iopsys-brcm63xx-arm/Config.in          |  3 +++
 iopsys-brcm63xx-arm/config/disc/config |  6 ++++++
 iopsys-brcm63xx-arm/profiles/iopsys.mk | 11 +++++++++++
 3 files changed, 20 insertions(+)
 create mode 100644 iopsys-brcm63xx-arm/config/disc/config

diff --git a/iopsys-brcm63xx-arm/Config.in b/iopsys-brcm63xx-arm/Config.in
index ade6320fa..cc950cd92 100644
--- a/iopsys-brcm63xx-arm/Config.in
+++ b/iopsys-brcm63xx-arm/Config.in
@@ -50,6 +50,7 @@ menu "Target options Brcm63xx (ARM)"
 	default "963158GWV"  if TARGET_iopsys_brcm63xx_arm_smarthub3
 
 	default "96750GW"   if TARGET_iopsys_brcm63xx_arm_srcmm6752ref
+	default "947622GW"  if TARGET_iopsys_brcm63xx_arm_disc
 
 
     menuconfig BCM_CHIP_ID
@@ -72,6 +73,7 @@ menu "Target options Brcm63xx (ARM)"
 	default "63158" if TARGET_iopsys_brcm63xx_arm_smarthub3
 
 	default "63178" if TARGET_iopsys_brcm63xx_arm_srcmm6752ref
+	default "47622" if TARGET_iopsys_brcm63xx_arm_disc
 
     menuconfig BCM_TOOLTUPLE
         string "Broadcom toolchain tuple"
@@ -96,6 +98,7 @@ menu "Target options Brcm63xx (ARM)"
         default "ARC63158REF"      if TARGET_iopsys_brcm63xx_arm_arc63158ref
         default "SMARTHUB3"        if TARGET_iopsys_brcm63xx_arm_smarthub3
         default "SRCMM6752REF"     if TARGET_iopsys_brcm63xx_arm_srcmm6752ref
+	default "DISC"		   if TARGET_iopsys_brcm63xx_arm_disc
 
 	config TARGET_HAS_VOICE
 		bool "Whether to build voice or exclude it entirely"
diff --git a/iopsys-brcm63xx-arm/config/disc/config b/iopsys-brcm63xx-arm/config/disc/config
new file mode 100644
index 000000000..ffd2c24b8
--- /dev/null
+++ b/iopsys-brcm63xx-arm/config/disc/config
@@ -0,0 +1,6 @@
+CONFIG_TARGET_NO_VOICE=y
+CONFIG_TARGET_NO_DECT=y
+CONFIG_TARGET_NO_DSL=y
+# CONFIG_PACKAGE_libdsl is not set
+# CONFIG_PACKAGE_dslmngr is not set
+# CONFIG_PACKAGE_mwan3 is not set
diff --git a/iopsys-brcm63xx-arm/profiles/iopsys.mk b/iopsys-brcm63xx-arm/profiles/iopsys.mk
index 5454afa4d..327bba0c6 100644
--- a/iopsys-brcm63xx-arm/profiles/iopsys.mk
+++ b/iopsys-brcm63xx-arm/profiles/iopsys.mk
@@ -137,3 +137,14 @@ define Profile/srcmm6752ref/Description
 endef
 
 $(eval $(call Profile,srcmm6752ref))
+
+#################### disc
+define Profile/disc
+  NAME:=disc
+endef
+
+define Profile/disc/Description
+	disc profile
+endef
+
+$(eval $(call Profile,disc))
-- 
GitLab