summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mvebu/platsmp-a9.c
diff options
context:
space:
mode:
authorGregory CLEMENT <gregory.clement@free-electrons.com>2014-06-23 17:42:08 +0200
committerJason Cooper <jason@lakedaemon.net>2014-06-30 19:40:59 +0200
commit9674d4a3cf4307dda468a0b48e5e43a2fdb56b68 (patch)
treed126a74cc3792b0c4f91fbf1355f162e308c004d /arch/arm/mach-mvebu/platsmp-a9.c
parentARM: mvebu: Use the a standard errno in mvebu_get_soc_id (diff)
downloadlinux-9674d4a3cf4307dda468a0b48e5e43a2fdb56b68.tar.xz
linux-9674d4a3cf4307dda468a0b48e5e43a2fdb56b68.zip
ARM: mvebu: Use system controller to get the soc id when possible
On Armada 38x it is possible to get the SoC Id and the revision without using the PCI register. Accessing the PCI registers implies enabling its clock and, because of the initialization issue, not keeping them enable. So if possible it is better to avoid it. Armada 370 and Armada XP provides the SoC ID values from the system controller but not the revision. Armada 375 provides both but the SoC ID value looks buggy (0x6660 instead of 0x6720). Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com> Link: https://lkml.kernel.org/r/1403538128-27859-1-git-send-email-gregory.clement@free-electrons.com Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'arch/arm/mach-mvebu/platsmp-a9.c')
0 files changed, 0 insertions, 0 deletions