1 /* SPDX-License-Identifier: GPL-2.0+ */ 2 /* 3 * (C) Copyright 2014 Chen-Yu Tsai <wens@csie.org> 4 * 5 * Configuration settings for the Allwinner A23 (sun8i) CPU 6 */ 7 8 #ifndef __CONFIG_H 9 #define __CONFIG_H 10 11 /* 12 * A23 specific configuration 13 */ 14 15 #ifdef CONFIG_USB_EHCI_HCD 16 #define CONFIG_USB_EHCI_SUNXI 17 #endif 18 19 #ifdef CONFIG_MACH_SUN8I_H3 20 #define CONFIG_SUNXI_USB_PHYS 4 21 #elif defined CONFIG_MACH_SUN8I_A83T 22 #define CONFIG_SUNXI_USB_PHYS 3 23 #elif defined CONFIG_MACH_SUN8I_V3S 24 #define CONFIG_SUNXI_USB_PHYS 1 25 #else 26 #define CONFIG_SUNXI_USB_PHYS 2 27 #endif 28 29 /* 30 * Include common sunxi configuration where most the settings are 31 */ 32 #include <configs/sunxi-common.h> 33 34 #endif /* __CONFIG_H */ 35