diff options
author | Chen-Yu Tsai <wens@csie.org> | 2016-12-01 19:09:57 +0800 |
---|---|---|
committer | Maxime Ripard <maxime.ripard@free-electrons.com> | 2017-04-20 13:30:01 +0200 |
commit | 8201188cf9e4fb8ce5277e4d59a458be536db927 (patch) | |
tree | 6561271ea98e0dc2c240a474b8376a970d1f6421 /arch/arm/include/asm/arch-sunxi/cpu.h | |
parent | 33559ffe5bc0ea10ae9956a0ac3fbd1cc30d23b8 (diff) |
sunxi: Use H3/A64 DRAM initialization code for R40
The R40 seems to have a variant of the memory controller found in
the H3 and A64 SoCs. Adapt the code for use on the R40. The changes
are based on released DRAM code and comparing register dumps from
boot0.
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Diffstat (limited to 'arch/arm/include/asm/arch-sunxi/cpu.h')
-rw-r--r-- | arch/arm/include/asm/arch-sunxi/cpu.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-sunxi/cpu.h b/arch/arm/include/asm/arch-sunxi/cpu.h index e8e670e7e9..caec865264 100644 --- a/arch/arm/include/asm/arch-sunxi/cpu.h +++ b/arch/arm/include/asm/arch-sunxi/cpu.h @@ -16,5 +16,6 @@ #define SOCID_A64 0x1689 #define SOCID_H3 0x1680 #define SOCID_H5 0x1718 +#define SOCID_R40 0x1701 #endif /* _SUNXI_CPU_H */ |