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)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 29 Jun 2017 00:42:23 +0000 (02:42 +0200)
commitb9c4dc2cf9af62bc0d2d8504c15175aeac49ad53
treebe28a8d19ef5d1033138701a3bdd21de3e743fa8
parentecc38a0968ec3e0605079e49d276d9a4186abdb7
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>
arch/mips/include/asm/mach-loongson64/boot_param.h
arch/mips/loongson64/common/env.c