From: Jagannadha Sutradharudu Teki Date: Tue, 20 Aug 2013 10:06:30 +0000 (+0530) Subject: zynq_common: Enable Boot FreeBSD/vxWorks from an ELF image support X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=fd0a08e42c39edef1488d94a5337fa8e42f41c50;p=thirdparty%2Fu-boot.git zynq_common: Enable Boot FreeBSD/vxWorks from an ELF image support Enabled support on zc70x and zed boards. Signed-off-by: Jagannadha Sutradharudu Teki Signed-off-by: Michal Simek --- diff --git a/include/configs/zynq_common.h b/include/configs/zynq_common.h index cbcea6d33d9..762aacae496 100644 --- a/include/configs/zynq_common.h +++ b/include/configs/zynq_common.h @@ -318,6 +318,13 @@ #define CONFIG_FIT 1 #define CONFIG_FIT_VERBOSE 1 /* enable fit_format_{error,warning}() */ +/* 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 + #define CONFIG_CMD_BOOTZ #undef CONFIG_BOOTM_NETBSD diff --git a/include/configs/zynq_zc70x.h b/include/configs/zynq_zc70x.h index 2c492760ba8..c98e7025201 100644 --- a/include/configs/zynq_zc70x.h +++ b/include/configs/zynq_zc70x.h @@ -30,6 +30,7 @@ #define CONFIG_ZYNQ_QSPI #define CONFIG_ZYNQ_I2C0 #define CONFIG_ZYNQ_EEPROM +#define CONFIG_ZYNQ_BOOT_FREEBSD #include diff --git a/include/configs/zynq_zed.h b/include/configs/zynq_zed.h index c0b7922c2d8..e4ba3f08459 100644 --- a/include/configs/zynq_zed.h +++ b/include/configs/zynq_zed.h @@ -28,6 +28,7 @@ #define CONFIG_ZYNQ_SDHCI0 #define CONFIG_ZYNQ_QSPI +#define CONFIG_ZYNQ_BOOT_FREEBSD #include