On 07/27/2017 06:36 AM, tien.fong.c...@intel.com wrote: > From: Tien Fong Chee <tien.fong.c...@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.c...@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 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot