[PATCH v2 4/4] ARM: meson: Enable Meson8b SoCs

Rob Herring robherring2 at gmail.com
Thu Oct 8 06:48:00 PDT 2015


On Wed, Oct 7, 2015 at 3:31 PM, Carlo Caione <carlo at caione.org> wrote:
> From: Carlo Caione <carlo at endlessm.com>
>
> Signed-off-by: Carlo Caione <carlo at endlessm.com>
> ---
>  arch/arm/mach-meson/Kconfig | 5 +++++
>  arch/arm/mach-meson/meson.c | 1 +
>  2 files changed, 6 insertions(+)
>
> diff --git a/arch/arm/mach-meson/Kconfig b/arch/arm/mach-meson/Kconfig
> index 0743e20..5d56f86 100644
> --- a/arch/arm/mach-meson/Kconfig
> +++ b/arch/arm/mach-meson/Kconfig
> @@ -19,4 +19,9 @@ config MACH_MESON8
>         default ARCH_MESON
>         select MESON6_TIMER
>
> +config MACH_MESON8B
> +       bool "Amlogic Meson8b SoCs support"
> +       default ARCH_MESON
> +       select MESON6_TIMER

I don't see the need for a new config option. Just add the dtbs to MACH_MESON8.

> +
>  endif
> diff --git a/arch/arm/mach-meson/meson.c b/arch/arm/mach-meson/meson.c
> index 5d6affe..4e23571 100644
> --- a/arch/arm/mach-meson/meson.c
> +++ b/arch/arm/mach-meson/meson.c
> @@ -19,6 +19,7 @@
>  static const char * const meson_common_board_compat[] = {
>         "amlogic,meson6",
>         "amlogic,meson8",
> +       "amlogic,meson8b",
>         NULL,
>  };
>
> --
> 1.9.1
>



More information about the linux-arm-kernel mailing list