]> git.karo-electronics.de Git - karo-tx-linux.git/commit
MIPS: ath79: Store the SoC revision in a global variable
authorGabor Juhos <juhosg@openwrt.org>
Thu, 17 Nov 2011 22:13:42 +0000 (23:13 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 17 Nov 2011 22:40:13 +0000 (22:40 +0000)
commit204d1a5632f733f2c1fc7360c21638ded33db01d
tree108b644f4f51971c1987cfa57855672f2a2b600b
parenta2d89164c0fdb0077690ebebc58000a6d6cc42ae
MIPS: ath79: Store the SoC revision in a global variable

Knowing the exact revision of the SoC is required to make runtime decisions
in various code paths.  We have determined the SoC revision already, so we
only need to store that in a global variable.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Cc: Imre Kaloz <kaloz@openwrt.org>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/3027/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/ath79/common.c
arch/mips/ath79/setup.c
arch/mips/include/asm/mach-ath79/ath79.h