MIPS: Loogson: Make enum loongson_cpu_type more clear
authorHuacai Chen <chenhc@lemote.com>
Thu, 22 Jun 2017 15:06:54 +0000 (23:06 +0800)
committerYves-Alexis Perez <corsac@debian.org>
Wed, 21 Feb 2018 15:29:03 +0000 (15:29 +0000)
commit3780c3a9e413bd4b30fdc9dfc59c04cf5ff264cf
treec6d8979195ddfa3f3ecd68032971edb5ce37298d
parentd58b49d00c794042358f7e13f2b9f6932880053d
MIPS: Loogson: Make enum loongson_cpu_type more clear

Sort enum loongson_cpu_type in a more reasonable manner, this makes the
CPU names more clear and extensible. Those already defined enum values
are renamed to Legacy_* for compatibility.

Signed-off-by: Huacai Chen <chenhc@lemote.com>
Cc: John Crispin <john@phrozen.org>
Cc: Steven J . Hill <Steven.Hill@cavium.com>
Cc: Fuxin Zhang <zhangfx@lemote.com>
Cc: Zhangjin Wu <wuzhangjin@gmail.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/16591/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Gbp-Pq: Topic features/mips
Gbp-Pq: Name mips-loogson-make-enum-loongson_cpu_type-more-clear.patch
arch/mips/include/asm/mach-loongson64/boot_param.h
arch/mips/loongson64/common/env.c