From 40496baf81c92f3a5ad4fce7b3630894780e58ab Mon Sep 17 00:00:00 2001
From: Sukru Senli <sukru.senli@iopsys.eu>
Date: Fri, 13 Nov 2020 17:53:18 +0100
Subject: [PATCH] brcm63xx-arm: select BCM_VOICE for dg400prime and smarthub3

---
 iopsys-brcm63xx-arm/config/dg400prime/config | 1 +
 iopsys-brcm63xx-arm/config/smarthub3/config  | 1 +
 iopsys-brcm63xx-arm/profiles/iopsys.mk       | 1 +
 3 files changed, 3 insertions(+)

diff --git a/iopsys-brcm63xx-arm/config/dg400prime/config b/iopsys-brcm63xx-arm/config/dg400prime/config
index ddfb32a8f..b3130f71f 100644
--- a/iopsys-brcm63xx-arm/config/dg400prime/config
+++ b/iopsys-brcm63xx-arm/config/dg400prime/config
@@ -3,3 +3,4 @@ CONFIG_BCM_KERNEL_PROFILE="963138GWV"
 CONFIG_BCM_CHIP_ID="63138"
 
 CONFIG_BCM_FIRMWARE_TYPE="nand128_ubifs"
+CONFIG_BCM_VOICE=y
diff --git a/iopsys-brcm63xx-arm/config/smarthub3/config b/iopsys-brcm63xx-arm/config/smarthub3/config
index 8063a1125..8781227e6 100644
--- a/iopsys-brcm63xx-arm/config/smarthub3/config
+++ b/iopsys-brcm63xx-arm/config/smarthub3/config
@@ -4,3 +4,4 @@ CONFIG_BCM_CHIP_ID="63158"
 
 CONFIG_BCM_FIRMWARE_TYPE="emmc_ext4"
 CONFIG_BCM_DSL_GFAST=y
+CONFIG_BCM_VOICE=y
diff --git a/iopsys-brcm63xx-arm/profiles/iopsys.mk b/iopsys-brcm63xx-arm/profiles/iopsys.mk
index 327bba0c6..27c65b3d1 100644
--- a/iopsys-brcm63xx-arm/profiles/iopsys.mk
+++ b/iopsys-brcm63xx-arm/profiles/iopsys.mk
@@ -119,6 +119,7 @@ $(eval $(call Profile,arc63158ref))
 #################### smarthub3
 define Profile/smarthub3
   NAME:=smarthub3
+  PACKAGES:=$(VOICE_SUPPORT)
 endef
 
 define Profile/smarthub3/Description
-- 
GitLab