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>
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user