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:
Sergey Ryazanov
2014-10-29 03:18:40 +04:00
committed by Ralf Baechle
부모 3b12308f33
커밋 ba91034503
7개의 변경된 파일578개의 추가작업 그리고 1개의 파일을 삭제

파일 보기

@@ -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)