MIPS: BCM63XX: Use the Chip ID register for identifying the SoC
authorJonas Gorski <jonas.gorski@gmail.com>
Tue, 24 Jul 2012 14:33:12 +0000 (16:33 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 24 Jul 2012 14:33:12 +0000 (16:33 +0200)
commit288752a8aa1be6cf89ee5066435a617efd97fb86
tree233eca59b346fcf7febb039132ea0827a9192cfa
parentaaf3fedb56c95b419eda4c5392e03ad9b82c4847
MIPS: BCM63XX: Use the Chip ID register for identifying the SoC

Newer BCM63XX SoCs use virtually the same CPU ID, differing only in the
revision bits. But since they all have the Chip ID register at the same
location, we can use that to identify the SoC we are running on.

Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
Cc: linux-mips@linux-mips.org
Cc: Maxime Bizon <mbizon@freebox.fr>
Cc: Florian Fainelli <florian@openwrt.org>
Cc: Kevin Cernekee <cernekee@gmail.com>
Patchwork: https://patchwork.linux-mips.org/patch/3955/
Reviewed-by: Florian Fainelli <florian@openwrt.org>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/bcm63xx/cpu.c