[U-Boot] [PATCH 3/3] arm: socfpga: Enable FPGA bridge in gen5 U-boot
Marek Vasut
marex at denx.de
Thu Jul 27 08:24:53 UTC 2017
On 07/27/2017 06:36 AM, tien.fong.chee at intel.com wrote:
> From: Tien Fong Chee <tien.fong.chee at intel.com>
>
> Enable FPGA bridge in gen5 U-boot instead of gen5 SPL because FPGA feature is not
> required in SPL. Remove FPGA feature in SPL can help to save some space.
>
> Signed-off-by: Tien Fong Chee <tien.fong.chee at intel.com>
> ---
> include/configs/socfpga_common.h | 4 ++++
> 1 files changed, 4 insertions(+), 0 deletions(-)
>
> diff --git a/include/configs/socfpga_common.h b/include/configs/socfpga_common.h
> index 9be9e79..f5b3277 100644
> --- a/include/configs/socfpga_common.h
> +++ b/include/configs/socfpga_common.h
> @@ -70,6 +70,10 @@
> #define CONFIG_CMD_PXE
> #define CONFIG_MENU
>
> +#if defined(CONFIG_TARGET_SOCFPGA_GEN5)
> +#define CONFIG_PREBOOT "bridge enable; echo bridge enable"
> +#endif
If someone needs to define their own preboot env, this will break.
If the FPGA is not programmed, this will also break.
> /*
> * Cache
> */
>
--
Best regards,
Marek Vasut
More information about the U-Boot
mailing list