]> 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>
Fri, 18 Nov 2011 00:17:46 +0000 (00:17 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 18 Nov 2011 00:17:46 +0000 (00:17 +0000)
commitb9defb039b3b1fe9bd940c3b0f08d4d44978732b
tree397d151cc6bf519de313d7127ea8f66251d9b33d
parent11c7ec667a5db2af1ab7707b40d711b93fad6578
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