zynq: Enable Boot FreeBSD/vxWorks
[platform/kernel/u-boot.git] / include / configs / zynq.h
index 6019c4a..0492818 100644 (file)
 #define CONFIG_FIT_VERBOSE     1 /* enable fit_format_{error,warning}() */
 #define CONFIG_OF_LIBFDT
 
+/* Boot FreeBSD/vxWorks from an ELF image */
+#if defined(CONFIG_ZYNQ_BOOT_FREEBSD)
+# define CONFIG_API
+# define CONFIG_CMD_ELF
+# define CONFIG_SYS_MMC_MAX_DEVICE     1
+#endif
+
 /* Commands */
 #include <config_cmd_default.h>