diff mbox series

[07/18] configs: mtmips: refresh for mt7628 based boards

Message ID 1602833752-19344-1-git-send-email-weijie.gao@mediatek.com
State Superseded
Delegated to: Daniel Schwierzeck
Headers show
Series [01/18] mips: dts: switch to board defines for dtb for mtmips | expand

Commit Message

Weijie Gao Oct. 16, 2020, 7:35 a.m. UTC
Since mt7620 is added into Kconfig, the CONFIG_SOC_MT7628=y which is
omitted by default must be added back, otherwise make xxx_defconfig for
these boards will be configured for mt7620 platform.

Signed-off-by: Weijie Gao <weijie.gao@mediatek.com>
---
 configs/gardena-smart-gateway-mt7688_defconfig | 1 +
 configs/linkit-smart-7688_defconfig            | 1 +
 configs/mt7628_rfb_defconfig                   | 1 +
 configs/vocore2_defconfig                      | 1 +
 4 files changed, 4 insertions(+)

Comments

Stefan Roese Oct. 19, 2020, 11:01 a.m. UTC | #1
On 16.10.20 09:35, Weijie Gao wrote:
> Since mt7620 is added into Kconfig, the CONFIG_SOC_MT7628=y which is
> omitted by default must be added back, otherwise make xxx_defconfig for
> these boards will be configured for mt7620 platform.
> 
> Signed-off-by: Weijie Gao <weijie.gao@mediatek.com>

Reviewed-by: Stefan Roese <sr@denx.de>

Thanks,
Stefan

> ---
>   configs/gardena-smart-gateway-mt7688_defconfig | 1 +
>   configs/linkit-smart-7688_defconfig            | 1 +
>   configs/mt7628_rfb_defconfig                   | 1 +
>   configs/vocore2_defconfig                      | 1 +
>   4 files changed, 4 insertions(+)
> 
> diff --git a/configs/gardena-smart-gateway-mt7688_defconfig b/configs/gardena-smart-gateway-mt7688_defconfig
> index 001a66d0f6..c03123f6e4 100644
> --- a/configs/gardena-smart-gateway-mt7688_defconfig
> +++ b/configs/gardena-smart-gateway-mt7688_defconfig
> @@ -12,6 +12,7 @@ CONFIG_SPL=y
>   CONFIG_SYS_BOOTCOUNT_SINGLEWORD=y
>   CONFIG_ENV_OFFSET_REDUND=0xB0000
>   CONFIG_ARCH_MTMIPS=y
> +CONFIG_SOC_MT7628=y
>   CONFIG_DEFAULT_DEVICE_TREE="gardena-smart-gateway-mt7688"
>   CONFIG_RESTORE_EXCEPTION_VECTOR_BASE=y
>   # CONFIG_MIPS_BOOT_ENV_LEGACY is not set
> diff --git a/configs/linkit-smart-7688_defconfig b/configs/linkit-smart-7688_defconfig
> index 437000b4c7..dd2524e4ec 100644
> --- a/configs/linkit-smart-7688_defconfig
> +++ b/configs/linkit-smart-7688_defconfig
> @@ -9,6 +9,7 @@ CONFIG_SPL_SERIAL_SUPPORT=y
>   CONFIG_SPL_SYS_MALLOC_F_LEN=0x40000
>   CONFIG_SPL=y
>   CONFIG_ARCH_MTMIPS=y
> +CONFIG_SOC_MT7628=y
>   CONFIG_BOARD_LINKIT_SMART_7688=y
>   CONFIG_DEFAULT_DEVICE_TREE="linkit-smart-7688"
>   CONFIG_RESTORE_EXCEPTION_VECTOR_BASE=y
> diff --git a/configs/mt7628_rfb_defconfig b/configs/mt7628_rfb_defconfig
> index 69025728b2..831e54e9f3 100644
> --- a/configs/mt7628_rfb_defconfig
> +++ b/configs/mt7628_rfb_defconfig
> @@ -9,6 +9,7 @@ CONFIG_SPL_SERIAL_SUPPORT=y
>   CONFIG_SPL_SYS_MALLOC_F_LEN=0x40000
>   CONFIG_SPL=y
>   CONFIG_ARCH_MTMIPS=y
> +CONFIG_SOC_MT7628=y
>   CONFIG_BOARD_MT7628_RFB=y
>   CONFIG_DEFAULT_DEVICE_TREE="mediatek,mt7628-rfb"
>   CONFIG_RESTORE_EXCEPTION_VECTOR_BASE=y
> diff --git a/configs/vocore2_defconfig b/configs/vocore2_defconfig
> index acb9abf1be..e255829366 100644
> --- a/configs/vocore2_defconfig
> +++ b/configs/vocore2_defconfig
> @@ -10,6 +10,7 @@ CONFIG_SPL_SYS_MALLOC_F_LEN=0x40000
>   CONFIG_SPL=y
>   CONFIG_SYS_BOOTCOUNT_SINGLEWORD=y
>   CONFIG_ARCH_MTMIPS=y
> +CONFIG_SOC_MT7628=y
>   CONFIG_BOARD_VOCORE2=y
>   CONFIG_DEFAULT_DEVICE_TREE="vocore_vocore2"
>   CONFIG_RESTORE_EXCEPTION_VECTOR_BASE=y
> 


Viele Grüße,
Stefan
diff mbox series

Patch

diff --git a/configs/gardena-smart-gateway-mt7688_defconfig b/configs/gardena-smart-gateway-mt7688_defconfig
index 001a66d0f6..c03123f6e4 100644
--- a/configs/gardena-smart-gateway-mt7688_defconfig
+++ b/configs/gardena-smart-gateway-mt7688_defconfig
@@ -12,6 +12,7 @@  CONFIG_SPL=y
 CONFIG_SYS_BOOTCOUNT_SINGLEWORD=y
 CONFIG_ENV_OFFSET_REDUND=0xB0000
 CONFIG_ARCH_MTMIPS=y
+CONFIG_SOC_MT7628=y
 CONFIG_DEFAULT_DEVICE_TREE="gardena-smart-gateway-mt7688"
 CONFIG_RESTORE_EXCEPTION_VECTOR_BASE=y
 # CONFIG_MIPS_BOOT_ENV_LEGACY is not set
diff --git a/configs/linkit-smart-7688_defconfig b/configs/linkit-smart-7688_defconfig
index 437000b4c7..dd2524e4ec 100644
--- a/configs/linkit-smart-7688_defconfig
+++ b/configs/linkit-smart-7688_defconfig
@@ -9,6 +9,7 @@  CONFIG_SPL_SERIAL_SUPPORT=y
 CONFIG_SPL_SYS_MALLOC_F_LEN=0x40000
 CONFIG_SPL=y
 CONFIG_ARCH_MTMIPS=y
+CONFIG_SOC_MT7628=y
 CONFIG_BOARD_LINKIT_SMART_7688=y
 CONFIG_DEFAULT_DEVICE_TREE="linkit-smart-7688"
 CONFIG_RESTORE_EXCEPTION_VECTOR_BASE=y
diff --git a/configs/mt7628_rfb_defconfig b/configs/mt7628_rfb_defconfig
index 69025728b2..831e54e9f3 100644
--- a/configs/mt7628_rfb_defconfig
+++ b/configs/mt7628_rfb_defconfig
@@ -9,6 +9,7 @@  CONFIG_SPL_SERIAL_SUPPORT=y
 CONFIG_SPL_SYS_MALLOC_F_LEN=0x40000
 CONFIG_SPL=y
 CONFIG_ARCH_MTMIPS=y
+CONFIG_SOC_MT7628=y
 CONFIG_BOARD_MT7628_RFB=y
 CONFIG_DEFAULT_DEVICE_TREE="mediatek,mt7628-rfb"
 CONFIG_RESTORE_EXCEPTION_VECTOR_BASE=y
diff --git a/configs/vocore2_defconfig b/configs/vocore2_defconfig
index acb9abf1be..e255829366 100644
--- a/configs/vocore2_defconfig
+++ b/configs/vocore2_defconfig
@@ -10,6 +10,7 @@  CONFIG_SPL_SYS_MALLOC_F_LEN=0x40000
 CONFIG_SPL=y
 CONFIG_SYS_BOOTCOUNT_SINGLEWORD=y
 CONFIG_ARCH_MTMIPS=y
+CONFIG_SOC_MT7628=y
 CONFIG_BOARD_VOCORE2=y
 CONFIG_DEFAULT_DEVICE_TREE="vocore_vocore2"
 CONFIG_RESTORE_EXCEPTION_VECTOR_BASE=y