diff options
author | Wills Wang <wills.wang@live.com> | 2016-03-16 16:59:52 +0800 |
---|---|---|
committer | Daniel Schwierzeck <daniel.schwierzeck@gmail.com> | 2016-05-21 01:25:50 +0200 |
commit | 1d3d0f1f1cd8bac8ea0135c92a2bcd5020abfb1d (patch) | |
tree | f860e8ae8b68fd43f8dd19412aed0e7f6da51585 /arch/mips/include | |
parent | 4a48cfc4e57b4b247d94a614b2fbfcf03aa45ea1 (diff) | |
download | u-boot-1d3d0f1f1cd8bac8ea0135c92a2bcd5020abfb1d.tar.gz u-boot-1d3d0f1f1cd8bac8ea0135c92a2bcd5020abfb1d.tar.bz2 u-boot-1d3d0f1f1cd8bac8ea0135c92a2bcd5020abfb1d.zip |
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>
Diffstat (limited to 'arch/mips/include')
-rw-r--r-- | arch/mips/include/asm/global_data.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/mips/include/asm/global_data.h b/arch/mips/include/asm/global_data.h index a1ca257db5..3f230b08f6 100644 --- a/arch/mips/include/asm/global_data.h +++ b/arch/mips/include/asm/global_data.h @@ -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> |