summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJagannadha Sutradharudu Teki <jagannadha.sutradharudu-teki@xilinx.com>2014-01-09 01:48:03 +0530
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2014-01-10 15:18:32 +0100
commit09ed635bcc794110840c4e8661a6e272ffe779bb (patch)
tree5f8b99667c83aa98a5684a7cfb50bdf20dc3b9d9
parent773590ebaf602e7df20715f41b1d58d3c489d48c (diff)
downloadu-boot-imx-09ed635bcc794110840c4e8661a6e272ffe779bb.zip
u-boot-imx-09ed635bcc794110840c4e8661a6e272ffe779bb.tar.gz
u-boot-imx-09ed635bcc794110840c4e8661a6e272ffe779bb.tar.bz2
zynq: Enable Boot FreeBSD/vxWorks
This enabled Boot FreeBSD/vxWorks from an ELF image support Signed-off-by: Jagannadha Sutradharudu Teki <jaganna@xilinx.com>
-rw-r--r--include/configs/zynq.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/configs/zynq.h b/include/configs/zynq.h
index 6019c4a..0492818 100644
--- a/include/configs/zynq.h
+++ b/include/configs/zynq.h
@@ -130,6 +130,13 @@
#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>