Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
Siarhei Siamashka | 26c50fb | 2016-03-29 17:29:10 +0200 | [diff] [blame] | 2 | /* |
| 3 | * Configuration settings for the Allwinner A64 (sun50i) CPU |
Siarhei Siamashka | 26c50fb | 2016-03-29 17:29:10 +0200 | [diff] [blame] | 4 | */ |
| 5 | |
| 6 | #ifndef __CONFIG_H |
| 7 | #define __CONFIG_H |
| 8 | |
| 9 | /* |
| 10 | * A64 specific configuration |
| 11 | */ |
| 12 | |
Icenowy Zheng | 2e0c0e2 | 2018-07-21 16:20:25 +0800 | [diff] [blame] | 13 | #ifndef CONFIG_MACH_SUN50I_H6 |
Siarhei Siamashka | 26c50fb | 2016-03-29 17:29:10 +0200 | [diff] [blame] | 14 | #define GICD_BASE 0x1c81000 |
| 15 | #define GICC_BASE 0x1c82000 |
Icenowy Zheng | 2e0c0e2 | 2018-07-21 16:20:25 +0800 | [diff] [blame] | 16 | #else |
| 17 | #define GICD_BASE 0x3021000 |
| 18 | #define GICC_BASE 0x3022000 |
| 19 | #endif |
Siarhei Siamashka | 26c50fb | 2016-03-29 17:29:10 +0200 | [diff] [blame] | 20 | |
| 21 | /* |
| 22 | * Include common sunxi configuration where most the settings are |
| 23 | */ |
| 24 | #include <configs/sunxi-common.h> |
| 25 | |
| 26 | #endif /* __CONFIG_H */ |