]> 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 09f7533575c83518c43c040ecf944a787aab4fba..8e13df58bd54cabe4310585e6bb3d81e6d995271 100644 (file)
 /*
  * High Level Configuration Options
  */
-#define CONFIG_CLK_FULL_SPEED          1008000000
-
-#define CONFIG_SYS_PROMPT              "sun5i# "
-#define CONFIG_MACH_TYPE               4138
 
 #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 */