diff options
author | Siarhei Siamashka <siarhei.siamashka@gmail.com> | 2016-03-29 17:29:10 +0200 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2016-04-01 09:52:28 +0200 |
commit | d96ebc468d0dff6eb6f069bba03b3f0e33aa22de (patch) | |
tree | bea23e84de4e9fd04545a5b8c384fd4b13081229 /arch/arm/include/asm/arch-sunxi/clock_sun6i.h | |
parent | 0ea5a04fbcd72ebb37eb4b3f744374fdf551d3b7 (diff) | |
download | u-boot-imx-d96ebc468d0dff6eb6f069bba03b3f0e33aa22de.zip u-boot-imx-d96ebc468d0dff6eb6f069bba03b3f0e33aa22de.tar.gz u-boot-imx-d96ebc468d0dff6eb6f069bba03b3f0e33aa22de.tar.bz2 |
sunxi: Add support for Allwinner A64 SoCs
The Allwinner A64 SoC is used in the Pine64. This patch adds
all bits necessary to compile U-Boot for it running in AArch64
mode.
Unfortunately SPL is not ready yet due to legal problems, so
we need to boot using the binary boot0 for now.
Signed-off-by: Siarhei Siamashka <siarhei.siamashka@gmail.com>
[agraf: remove SPL code, move to AArch64]
Signed-off-by: Alexander Graf <agraf@suse.de>
Acked-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'arch/arm/include/asm/arch-sunxi/clock_sun6i.h')
-rw-r--r-- | arch/arm/include/asm/arch-sunxi/clock_sun6i.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/arch/arm/include/asm/arch-sunxi/clock_sun6i.h b/arch/arm/include/asm/arch-sunxi/clock_sun6i.h index 9de7754..f2990db 100644 --- a/arch/arm/include/asm/arch-sunxi/clock_sun6i.h +++ b/arch/arm/include/asm/arch-sunxi/clock_sun6i.h @@ -350,10 +350,12 @@ struct sunxi_ccm_reg { #define CCM_HDMI_CTRL_DDC_GATE (0x1 << 30) #define CCM_HDMI_CTRL_GATE (0x1 << 31) -#ifndef CONFIG_MACH_SUN8I -#define MBUS_CLK_DEFAULT 0x81000001 /* PLL6 / 2 */ -#else +#if defined(CONFIG_MACH_SUN50I) +#define MBUS_CLK_DEFAULT 0x81000002 /* PLL6x2 / 3 */ +#elif defined(CONFIG_MACH_SUN8I) #define MBUS_CLK_DEFAULT 0x81000003 /* PLL6 / 4 */ +#else +#define MBUS_CLK_DEFAULT 0x81000001 /* PLL6 / 2 */ #endif #define MBUS_CLK_GATE (0x1 << 31) |