mips: add base support for QCA/Atheros ath79 SOCs

This patch add some common code for QCA/Atheros ath79 SOCs such as
DDR tuning, chip reset and CPU detection.

Signed-off-by: Wills Wang <wills.wang@live.com>
This commit is contained in:
Wills Wang
2016-03-16 16:59:52 +08:00
committed by Daniel Schwierzeck
parent 4a48cfc4e5
commit 1d3d0f1f1c
12 changed files with 1610 additions and 0 deletions

View File

@@ -23,6 +23,12 @@ struct arch_global_data {
unsigned long tbl;
unsigned long lastinc;
#endif
#ifdef CONFIG_ARCH_ATH79
unsigned long id;
unsigned long soc;
unsigned long rev;
unsigned long ver;
#endif
};
#include <asm-generic/global_data.h>