summaryrefslogtreecommitdiff
path: root/arch
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
parent66ebea06f71a85552b7339d1b03ec1a092dc6c70 (diff)
downloadu-boot-imx-bdcdf84631746f9569a4d0b0805750574c7a353a.zip
u-boot-imx-bdcdf84631746f9569a4d0b0805750574c7a353a.tar.gz
u-boot-imx-bdcdf84631746f9569a4d0b0805750574c7a353a.tar.bz2
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')
-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 7a3a4ca..b6cb9de 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