]> Git Repo - J-u-boot.git/blame - include/configs/sun8i.h
dm: cpu: Add a new get_count method to cpu uclass
[J-u-boot.git] / include / configs / sun8i.h
CommitLineData
8ebe4f42
CYT
1/*
2 * (C) Copyright 2014 Chen-Yu Tsai <[email protected]>
3 *
4 * Configuration settings for the Allwinner A23 (sun8i) CPU
5 *
6 * SPDX-License-Identifier: GPL-2.0+
7 */
8
9#ifndef __CONFIG_H
10#define __CONFIG_H
11
12/*
13 * A23 specific configuration
14 */
08fd1479 15
0eccec4e
HG
16#ifdef CONFIG_USB_EHCI
17#define CONFIG_USB_EHCI_SUNXI
18#define CONFIG_USB_MAX_CONTROLLER_COUNT 1
19#endif
20
e13afeef
HG
21#define CONFIG_SUNXI_USB_PHYS 2
22
014414f5 23#define CONFIG_ARMV7_PSCI 1
f76eba38 24#if defined(CONFIG_MACH_SUN8I_A23)
014414f5 25#define CONFIG_ARMV7_PSCI_NR_CPUS 2
f76eba38 26#elif defined(CONFIG_MACH_SUN8I_A33)
014414f5 27#define CONFIG_ARMV7_PSCI_NR_CPUS 4
014414f5
CYT
28#else
29#error Unsupported sun8i variant
f76eba38 30#endif
014414f5 31#define CONFIG_TIMER_CLK_FREQ 24000000
f76eba38 32
8ebe4f42
CYT
33/*
34 * Include common sunxi configuration where most the settings are
35 */
36#include <configs/sunxi-common.h>
37
38#endif /* __CONFIG_H */
This page took 0.154038 seconds and 4 git commands to generate.