summaryrefslogtreecommitdiffstats
path: root/arch/arm/cpu
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2014-11-29 23:54:25 +0100
committerHans de Goede <hdegoede@redhat.com>2015-01-14 14:56:36 +0100
commitbdcdf84631746f9569a4d0b0805750574c7a353a (patch)
tree0790875ee644280a6d28f7fb8239c909c468f910 /arch/arm/cpu
parent66ebea06f71a85552b7339d1b03ec1a092dc6c70 (diff)
downloadblackbird-obmc-uboot-bdcdf84631746f9569a4d0b0805750574c7a353a.tar.gz
blackbird-obmc-uboot-bdcdf84631746f9569a4d0b0805750574c7a353a.zip
sunxi: axp221: Add axp223 support
The axp223 appears to be the same as the axp221, except that it uses the rsb to communicate rather then the p2wi. At least all the registers we use are 100% the same. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Acked-by: Ian Campbell <ijc@hellion.org.uk>
Diffstat (limited to 'arch/arm/cpu')
-rw-r--r--arch/arm/cpu/armv7/sunxi/cpu_info.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/cpu/armv7/sunxi/cpu_info.c b/arch/arm/cpu/armv7/sunxi/cpu_info.c
index 7a3a4ca81b..b6cb9dea64 100644
--- a/arch/arm/cpu/armv7/sunxi/cpu_info.c
+++ b/arch/arm/cpu/armv7/sunxi/cpu_info.c
@@ -76,7 +76,7 @@ int print_cpuinfo(void)
int sunxi_get_sid(unsigned int *sid)
{
-#ifdef CONFIG_MACH_SUN6I
+#if defined CONFIG_MACH_SUN6I || defined CONFIG_MACH_SUN8I
#ifdef CONFIG_AXP221_POWER
return axp221_get_sid(sid);
#else
OpenPOWER on IntegriCloud