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>
Thu, 4 Jan 2018 11:12:40 +0000 (11:12 +0000)
commit60f65aa39a32b360892d820c5e6d94367b9930e3
tree1e0df3ca913b4b9a72d40abab19c56deb9b0e184
parent2626aa5993054a8fe209ba365dd08fc19a2d3a7a
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