arm: mvebu: Add support for NAND interface on A-38x
authorChris Packham <chris.packham@alliedtelesis.co.nz>
Mon, 22 Aug 2016 00:38:39 +0000 (12:38 +1200)
committerStefan Roese <sr@denx.de>
Fri, 26 Aug 2016 06:33:21 +0000 (08:33 +0200)
commitd7b4731efd4d4d90224917fca1a09ccf99cd1baa
tree7f87dfbf924cdf0779d31f6958474891be3645b9
parent46fe9eb08812cc27a0d5cd97d97373c14d578fe9
arm: mvebu: Add support for NAND interface on A-38x

The NAND interface on the Armada-38x series is similar to that on the
Armada-XP. The key difference is that the NAND ECC clock ratio is
provided via the DFX Server registers instead of the Core Clock.

Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
Cc: Luka Perkov <luka.perkov@sartura.hr>
Cc: Dirk Eibach <eibach@gdsys.de>
Signed-off-by: Stefan Roese <sr@denx.de>
arch/arm/mach-mvebu/cpu.c
arch/arm/mach-mvebu/include/mach/soc.h