Re: [PATCH v4 5/5] mips: dts: Add support for Cisco SG220-26 switch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jan 19, 2021 at 10:21:09AM +0100, Bert Vermeulen wrote:
> Signed-off-by: Bert Vermeulen <bert@xxxxxxxx>
> ---
>  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 ]



[Index of Archives]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux