From ba910345034aea52d292bdc26b9c6831ab7b54e8 Mon Sep 17 00:00:00 2001 From: Sergey Ryazanov Date: Wed, 29 Oct 2014 03:18:40 +0400 Subject: 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 Cc: Linux MIPS Patchwork: https://patchwork.linux-mips.org/patch/8239/ Signed-off-by: Ralf Baechle --- arch/mips/ath25/board.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'arch/mips/ath25/board.c') 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) -- cgit v1.2.3-59-g8ed1b