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/board.c | |
parent | 3b12308f3337c09b424a2b9cf73c2c06521abe7e (diff) | |
download | linux-stable-ba910345034aea52d292bdc26b9c6831ab7b54e8.tar.gz linux-stable-ba910345034aea52d292bdc26b9c6831ab7b54e8.tar.bz2 linux-stable-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/board.c')
-rw-r--r-- | arch/mips/ath25/board.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/mips/ath25/board.c b/arch/mips/ath25/board.c index 03baeceb3e35..6063bdf9066e 100644 --- a/arch/mips/ath25/board.c +++ b/arch/mips/ath25/board.c @@ -18,6 +18,7 @@ #include "devices.h" #include "ar5312.h" +#include "ar2315.h" static void ath25_halt(void) { @@ -32,6 +33,8 @@ void __init plat_mem_setup(void) if (is_ar5312()) ar5312_plat_mem_setup(); + else + ar2315_plat_mem_setup(); /* Disable data watchpoints */ write_c0_watchlo0(0); @@ -45,6 +48,8 @@ void __init plat_time_init(void) { if (is_ar5312()) ar5312_plat_time_init(); + else + ar2315_plat_time_init(); } unsigned int __cpuinit get_c0_compare_int(void) |