]> git.sur5r.net Git - u-boot/blobdiff - include/configs/sun4i.h
efi_loader: avoid initializer element is not constant
[u-boot] / include / configs / sun4i.h
index 6560b65b38a45938947ac72e31ad315357c30cd3..63c84b1ceb6a94ff8e2b3efc02e5c21a4ad35a49 100644 (file)
@@ -1,9 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
 /*
  * (C) Copyright 2012-2013 Henrik Nordstrom <henrik@henriknordstrom.net>
  *
  * Configuration settings for the Allwinner A10 (sun4i) CPU
- *
- * SPDX-License-Identifier:    GPL-2.0+
  */
 #ifndef __CONFIG_H
 #define __CONFIG_H
 /*
  * A10 specific configuration
  */
-#define CONFIG_SUN4I           /* sun4i SoC generation */
 
-#define CONFIG_SYS_PROMPT              "sun4i# "
+#ifdef CONFIG_USB_EHCI_HCD
+#define CONFIG_USB_EHCI_SUNXI
+#endif
+
+#define CONFIG_SUNXI_USB_PHYS  3
 
 /*
  * Include common sunxi configuration where most the settings are
  */
 #include <configs/sunxi-common.h>
 
+#define CONFIG_MACH_TYPE       (4104 | ((CONFIG_MACH_TYPE_COMPAT_REV) << 28))
+
 #endif /* __CONFIG_H */