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

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

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

Weijie Gao-2
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 <[hidden email]>
---
 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
--
2.17.1
Reply | Threaded
Open this post in threaded view
|

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

Stefan Roese
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 <[hidden email]>

Reviewed-by: Stefan Roese <[hidden email]>

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

--
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-51 Fax: (+49)-8142-66989-80 Email: [hidden email]