]> git.baikalelectronics.ru Git - kernel.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>
Wed, 7 Dec 2011 22:02:47 +0000 (22:02 +0000)
commit01db6cf3cba99379a58b348d329e100c116902df
tree52fb613a75ad0c563323de0ddcb646d595196d1b
parentc57ab8716164e8c03c931287086939900b645a4f
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