From 3b12308f3337c09b424a2b9cf73c2c06521abe7e Mon Sep 17 00:00:00 2001 From: Sergey Ryazanov Date: Wed, 29 Oct 2014 03:18:39 +0400 Subject: MIPS: ath25: add basic AR5312 SoC support Add basic support for Atheros AR5312/AR2312 SoCs: registers definition file and initial setup code. Signed-off-by: Sergey Ryazanov Cc: Linux MIPS Patchwork: https://patchwork.linux-mips.org/patch/8238/ Signed-off-by: Ralf Baechle --- arch/mips/ath25/ar5312.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 arch/mips/ath25/ar5312.h (limited to 'arch/mips/ath25/ar5312.h') diff --git a/arch/mips/ath25/ar5312.h b/arch/mips/ath25/ar5312.h new file mode 100644 index 000000000000..9e1e56e24eed --- /dev/null +++ b/arch/mips/ath25/ar5312.h @@ -0,0 +1,16 @@ +#ifndef __AR5312_H +#define __AR5312_H + +#ifdef CONFIG_SOC_AR5312 + +void ar5312_plat_time_init(void); +void ar5312_plat_mem_setup(void); + +#else + +static inline void ar5312_plat_time_init(void) {} +static inline void ar5312_plat_mem_setup(void) {} + +#endif + +#endif /* __AR5312_H */ -- cgit v1.2.3