From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Thu, 6 Aug 2020 11:55:40 +0200 Subject: [PATCH] configs: socfpga: add CONFIG_BOOTCOMMAND for cyclone5 In-Reply-To: <20200806090842.138586-1-joyce.ooi@intel.com> References: <20200806090842.138586-1-joyce.ooi@intel.com> Message-ID: <7f2cb6db-fa94-e549-13fc-0ac141aea800@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 8/6/20 11:08 AM, Ooi, Joyce wrote: > From: Joyce Ooi > > Add CONFIG_BOOTCOMMAND in cyclone5 defconfig to run fatscript and enable > FPGA bridge > > Signed-off-by: Joyce Ooi > --- > configs/socfpga_cyclone5_defconfig | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/configs/socfpga_cyclone5_defconfig b/configs/socfpga_cyclone5_defconfig > index 1633ca1deb5..132b7b7fa81 100644 > --- a/configs/socfpga_cyclone5_defconfig > +++ b/configs/socfpga_cyclone5_defconfig > @@ -8,7 +8,8 @@ CONFIG_TARGET_SOCFPGA_CYCLONE5_SOCDK=y > CONFIG_SPL_TEXT_BASE=0xFFFF0000 > CONFIG_DISTRO_DEFAULTS=y > CONFIG_FIT=y > -# CONFIG_USE_BOOTCOMMAND is not set > +CONFIG_USE_BOOTCOMMAND=y > +CONFIG_BOOTCOMMAND="run fatscript; bridge enable; run distro_bootcmd" What is 'fatscript' ? Also, this breaks on systems where the FPGA isn't loaded, as it enables bridges to nowhere.