[PATCHv2] fpga_load: pass compatible string

2021-10-15 Thread Jorge Ramirez-Ortiz
Instead of ignoring the mandatory fpga compatible string, let the different implementations decide how to handle it Signed-off-by: Jorge Ramirez-Ortiz Reviewed-by: Simon Glass --- RFC v1->v2: added function comment cmd/fpga.c | 8 common/image.c | 4 ++--

Re: Double free vulnerability in sqfs commands ("sqfsls" and "sqfsload")

2021-10-15 Thread Jincheng Wang
Yes, I will submit a patch to fix the bug. Regards, Jincheng Tom Rini 于2021年10月15日周五 上午1:46写道: > On Tue, Oct 12, 2021 at 04:07:43PM +0800, Jincheng Wang wrote: > > > Hello U-Boot lists! > > I had been doing a fuzz testing in U-Boot . > > There is a double free bug in U-Boot, in

Re: [PATCH 1/2] arm: imx: move spl_imx_romapi.c to imx8m/ subdirectory

2021-10-15 Thread Peng Fan (OSS)
On 2021/10/14 20:52, Rasmus Villemoes wrote: Currently, if one builds for an iMX platform != imx8m and selects CONFIG_SPL_BOOTROM_SUPPORT, the build breaks because some definitions (struct rom_api, the enum boot_dev_type_e and various QUERY_* macros) are only exposed by the sys_proto.h header

Re: [PATCH] clk: introduce u-boot,ignore-clk-defaults

2021-10-15 Thread Peng Fan (OSS)
Simon, On 2021/10/14 23:11, Simon Glass wrote: On Wed, 13 Oct 2021 at 03:00, Peng Fan (OSS) wrote: From: Peng Fan Current code has a force clk_set_defaults in multiple stages, U-Boot reuse the same device tree and Linux Kernel device tree, but we not register all the clks as Linux Kernel,

Re: [RFC PATCH 1/2] fpga_load: pass compatible string

2021-10-15 Thread Jorge Ramirez-Ortiz, Foundries
On 14/10/21, Simon Glass wrote: > Hi Jorge, > > On Tue, 5 Oct 2021 at 05:13, Jorge Ramirez-Ortiz wrote: > > > > Instead of ignoring the mandatory fpga compatible string, let the > > different implementations decide how to handle it > > > > Signed-off-by: Jorge Ramirez-Ortiz > > --- > >

[PATCH] colibri-imx6ull: fix setup of nand gpmi clock

2021-10-15 Thread Philippe Schenker
NXP used to setup the gpmi clock root from gpmi_clk in early versions in their downstream BSP. [1] However on mainline the gpmi clock root was always setup from enfc since the beginning of the i.MX 6 series SoCs, which is still the same today. [2] NXP followed the mainline approach at some point

Re: [PATCH 1/1] efi_loader: efi_dp_from_lo() should skip VenMedia node

2021-10-15 Thread Ilias Apalodimas
On Fri, Oct 15, 2021 at 03:38:15AM +0200, Heinrich Schuchardt wrote: > The 'efidebug boot dump' command should not display the VenMedia() device > path node preceding the device path of the initial ram disk. > > By letting efi_dp_from_lo() skip the VenMedia() device path node we can > simplify

Re: [PATCH 1/1] efi_loader: avoid multiple local copies of lf2_initrd_guid

2021-10-15 Thread Ilias Apalodimas
On Fri, Oct 15, 2021 at 02:36:36AM +0200, Heinrich Schuchardt wrote: > Create the GUID as a global variable. > > Signed-off-by: Heinrich Schuchardt > --- > cmd/efidebug.c | 3 +-- > include/efi_load_initrd.h| 1 + > lib/efi_loader/efi_helper.c | 5 + >

Re: [PATCH 1/1] efi_loader: efi_dp_from_lo() unused parameter size

2021-10-15 Thread Ilias Apalodimas
On Fri, Oct 15, 2021 at 02:09:33AM +0200, Heinrich Schuchardt wrote: > Parameter size is never used in function efi_dp_from_lo(). Remove it. > > Signed-off-by: Heinrich Schuchardt > --- > cmd/efidebug.c | 3 +-- > include/efi_loader.h | 1 - >

<    1   2