]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - include/configs/sun5i.h
colibri_vf: Enable GPIO support
[karo-tx-uboot.git] / include / configs / sun5i.h
index c6138b7cd4f392cf4ef318a2aa1cb4e6d54236b7..8e13df58bd54cabe4310585e6bb3d81e6d995271 100644 (file)
 /*
  * High Level Configuration Options
  */
-#define CONFIG_SUN5I           /* sun5i SoC generation */
-#define CONFIG_CLK_FULL_SPEED          1008000000
 
-#define CONFIG_SYS_PROMPT              "sun5i# "
+#ifdef CONFIG_USB_EHCI
+#define CONFIG_USB_EHCI_SUNXI
+#define CONFIG_USB_MAX_CONTROLLER_COUNT        1
+#endif
+
+#define CONFIG_SUNXI_USB_PHYS  2
+
+/* \todo A13 only defines port 19, whereas A10s requires each of these */
+#define CONFIG_NAND_SUNXI_GPC_PORTS    {16, 17, 18, 19}
 
 /*
  * Include common sunxi configuration where most the settings are
  */
 #include <configs/sunxi-common.h>
 
+#define CONFIG_MACH_TYPE       (4138 | ((CONFIG_MACH_TYPE_COMPAT_REV) << 28))
+
 #endif /* __CONFIG_H */