diff options
author | Sergey Ryazanov <ryazanov.s.a@gmail.com> | 2014-10-29 03:18:40 +0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2014-11-24 07:45:26 +0100 |
commit | ba910345034aea52d292bdc26b9c6831ab7b54e8 (patch) | |
tree | 97a83a99f2fd8cac612a64f2ec78008ad2698a4f /arch/mips/ath25/ar2315.h | |
parent | 3b12308f3337c09b424a2b9cf73c2c06521abe7e (diff) | |
download | lwn-ba910345034aea52d292bdc26b9c6831ab7b54e8.tar.gz lwn-ba910345034aea52d292bdc26b9c6831ab7b54e8.zip |
MIPS: ath25: Add basic AR2315 SoC support
Add basic support for Atheros AR2315+ SoCs: registers definition file
and initial setup code.
Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
Cc: Linux MIPS <linux-mips@linux-mips.org>
Patchwork: https://patchwork.linux-mips.org/patch/8239/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/ath25/ar2315.h')
-rw-r--r-- | arch/mips/ath25/ar2315.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/arch/mips/ath25/ar2315.h b/arch/mips/ath25/ar2315.h new file mode 100644 index 000000000000..baeaf847223a --- /dev/null +++ b/arch/mips/ath25/ar2315.h @@ -0,0 +1,16 @@ +#ifndef __AR2315_H +#define __AR2315_H + +#ifdef CONFIG_SOC_AR2315 + +void ar2315_plat_time_init(void); +void ar2315_plat_mem_setup(void); + +#else + +static inline void ar2315_plat_time_init(void) {} +static inline void ar2315_plat_mem_setup(void) {} + +#endif + +#endif /* __AR2315_H */ |