diff options
author | Hans de Goede <hdegoede@redhat.com> | 2014-11-21 17:19:45 +0100 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2014-11-25 13:38:46 +0100 |
commit | eafec32000499c8f20589e44801c9febff9ce101 (patch) | |
tree | f1604ccbd2902e1b082fde18377efeae09fa36fc /arch/arm/include/asm/arch-sunxi/cpu.h | |
parent | b871f636c70a2371a8e50190177e4f86d31094fb (diff) | |
download | talos-obmc-uboot-eafec32000499c8f20589e44801c9febff9ce101.tar.gz talos-obmc-uboot-eafec32000499c8f20589e44801c9febff9ce101.zip |
sun6i: Add gmac support for sun6i boards
Hookup the gmac found on the sun6i / A31 SoCs.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Ian Campbell <ijc@hellion.org.uk>
Diffstat (limited to 'arch/arm/include/asm/arch-sunxi/cpu.h')
-rw-r--r-- | arch/arm/include/asm/arch-sunxi/cpu.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-sunxi/cpu.h b/arch/arm/include/asm/arch-sunxi/cpu.h index bdee89e87d..2c92b5ca56 100644 --- a/arch/arm/include/asm/arch-sunxi/cpu.h +++ b/arch/arm/include/asm/arch-sunxi/cpu.h @@ -99,9 +99,13 @@ #define SUNXI_SCR_BASE 0x01c2c400 +#ifndef CONFIG_MACH_SUN6I #define SUNXI_GPS_BASE 0x01c30000 #define SUNXI_MALI400_BASE 0x01c40000 #define SUNXI_GMAC_BASE 0x01c50000 +#else +#define SUNXI_GMAC_BASE 0x01c30000 +#endif #define SUNXI_DRAM_COM_BASE 0x01c62000 #define SUNXI_DRAM_CTL0_BASE 0x01c63000 |