MIPS: Loongson: Unify LOONGSON3/LOONGSON64 Kconfig usage
authorHuacai Chen <chenhc@lemote.com>
Mon, 4 Nov 2019 06:11:21 +0000 (14:11 +0800)
committerPaul Burton <paulburton@kernel.org>
Mon, 11 Nov 2019 18:43:54 +0000 (10:43 -0800)
commitcaed1d1b20cbf7ecf7e8be629fd593c96c8ff2d2
tree42522ec410d637e7d753c2213e0e2a71a2e3e88b
parentb2afb64cccd243afd8a4337d8ee4c2f2afbe991d
MIPS: Loongson: Unify LOONGSON3/LOONGSON64 Kconfig usage

There are mixed LOONGSON3/LOONGSON64 usages in recently changes, let's
establish some rules:

1, In Kconfig symbols, we only use CPU_LOONGSON64, MACH_LOONGSON64 and
SYS_HAS_CPU_LOONGSON64, all other derived symbols use "LOONGSON3" since
they all not widely-used symbols and sometimes not suitable for all
64-bit Loongson processors. E.g., we use symbols LOONGSON3_ENHANCEMENT,
CPU_LOONGSON3_WORKAROUNDS, etc.

2, Hide GSx64/GSx64E in Kconfig title since it is not useful for
general users. However, in the full description we use a more detailed
manner. E.g., GS264/GS464/GS464E/GS464V.

All Kconfig titles and descriptions of Loongson processors and machines
have also been updated in this patch for consistency.

Signed-off-by: Huacai Chen <chenhc@lemote.com>
Signed-off-by: Paul Burton <paulburton@kernel.org>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: James Hogan <jhogan@kernel.org>
Cc: Paul Burton <paul.burton@mips.com>
Cc: linux-mips@linux-mips.org
Cc: linux-mips@vger.kernel.org
Cc: Fuxin Zhang <zhangfx@lemote.com>
Cc: Zhangjin Wu <wuzhangjin@gmail.com>
Cc: Huacai Chen <chenhuacai@gmail.com>
arch/mips/Kconfig
arch/mips/include/asm/hazards.h
arch/mips/loongson64/Kconfig