]> git.ipfire.org Git - people/ms/u-boot.git/blame - include/configs/sun8i.h
Merge git://git.denx.de/u-boot-mmc
[people/ms/u-boot.git] / include / configs / sun8i.h
CommitLineData
8ebe4f42
CYT
1/*
2 * (C) Copyright 2014 Chen-Yu Tsai <wens@csie.org>
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
8850c5d5 16#ifdef CONFIG_USB_EHCI_HCD
0eccec4e 17#define CONFIG_USB_EHCI_SUNXI
0eccec4e
HG
18#endif
19
dc44fd8a
JW
20#ifdef CONFIG_MACH_SUN8I_H3
21 #define CONFIG_SUNXI_USB_PHYS 4
0c935acb
CYT
22#elif defined CONFIG_MACH_SUN8I_A83T
23 #define CONFIG_SUNXI_USB_PHYS 3
c199489f
IZ
24#elif defined CONFIG_MACH_SUN8I_V3S
25 #define CONFIG_SUNXI_USB_PHYS 1
dc44fd8a
JW
26#else
27 #define CONFIG_SUNXI_USB_PHYS 2
28#endif
e13afeef 29
8ebe4f42
CYT
30/*
31 * Include common sunxi configuration where most the settings are
32 */
33#include <configs/sunxi-common.h>
34
35#endif /* __CONFIG_H */