summaryrefslogtreecommitdiff
path: root/arch/arm/mach-mvebu/include/mach/cpu.h
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2015-07-16 10:40:05 +0200
committerLuka Perkov <luka.perkov@sartura.hr>2015-08-17 18:49:02 +0200
commit2a0b7dc3b6ce4e4994ef71dcd6fbb31000c2ae47 (patch)
tree26ae347416c6cd0980a57ee7ffadcf4322ad0ce4 /arch/arm/mach-mvebu/include/mach/cpu.h
parent501c098a1f2cdaa930cb1a7166d3724467890a64 (diff)
arm: mvebu: Enable NAND controller on MVEBU SoC's
This patch enables the NAND controller on the Armada XP/38x and provides a new function that returns the NAND controller input clock. This function will be used by the MVEBU NAND driver. As part of this patch, the multiple BIT macro definitions are moved to a common place in soc.h. Signed-off-by: Stefan Roese <sr@denx.de> Cc: Peter Morrow <peter@senient.com> Cc: Luka Perkov <luka.perkov@sartura.hr>
Diffstat (limited to 'arch/arm/mach-mvebu/include/mach/cpu.h')
-rw-r--r--arch/arm/mach-mvebu/include/mach/cpu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-mvebu/include/mach/cpu.h b/arch/arm/mach-mvebu/include/mach/cpu.h
index 674fdaa0d3..6fa41736e2 100644
--- a/arch/arm/mach-mvebu/include/mach/cpu.h
+++ b/arch/arm/mach-mvebu/include/mach/cpu.h
@@ -117,6 +117,7 @@ unsigned int mvebu_sdram_bs(enum memory_bank bank);
void mvebu_sdram_size_adjust(enum memory_bank bank);
int mvebu_mbus_probe(struct mbus_win windows[], int count);
int mvebu_soc_family(void);
+u32 mvebu_get_nand_clock(void);
int mv_sdh_init(unsigned long regbase, u32 max_clk, u32 min_clk, u32 quirks);