lkml.org 
[lkml]   [2021]   [Feb]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v4 5/5] mips: dts: Add support for Cisco SG220-26 switch
On Tue, Jan 19, 2021 at 10:21:09AM +0100, Bert Vermeulen wrote:
> Signed-off-by: Bert Vermeulen <bert@biot.com>
> ---
> arch/mips/Kconfig | 10 ++++++++
> arch/mips/boot/dts/realtek/Makefile | 2 ++
> arch/mips/boot/dts/realtek/cisco_sg220-26.dts | 25 +++++++++++++++++++
> 3 files changed, 37 insertions(+)
> create mode 100644 arch/mips/boot/dts/realtek/Makefile
> create mode 100644 arch/mips/boot/dts/realtek/cisco_sg220-26.dts
>
> diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
> index 0986d0c4405f..a398416842ca 100644
> --- a/arch/mips/Kconfig
> +++ b/arch/mips/Kconfig
> @@ -1055,6 +1055,16 @@ config NLM_XLP_BOARD
>
> endchoice
>
> +if MACH_REALTEK_RTL
> +choice
> + prompt "Realtek RTL838x/RTL839x-based switch"
> + optional
> +
> + config DT_CISCO_SG220_26
> + bool "Cisco SG220-26"
> +endchoice
> +endif
> +

I've dropped that while applying, because it's just one DT so far and if
there are more of them, please move to arch/mips/realtek/Kconfig

Thomas.

--
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea. [ RFC1925, 2.3 ]

\
 
 \ /
  Last update: 2021-02-04 22:02    [W:0.086 / U:0.516 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site