sun8i.h 610 B

123456789101112131415161718192021222324252627282930313233
  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. #ifndef __CONFIG_H
  9. #define __CONFIG_H
  10. /*
  11. * A23 specific configuration
  12. */
  13. #ifdef CONFIG_USB_EHCI
  14. #define CONFIG_USB_EHCI_SUNXI
  15. #endif
  16. #ifdef CONFIG_MACH_SUN8I_H3
  17. #define CONFIG_SUNXI_USB_PHYS 4
  18. #elif defined CONFIG_MACH_SUN8I_A83T
  19. #define CONFIG_SUNXI_USB_PHYS 3
  20. #else
  21. #define CONFIG_SUNXI_USB_PHYS 2
  22. #endif
  23. /*
  24. * Include common sunxi configuration where most the settings are
  25. */
  26. #include <configs/sunxi-common.h>
  27. #endif /* __CONFIG_H */