summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/arch-sunxi/cpu.h
diff options
context:
space:
mode:
authorChen-Yu Tsai <wens@csie.org>2016-12-01 11:09:57 (GMT)
committerMaxime Ripard <maxime.ripard@free-electrons.com>2017-04-20 11:30:01 (GMT)
commit8201188cf9e4fb8ce5277e4d59a458be536db927 (patch)
tree6561271ea98e0dc2c240a474b8376a970d1f6421 /arch/arm/include/asm/arch-sunxi/cpu.h
parent33559ffe5bc0ea10ae9956a0ac3fbd1cc30d23b8 (diff)
downloadu-boot-fsl-qoriq-8201188cf9e4fb8ce5277e4d59a458be536db927.tar.xz
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.h1
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 e8e670e..caec865 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 */