lkml.org 
[lkml]   [2022]   [Oct]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2 1/4] MIPS: ingenic: add new machine type MACH_JZ4755
Hi Siarhei,

Le dim., oct. 16 2022 at 18:01:06 +0300, Siarhei Volkau
<lis8215@gmail.com> a écrit :
> which is close to jz4725b because it is actually a low price
> successor of the jz4755.
> It has the same MIPS32r1 core with Xburst(R) extension
> MXU version 1 release 2.
>
> Signed-off-by: Siarhei Volkau <lis8215@gmail.com>

This patch doesn't really belong in the CGU patchset. It should go
through the MIPS tree.

I see why you include it, but you do not need to have the MACH_JZ4755
symbol defined anywhere for the "default MACH_JZ4755" to work, it will
just default to false until the patchset that adds JZ4755 support is
merged in the MIPS tree.

Cheers,
-Paul

> ---
> arch/mips/ingenic/Kconfig | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/arch/mips/ingenic/Kconfig b/arch/mips/ingenic/Kconfig
> index f595b339a..edd84cf13 100644
> --- a/arch/mips/ingenic/Kconfig
> +++ b/arch/mips/ingenic/Kconfig
> @@ -4,6 +4,7 @@ config MACH_INGENIC_GENERIC
> bool
> select MACH_INGENIC
> select MACH_JZ4740
> + select MACH_JZ4755
> select MACH_JZ4725B
> select MACH_JZ4770
> select MACH_JZ4780
> @@ -53,6 +54,10 @@ config MACH_JZ4740
> bool
> select SYS_HAS_CPU_MIPS32_R1
>
> +config MACH_JZ4755
> + bool
> + select SYS_HAS_CPU_MIPS32_R1
> +
> config MACH_JZ4770
> bool
> select MIPS_CPU_SCACHE
> --
> 2.36.1
>


\
 
 \ /
  Last update: 2022-10-17 11:11    [W:0.120 / U:0.048 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site