summaryrefslogtreecommitdiff
path: root/arch/mips/mach-ath79/include/mach/ath79.h
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2016-05-06 21:10:40 +0300
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>2016-05-21 02:36:39 +0300
commite08539b791336c45ca05ebdf55137a26baaba95e (patch)
tree3eb7cfe6092042791290753f1f0fdbbfd7b312b4 /arch/mips/mach-ath79/include/mach/ath79.h
parent4771bbee5d7f7857de47794e9636783d55c438f6 (diff)
downloadu-boot-e08539b791336c45ca05ebdf55137a26baaba95e.tar.xz
mips: ath79: Add AR934x support
Add support for the Atheros AR934x WiSoCs. This patchs adds complete system init, including PLL and DRAM init, both of which happen from full C environment, since the AR934x has proper SRAM. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> Cc: Wills Wang <wills.wang@live.com>
Diffstat (limited to 'arch/mips/mach-ath79/include/mach/ath79.h')
-rw-r--r--arch/mips/mach-ath79/include/mach/ath79.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/mips/mach-ath79/include/mach/ath79.h b/arch/mips/mach-ath79/include/mach/ath79.h
index 2c6c118176..17af08223f 100644
--- a/arch/mips/mach-ath79/include/mach/ath79.h
+++ b/arch/mips/mach-ath79/include/mach/ath79.h
@@ -143,4 +143,7 @@ static inline int soc_is_qca956x(void)
int ath79_eth_reset(void);
int ath79_usb_reset(void);
+void ar934x_pll_init(const u16 cpu_mhz, const u16 ddr_mhz, const u16 ahb_mhz);
+void ar934x_ddr_init(const u16 cpu_mhz, const u16 ddr_mhz, const u16 ahb_mhz);
+
#endif /* __ASM_MACH_ATH79_H */