diff options
author | Sergey Ryazanov <ryazanov.s.a@gmail.com> | 2014-10-29 00:18:39 +0100 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2014-11-24 07:45:26 +0100 |
commit | 3b12308f3337c09b424a2b9cf73c2c06521abe7e (patch) | |
tree | 05c5ac8b34e1036d1d340a7817f92452a5dd3da9 /arch/mips/ath25/ar5312.h | |
parent | MIPS: ath25: add common parts (diff) | |
download | linux-3b12308f3337c09b424a2b9cf73c2c06521abe7e.tar.xz linux-3b12308f3337c09b424a2b9cf73c2c06521abe7e.zip |
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 <ryazanov.s.a@gmail.com>
Cc: Linux MIPS <linux-mips@linux-mips.org>
Patchwork: https://patchwork.linux-mips.org/patch/8238/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/ath25/ar5312.h')
-rw-r--r-- | arch/mips/ath25/ar5312.h | 16 |
1 files changed, 16 insertions, 0 deletions
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 */ |