diff options
author | Tom Rini <trini@konsulko.com> | 2015-05-30 20:15:59 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2015-05-30 20:15:59 -0400 |
commit | b1f7ecc9b5f0ce07691f6804f436fcaa2a377b26 (patch) | |
tree | 0aea9d637deb6dd706e717a000148263fe89babc /include/configs/sun8i.h | |
parent | cac6d4bfdc2543fb30bb04e42be42aeaf52ea348 (diff) | |
parent | 014414f53695ab3ba5a9d344ad1ba8952bce157c (diff) | |
download | u-boot-imx-b1f7ecc9b5f0ce07691f6804f436fcaa2a377b26.zip u-boot-imx-b1f7ecc9b5f0ce07691f6804f436fcaa2a377b26.tar.gz u-boot-imx-b1f7ecc9b5f0ce07691f6804f436fcaa2a377b26.tar.bz2 |
Merge branch 'master' of http://git.denx.de/u-boot-sunxi
Diffstat (limited to 'include/configs/sun8i.h')
-rw-r--r-- | include/configs/sun8i.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/configs/sun8i.h b/include/configs/sun8i.h index 7111c63..fe8c511 100644 --- a/include/configs/sun8i.h +++ b/include/configs/sun8i.h @@ -20,6 +20,18 @@ #define CONFIG_SUNXI_USB_PHYS 2 +#define CONFIG_ARMV7_PSCI 1 +#if defined(CONFIG_MACH_SUN8I_A23) +#define CONFIG_ARMV7_PSCI_NR_CPUS 2 +#define CONFIG_NAND_SUNXI_GPC_PORTS {16, 17, 18} +#elif defined(CONFIG_MACH_SUN8I_A33) +#define CONFIG_ARMV7_PSCI_NR_CPUS 4 +#define CONFIG_NAND_SUNXI_GPC_PORTS {16} +#else +#error Unsupported sun8i variant +#endif +#define CONFIG_TIMER_CLK_FREQ 24000000 + /* * Include common sunxi configuration where most the settings are */ |