]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - include/configs/cm_fx6.h
dm: imx: Move cm_fx6 to use driver model for serial and GPIO
[karo-tx-uboot.git] / include / configs / cm_fx6.h
index 7cf241e31d7725b826671d8f70c0b4df3ac119ef..a20c3733212ca39d2dc9509a63b703746aad5c0a 100644 (file)
 #define CONFIG_MACH_TYPE               4273
 #define CONFIG_SYS_HZ                  1000
 
+#ifndef CONFIG_SPL_BUILD
+#define CONFIG_DM
+#define CONFIG_CMD_DM
+
+#define CONFIG_DM_GPIO
+#define CONFIG_CMD_GPIO
+
+#define CONFIG_DM_SERIAL
+#define CONFIG_SYS_MALLOC_F_LEN                (1 << 10)
+#endif
+
 /* Display information on boot */
 #define CONFIG_DISPLAY_CPUINFO
 #define CONFIG_DISPLAY_BOARDINFO