diff options
author | Icenowy Zheng <icenowy@aosc.xyz> | 2017-06-03 12:10:21 +0300 |
---|---|---|
committer | Jagan Teki <jagan@amarulasolutions.com> | 2017-06-08 20:07:55 +0300 |
commit | 3ec0698b8a5bf29d5b35f5057a09be348b067a1a (patch) | |
tree | 0f85737026e73a9a9faa6b56c2cdf9cac8e6e9ab /arch/arm/mach-sunxi/dram_sunxi_dw.c | |
parent | 67337e68a5a88ecbe4ae0df6a91c653f2817c3e1 (diff) | |
download | u-boot-3ec0698b8a5bf29d5b35f5057a09be348b067a1a.tar.xz |
sunxi: add support for V3s DRAM controller
Allwinner V3s features a DRAM controller like the on in H3, but with a
DDR2 DRAM.
Add support for it.
Signed-off-by: Icenowy Zheng <icenowy@aosc.xyz>
Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
Tested-by: Jagan Teki <jagan@amarulasolutions.com>
Diffstat (limited to 'arch/arm/mach-sunxi/dram_sunxi_dw.c')
-rw-r--r-- | arch/arm/mach-sunxi/dram_sunxi_dw.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-sunxi/dram_sunxi_dw.c b/arch/arm/mach-sunxi/dram_sunxi_dw.c index 438b4740cd..20c3055b7a 100644 --- a/arch/arm/mach-sunxi/dram_sunxi_dw.c +++ b/arch/arm/mach-sunxi/dram_sunxi_dw.c @@ -723,6 +723,9 @@ unsigned long sunxi_dram_init(void) uint16_t socid = SOCID_R40; /* Currently we cannot support R40 with dual rank memory */ para.dual_rank = 0; +#elif defined(CONFIG_MACH_SUN8I_V3S) + /* TODO: set delays and mbus priority for V3s */ + uint16_t socid = SOCID_H3; #elif defined(CONFIG_MACH_SUN50I) uint16_t socid = SOCID_A64; #elif defined(CONFIG_MACH_SUN50I_H5) |