Compilation Error When Trying to include TPM Header Files

2021-11-06 Thread Harshvardhan Patel
Hi All, I am trying to make use of a couple of TPM V2 APIs in the FIT Image Signature verification flow. For the same, I have tried including the TPM header files in the following manner: I'm working with the Master Branch. diff --git a/common/image-fit-sig.c b/common/image-fit-sig.c index

Re: kwboot: Testing latest kwboot with Kirkwood SoC boards

2021-11-06 Thread Tony Dinh
Hi Pali, On Sat, Nov 6, 2021 at 3:57 AM Pali Rohár wrote: > > Hello! > > On Friday 05 November 2021 20:50:18 Tony Dinh wrote: > > Hi Pali, > > > > On Fri, Nov 5, 2021 at 5:10 PM Pali Rohár wrote: > > > > > > On Friday 05 November 2021 16:36:47 Tony Dinh wrote: > > > > Hi Pali, > > > > > > > >

[PATCH] spi: mxc_spi: remove redundant code in spi_xchg_single()

2021-11-06 Thread li . haolin
From: Haolin Li The value of cnt is overwritten without being used. Signed-off-by: Haolin Li --- drivers/spi/mxc_spi.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/spi/mxc_spi.c b/drivers/spi/mxc_spi.c index 3c53de165d..5adfdf8b5f 100644 --- a/drivers/spi/mxc_spi.c +++

[PATCH] drivers: core: lists: fix for loop index type

2021-11-06 Thread fpga-garage
From: Alexander Preißner * fixes the bug in function bind_drivers_pass that for CONFIG_CC_OPTIMIZE_FOR_SIZE=n and no entries in the driver_info list, i.e. n_ents == 0, the processor steps into the first loop iteration despite the loop condition being false. * the Xilinx Zynq-7000 device would

Re: [PATCH v3 0/6] Improved sysreset/watchdog uclass integration

2021-11-06 Thread Tom Rini
On Sat, Nov 06, 2021 at 04:55:44AM +0100, Heinrich Schuchardt wrote: > > > On 11/6/21 02:52, Andre Przywara wrote: > > On Fri, 5 Nov 2021 18:56:34 -0400 > > Tom Rini wrote: > > > > > On Fri, Nov 05, 2021 at 09:38:50PM +0100, Heinrich Schuchardt wrote: > > > > On 11/5/21 20:17, Tom Rini wrote:

Re: [PATCH v3 0/6] Improved sysreset/watchdog uclass integration

2021-11-06 Thread Tom Rini
On Sat, Nov 06, 2021 at 01:52:30AM +, Andre Przywara wrote: > On Fri, 5 Nov 2021 18:56:34 -0400 > Tom Rini wrote: > > > On Fri, Nov 05, 2021 at 09:38:50PM +0100, Heinrich Schuchardt wrote: > > > On 11/5/21 20:17, Tom Rini wrote: > > > > On Fri, Nov 05, 2021 at 07:37:02PM +0100, Heinrich

[PATCH] pci: pci_mvebu: Use global MBUS_PCI_MEM_SIZE macro

2021-11-06 Thread Pali Rohár
Header file mach/cpu.h already defines MBUS_PCI_MEM_SIZE macro which defines size of MBUS_PCI_MEM_BASE window. So use global MBUS_PCI_MEM_SIZE macro instead of locally defined PCIE_MEM_SIZE macro. Both macros have same definition. Signed-off-by: Pali Rohár --- drivers/pci/pci_mvebu.c | 11

Re: kwboot: Testing latest kwboot with Kirkwood SoC boards

2021-11-06 Thread Pali Rohár
Hello! On Friday 05 November 2021 20:50:18 Tony Dinh wrote: > Hi Pali, > > On Fri, Nov 5, 2021 at 5:10 PM Pali Rohár wrote: > > > > On Friday 05 November 2021 16:36:47 Tony Dinh wrote: > > > Hi Pali, > > > > > > On Fri, Nov 5, 2021 at 3:15 PM Pali Rohár wrote: > > > > > > > > On Friday 05

Re: [PATCH v1 2/2] image: Explicitly declare do_bdinfo()

2021-11-06 Thread Andy Shevchenko
On Saturday, November 6, 2021, Simon Glass wrote: > Hi Andy, > > On Fri, 5 Nov 2021 at 14:10, Andy Shevchenko > wrote: > > > > Compiler is not happy: > > > > common/image-board.c: In function ‘boot_get_kbd’: > > common/image-board.c:902:17: warning: implicit declaration of function >