[PATCH 7/7] common: board_r: drop ifdefs around header includes

2021-10-29 Thread Ovidiu Panait
Drop the remaining ifdefs around header includes, to fix an old TODO. Signed-off-by: Ovidiu Panait --- common/board_r.c | 9 - 1 file changed, 9 deletions(-) diff --git a/common/board_r.c b/common/board_r.c index 506aa446fc..18a4849420 100644 --- a/common/board_r.c +++ b/common/board_r

[PATCH 6/7] common: board_r: include asm-generic/gpio.h

2021-10-29 Thread Ovidiu Panait
Not all architectures define and even on those that do, the header cannot be included for all boards without causing various build failures. Since common/board_r.c only needs gpio_hog_probe_all() declaration, include and drop the associated ifdef. Signed-off-by: Ovidiu Panait --- common/boar

[PATCH 5/7] common: board_r: move init_addr_map() to init.h

2021-10-29 Thread Ovidiu Panait
asm/mmu.h include is currently guarded by CONFIG_ADDR_MAP ifdef because the header is only present on arm and powerpc. In order to remove the dependency on this header and the associated ifdef, move init_addr_map() declaration to init.h, since it is only called during the common init sequence. Sig

[PATCH 3/7] common: board_r: drop initr_kgdb wrapper

2021-10-29 Thread Ovidiu Panait
Add a return value to kgdb_init and use it directly in the post-relocation init sequence, rather than using a wrapper stub. Also, move the "KGDB" print message inside kgdb_init(). Signed-off-by: Ovidiu Panait --- common/board_r.c | 11 +-- common/kgdb.c| 7 +-- include/kgdb.h

[PATCH 4/7] common: board_r: drop initr_addr_map wrapper

2021-10-29 Thread Ovidiu Panait
Add a return value to init_addr_map and use it directly in the post-relocation init sequence, rather than using a wrapper stub. Signed-off-by: Ovidiu Panait --- arch/arm/include/asm/mmu.h | 2 +- arch/arm/mach-bcm283x/init.c | 4 +++- arch/powerpc/cpu/mpc85xx/tlb.c | 4 ++-- arch/power

[PATCH 1/7] common: spl: move armv7m-specific code to spl_perform_fixups()

2021-10-29 Thread Ovidiu Panait
Factor out armv7m fragment to spl_perform_fixups(), which is an arch/board specific function designed for this purpose. Signed-off-by: Ovidiu Panait --- arch/arm/cpu/armv7m/cpu.c | 6 ++ common/spl/spl.c | 3 --- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/arch/a

[PATCH 2/7] common: board_r: move bedbug_init() to common code

2021-10-29 Thread Ovidiu Panait
bedbug/types.h is included to provide bedbug_init() declaration, which is an empty stub that is only called from the common init sequence. In order to get rid of this dependency and the associated #ifdef: * move the bedbug_init() declaration from include/bedbug/type.h to include/init.h * provide

Re: [PATCH 2/2] efi_selftest: add selftest for EFI_TCG2_PROTOCOL and Measured Boot

2021-10-29 Thread Heinrich Schuchardt
Am 30. Oktober 2021 08:02:02 MESZ schrieb Ilias Apalodimas : >Hi Heinrich > >[...] > >> >>> +$(obj)/efi_selftest_tcg2.o: $(obj)/efi_miniapp_file_image_measuredboot.h >> >>> diff --git a/lib/efi_selftest/efi_selftest_miniapp_measuredboot.c >> >>> b/lib/efi_selftest/efi_selftest_miniapp_measured

Re: [PATCH 2/2] efi_selftest: add selftest for EFI_TCG2_PROTOCOL and Measured Boot

2021-10-29 Thread Ilias Apalodimas
Hi Heinrich [...] > >>> +$(obj)/efi_selftest_tcg2.o: $(obj)/efi_miniapp_file_image_measuredboot.h > >>> diff --git a/lib/efi_selftest/efi_selftest_miniapp_measuredboot.c > >>> b/lib/efi_selftest/efi_selftest_miniapp_measuredboot.c > >> > >> Thank you for going the extra mile and adding the test.

Re: [RFC 07/22] dm: blk: add UCLASS_PARTITION

2021-10-29 Thread Heinrich Schuchardt
Am 29. Oktober 2021 23:17:56 MESZ schrieb Simon Glass : >Hi, > >On Fri, 29 Oct 2021 at 13:26, Heinrich Schuchardt wrote: >> >> >> >> Am 29. Oktober 2021 08:15:56 MESZ schrieb AKASHI Takahiro >> : >> >On Fri, Oct 29, 2021 at 06:57:24AM +0200, Heinrich Schuchardt wrote: >> >> >> >> >> >> > I agr

[PATCH v4 2/2] arm: imx8m: add support for Advantech RSB-3720

2021-10-29 Thread Ying-Chun Liu
From: "Ying-Chun Liu (PaulLiu)" Add initial support for Advantech RSB-3720 board. The initial support includes: - MMC - eMMC - I2C - FEC - Serial console Signed-off-by: Darren Huang Signed-off-by: Kevin12.Chen Signed-off-by: Phill.Liu Signed-off-by: Tim Liang Signed-off-by: wei.zeng Si

Re: [RFC 07/22] dm: blk: add UCLASS_PARTITION

2021-10-29 Thread Simon Glass
Hi, On Fri, 29 Oct 2021 at 13:26, Heinrich Schuchardt wrote: > > > > Am 29. Oktober 2021 08:15:56 MESZ schrieb AKASHI Takahiro > : > >On Fri, Oct 29, 2021 at 06:57:24AM +0200, Heinrich Schuchardt wrote: > >> > >> > >> > I agree with Heinrich that we are better to leave BLK as it is, both > >> >

Re: [PATCH 0/2] arch: arm: gic-v3-its: stop abusing the device tree

2021-10-29 Thread Simon Glass
Hi Michael, On Fri, 29 Oct 2021 at 05:54, Michael Walle wrote: > > Am 2021-10-29 00:36, schrieb Simon Glass: > > On Wed, 27 Oct 2021 at 10:55, Michael Walle wrote: > >> > >> Please stop throwing every ad-hoc information in the device tree. Use > >> the > >> official bindings (or maybe some bindi

Re: [PATCH v3 0/7] arm64: dts: imx8mm: use common binman configuration and further clean-up

2021-10-29 Thread Tim Harvey
On Fri, Oct 29, 2021 at 12:56 PM Adam Ford wrote: > > On Fri, Oct 22, 2021 at 6:16 PM Marcel Ziswiler wrote: > > > > From: Marcel Ziswiler > > > > > > With the move to using binman to generate SPL aka u-boot-spl-ddr.bin and > > U-Boot proper aka u-boot.itb every board now covers such configurati

Re: [PATCH v3 0/7] arm64: dts: imx8mm: use common binman configuration and further clean-up

2021-10-29 Thread Adam Ford
On Fri, Oct 22, 2021 at 6:16 PM Marcel Ziswiler wrote: > > From: Marcel Ziswiler > > > With the move to using binman to generate SPL aka u-boot-spl-ddr.bin and > U-Boot proper aka u-boot.itb every board now covers such configuration > in its own U-Boot specific device tree include. Move the comon

Re: [RFC 07/22] dm: blk: add UCLASS_PARTITION

2021-10-29 Thread Heinrich Schuchardt
Am 29. Oktober 2021 08:15:56 MESZ schrieb AKASHI Takahiro : >On Fri, Oct 29, 2021 at 06:57:24AM +0200, Heinrich Schuchardt wrote: >> >> >> > I agree with Heinrich that we are better to leave BLK as it is, both >> > in name and meaning. I think maybe I am missing the gist of your >> > argument

Re: [PATCH V2 1/6] ARM: rmobile: Enable board detection when FIT is enabled

2021-10-29 Thread Adam Ford
On Tue, Oct 5, 2021 at 7:35 AM Adam Ford wrote: > > On Mon, Sep 20, 2021 at 11:14 AM Adam Ford wrote: > > > > There are three boards from Beacon, RZ/G2 M/N/H which all > > use the same board file, but different device trees. > > Add code to automatically select the proper device tree > > based on

Re: [PATCH] board: ti: am335x: Choose CPSW or PRUSS configuration based on jumper setting

2021-10-29 Thread Tom Rini
On Fri, Oct 29, 2021 at 04:08:17PM +0200, Amjad Ouled-Ameur wrote: > The am335x-ice-v2 board's Ethernet ports can be configured > in 'MII' or 'RMII' mode to be connected to 'PRUSS' or 'CPSW' > Ethernet subsystems. > > This patch sets the environment variable 'ice_mii' to > 'mii' or 'rmii' accordi

Re: [GIT PULL] Please pull u-boot-mmc master

2021-10-29 Thread Tom Rini
On Fri, Oct 29, 2021 at 07:52:00PM +0900, Jaehoon Chung wrote: > Hi Tom, > > Please pull u-boot-mmc master into u-boot master branch. > If there is a problem, let me know, plz. > > Best Regards, > Jaehoon Chung > > CI: https://source.denx.de/u-boot/custodians/u-boot-mmc/-/pipelines/9649 > > T

Re: [PATCH] ARM: amlogic: add JetHub D1 eth mac generation with manufacturer OUI

2021-10-29 Thread Neil Armstrong
On 29/10/2021 16:49, Vyacheslav wrote: > #include Thanks, Applied & squashed ! Neil

Re: [PATCH v2 31/41] bootstd: Add an implementation of EFI boot

2021-10-29 Thread Ilias Apalodimas
Hi Mark, On Fri, 29 Oct 2021 at 19:37, Mark Kettenis wrote: > > > From: Ilias Apalodimas > > Date: Fri, 29 Oct 2021 16:42:45 +0300 > > > > Hi Tom, > > > > On Fri, 29 Oct 2021 at 15:39, Tom Rini wrote: > > > > > > On Fri, Oct 29, 2021 at 08:45:06AM +0300, Ilias Apalodimas wrote: > > > > On Wed,

Re: [PATCH v5 02/26] doc: Add documentation about devicetree usage

2021-10-29 Thread François Ozog
Hi Simon (I keep getting messages about delivery problems so I don't know what went through or not) On Wed, 27 Oct 2021 at 21:52, Simon Glass wrote: > > Hi Ilias, > > On Wed, 27 Oct 2021 at 13:13, Ilias Apalodimas > wrote: > > > > On Wed, 27 Oct 2021 at 21:33, Simon Glass wrote: > > > > > > H

Re: [PATCH v2 31/41] bootstd: Add an implementation of EFI boot

2021-10-29 Thread Mark Kettenis
> From: Ilias Apalodimas > Date: Fri, 29 Oct 2021 16:42:45 +0300 > > Hi Tom, > > On Fri, 29 Oct 2021 at 15:39, Tom Rini wrote: > > > > On Fri, Oct 29, 2021 at 08:45:06AM +0300, Ilias Apalodimas wrote: > > > On Wed, Oct 27, 2021 at 12:34:40PM -0600, Simon Glass wrote: > > > > Hi Ilias, > > > > >

Re: [PATCH v3 1/3] mmc: rockchip_sdhci: add phy and clock config for rk3399

2021-10-29 Thread Jack Mitchell
Hi, > snip > + > +static int rk3399_emmc_get_phy(struct udevice *dev) > +{ > + struct rockchip_sdhc *priv = dev_get_priv(dev); > + ofnode phy_node; > + void *grf_base; > + u32 grf_phy_offset, phandle; > + > + phandle = dev_read_u32_default(dev, "phys", 0); > + phy_node = o

Re: Pull request: u-boot-sunxi/master for 2021.10 - 2nd part

2021-10-29 Thread Andre Przywara
On Fri, 29 Oct 2021 23:14:45 +0800 Icenowy Zheng wrote: > 在 2021-10-29星期五的 10:41 -0400,Tom Rini写道: > > On Fri, Oct 29, 2021 at 10:20:32PM +0800, Icenowy Zheng wrote: > > > 在 2021-10-29星期五的 11:53 +0100,Andre Przywara写道: > > > > On Mon, 25 Oct 2021 14:29:10 -0400 > > > > Tom Rini wrote: > > >

Re: [PATCH v7] arm: add initial support for the Phytium Pomelo Board

2021-10-29 Thread Tom Rini
On Mon, Sep 13, 2021 at 01:59:11PM +0800, nicholas_zh...@outlook.com wrote: > From: weichangzheng > > This adds platform code and the device tree for the Phytium Pomelo Board. > The initial support comprises the UART and the PCIE. > > Signed-off-by: weichangzheng > Changes since v1: >

Re: Pull request: u-boot-sunxi/master for 2021.10 - 2nd part

2021-10-29 Thread Tom Rini
On Fri, Oct 29, 2021 at 11:14:45PM +0800, Icenowy Zheng wrote: > 在 2021-10-29星期五的 10:41 -0400,Tom Rini写道: > > On Fri, Oct 29, 2021 at 10:20:32PM +0800, Icenowy Zheng wrote: > > > 在 2021-10-29星期五的 11:53 +0100,Andre Przywara写道: > > > > On Mon, 25 Oct 2021 14:29:10 -0400 > > > > Tom Rini wrote: > > >

Re: Pull request: u-boot-sunxi/master for 2021.10 - 2nd part

2021-10-29 Thread Icenowy Zheng
在 2021-10-29星期五的 10:41 -0400,Tom Rini写道: > On Fri, Oct 29, 2021 at 10:20:32PM +0800, Icenowy Zheng wrote: > > 在 2021-10-29星期五的 11:53 +0100,Andre Przywara写道: > > > On Mon, 25 Oct 2021 14:29:10 -0400 > > > Tom Rini wrote: > > > > > > Hi Tom, > > > > > > > On Mon, Oct 25, 2021 at 03:06:58PM +0100,

[PATCH v3] cmd: usb_mass_storage: Use part_get_info_by_dev_and_name_or_num

2021-10-29 Thread Sean Anderson
This allows specifying partitions using more extended syntax. This is particularly useful to access eMMC hardware partitions. For example, this allows something like ums 0 mmc 0.0,0.1,0.2,0.3 to expose four LUNs for each of the four default eMMC hardware partitions. Note that the comma sy

Re: Pull request: u-boot-sunxi/master for 2021.10 - 2nd part

2021-10-29 Thread Tom Rini
On Fri, Oct 29, 2021 at 10:41:01AM -0400, Tom Rini wrote: > On Fri, Oct 29, 2021 at 10:20:32PM +0800, Icenowy Zheng wrote: > > 在 2021-10-29星期五的 11:53 +0100,Andre Przywara写道: > > > On Mon, 25 Oct 2021 14:29:10 -0400 > > > Tom Rini wrote: > > > > > > Hi Tom, > > > > > > > On Mon, Oct 25, 2021 at 0

Re: [PATCH] ARM: amlogic: add JetHub D1 eth mac generation with manufacturer OUI

2021-10-29 Thread Vyacheslav
Fix build warning in misc_init_r jethub-j100.c Signed-off-by: Vyacheslav Bocharov --- board/amlogic/jethub-j100/jethub-j100.c | 1 + 1 file changed, 1 insertion(+) diff --git a/board/amlogic/jethub-j100/jethub-j100.c b/board/amlogic/jethub-j100/jethub-j100.c index 575bb31573..6a2c4ad4c3 100

Re: Pull request: u-boot-sunxi/master for 2021.10 - 2nd part

2021-10-29 Thread Tom Rini
On Fri, Oct 29, 2021 at 10:20:32PM +0800, Icenowy Zheng wrote: > 在 2021-10-29星期五的 11:53 +0100,Andre Przywara写道: > > On Mon, 25 Oct 2021 14:29:10 -0400 > > Tom Rini wrote: > > > > Hi Tom, > > > > > On Mon, Oct 25, 2021 at 03:06:58PM +0100, Andre Przywara wrote: > > > > > > > Hi Tom, > > > > > >

Re: [PATCH v2 31/41] bootstd: Add an implementation of EFI boot

2021-10-29 Thread Ilias Apalodimas
On Fri, 29 Oct 2021 at 17:03, AKASHI Takahiro wrote: > > On Fri, Oct 29, 2021 at 04:42:45PM +0300, Ilias Apalodimas wrote: > > Hi Tom, > > > > On Fri, 29 Oct 2021 at 15:39, Tom Rini wrote: > > > > > > On Fri, Oct 29, 2021 at 08:45:06AM +0300, Ilias Apalodimas wrote: > > > > On Wed, Oct 27, 2021 a

Re: Pull request: u-boot-sunxi/master for 2021.10 - 2nd part

2021-10-29 Thread Icenowy Zheng
在 2021-10-29星期五的 11:53 +0100,Andre Przywara写道: > On Mon, 25 Oct 2021 14:29:10 -0400 > Tom Rini wrote: > > Hi Tom, > > > On Mon, Oct 25, 2021 at 03:06:58PM +0100, Andre Przywara wrote: > > > > > Hi Tom, > > > > > > please pull the second sunxi PR for the 2021.10 merge window. > > > I decided to

[PATCH] board: ti: am335x: Choose CPSW or PRUSS configuration based on jumper setting

2021-10-29 Thread Amjad Ouled-Ameur
The am335x-ice-v2 board's Ethernet ports can be configured in 'MII' or 'RMII' mode to be connected to 'PRUSS' or 'CPSW' Ethernet subsystems. This patch sets the environment variable 'ice_mii' to 'mii' or 'rmii' accordingly. Based on that we choose the appropriate board devicetree i.e. 'am335x-ice-

Re: [PATCH v2 31/41] bootstd: Add an implementation of EFI boot

2021-10-29 Thread AKASHI Takahiro
On Fri, Oct 29, 2021 at 04:42:45PM +0300, Ilias Apalodimas wrote: > Hi Tom, > > On Fri, 29 Oct 2021 at 15:39, Tom Rini wrote: > > > > On Fri, Oct 29, 2021 at 08:45:06AM +0300, Ilias Apalodimas wrote: > > > On Wed, Oct 27, 2021 at 12:34:40PM -0600, Simon Glass wrote: > > > > Hi Ilias, > > > > > >

Re: [PATCH] ARM: amlogic: add JetHub D1 eth mac generation with manufacturer OUI

2021-10-29 Thread Neil Armstrong
Hi, Ci fails with : +board/amlogic/jethub-j100/jethub-j100.c: In function 'misc_init_r': 1516+board/amlogic/jethub-j100/jethub-j100.c:24:23: error: implicit declaration of function 'crc32' [-Werror=implicit-function-declaration] 1517+ 24 | sid = crc32(0, (unsigned char *)serial

Re: [PATCH v2 31/41] bootstd: Add an implementation of EFI boot

2021-10-29 Thread Ilias Apalodimas
Hi Tom, On Fri, 29 Oct 2021 at 15:39, Tom Rini wrote: > > On Fri, Oct 29, 2021 at 08:45:06AM +0300, Ilias Apalodimas wrote: > > On Wed, Oct 27, 2021 at 12:34:40PM -0600, Simon Glass wrote: > > > Hi Ilias, > > > > > > On Wed, 27 Oct 2021 at 08:48, Ilias Apalodimas > > > wrote: > > > > > > > > Hi

Re: [PATCH v2 31/41] bootstd: Add an implementation of EFI boot

2021-10-29 Thread Tom Rini
On Fri, Oct 29, 2021 at 08:45:06AM +0300, Ilias Apalodimas wrote: > On Wed, Oct 27, 2021 at 12:34:40PM -0600, Simon Glass wrote: > > Hi Ilias, > > > > On Wed, 27 Oct 2021 at 08:48, Ilias Apalodimas > > wrote: > > > > > > Hi Simon, > > > > > > On Wed, Oct 27, 2021 at 08:09:04AM -0600, Simon Glass

Re: [PATCH] ARM: amlogic: add JetHub D1 eth mac generation with manufacturer OUI

2021-10-29 Thread Vyacheslav
Thanks. 29.10.2021 15:08, Neil Armstrong пишет: On 29/10/2021 09:08, Vyacheslav Bocharov wrote: JetHome has own MAC OUI. Add jethub-j100 board file. Update config. Signed-off-by: Vyacheslav Bocharov --- board/amlogic/jethub-j100/MAINTAINERS | 8 + board/amlogic/jethub-j100/Makefile

[PATCH] arm: mvebu: Fix booting from SATA

2021-10-29 Thread Pali Rohár
Use proper SATA macro for boot_device switch in spl_boot_device() function. Signed-off-by: Pali Rohár Fixes: 2226ca173486 ("arm: mvebu: Load U-Boot proper binary in SPL code based on kwbimage header") --- arch/arm/mach-mvebu/spl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff

Re: [PATCH] ARM: amlogic: add JetHub D1 eth mac generation with manufacturer OUI

2021-10-29 Thread Neil Armstrong
On 29/10/2021 09:08, Vyacheslav Bocharov wrote: > JetHome has own MAC OUI. Add jethub-j100 board file. Update config. > > Signed-off-by: Vyacheslav Bocharov > --- > board/amlogic/jethub-j100/MAINTAINERS | 8 + > board/amlogic/jethub-j100/Makefile | 6 > board/amlogic/jethub-j10

Re: [PATCH 2/2] Revert "arch: arm: use dt and UCLASS_SYSCON to get gic lpi details"

2021-10-29 Thread Marc Zyngier
Michael, On Fri, 29 Oct 2021 12:49:21 +0100, Michael Walle wrote: > > Hi, > > thanks for the review, as Tom already mentioned this is just > a revert. I'm still unsure wether I should care or not. Actually, > NXP or Broadcom should. OTOH it would be nice if the kontron_sl28 > can do kexec also

Re: [PATCH 0/2] arch: arm: gic-v3-its: stop abusing the device tree

2021-10-29 Thread Michael Walle
Am 2021-10-29 00:36, schrieb Simon Glass: On Wed, 27 Oct 2021 at 10:55, Michael Walle wrote: Please stop throwing every ad-hoc information in the device tree. Use the official bindings (or maybe some bindings which will get approved soon). Can I suggest that your commit subject be a little

Re: [PATCH 2/2] Revert "arch: arm: use dt and UCLASS_SYSCON to get gic lpi details"

2021-10-29 Thread Michael Walle
Hi, thanks for the review, as Tom already mentioned this is just a revert. I'm still unsure wether I should care or not. Actually, NXP or Broadcom should. OTOH it would be nice if the kontron_sl28 can do kexec also with booti (and not just bootefi). Anyway, I still have some remarks. Am 2021-10-

[PATCH] net: gem: Reduce timeout of mdio phy idle status check

2021-10-29 Thread Michal Simek
From: Ashok Reddy Soma Timeout for checking mdio phy idle status is 20seconds. In case of errors this timeout will be too much. Reduce it to 100ms. Signed-off-by: Ashok Reddy Soma Signed-off-by: Michal Simek --- drivers/net/zynq_gem.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(

[PATCH] net: uclass: Save ethernet MAC address when generated

2021-10-29 Thread Michal Simek
When MAC address is randomly generated it should be also saved to variables. This step is there when MAC address is passed via pdata but not when it is randomly generated. Signed-off-by: Michal Simek --- net/eth-uclass.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/net/eth-uclass.c b/n

[PATCH 2/2] clk: zynqmp: Fix gem tx/rx/ref clock handling

2021-10-29 Thread Michal Simek
gemX_ref clock IDs starts at number 104. Till now it was at gemX_tx location which wasn't correct. Signed-off-by: Michal Simek --- drivers/clk/clk_zynqmp.c | 23 ++- 1 file changed, 18 insertions(+), 5 deletions(-) diff --git a/drivers/clk/clk_zynqmp.c b/drivers/clk/clk_zyn

[PATCH 1/2] clk: zynqmp: Add support for setting up clock for USB

2021-10-29 Thread Michal Simek
USB range is not enabled but for setting up frequency it is needed. Signed-off-by: Michal Simek --- drivers/clk/clk_zynqmp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/clk_zynqmp.c b/drivers/clk/clk_zynqmp.c index 52fecec7a7a9..ca36df664069 100644 --- a/drivers/clk/clk_zynq

[PATCH] zynqmp: gpio: Add support for zynqmp gpio modepin driver

2021-10-29 Thread Michal Simek
From: T Karthik Reddy ZynqMP modepin driver has capability to get/set/check status of modepin gpios. These modepins are accessed using xilinx firmware. In modepin register, [3:0] bits set direction, [7:4] bits read IO, [11:8] bits set/clear IO. Signed-off-by: T Karthik Reddy Signed-off-by: Mich

Re: [PATCH] arm64: zynqmp: Replace comma by semicolon

2021-10-29 Thread Michal Simek
On 10/21/21 08:58, Michal Simek wrote: Fix issue reported by checkpatch.pl WARNING: Possible comma where semicolon could be used #499: FILE: board/xilinx/zynqmp/zynqmp.c:499: + size = ALIGN(CONFIG_SYS_MALLOC_LEN + total_size, MMU_SECTION_SIZE), + reg = lmb_alloc(&lmb, size, MMU_

Re: [PATCH v2] xilinx: zynqmp: Save multiboot as variable

2021-10-29 Thread Michal Simek
On 10/25/21 10:10, Michal Simek wrote: Save multiboot register as u-boot variable. And use it as primary source for composing dfu_alt_info for capsule update. If variable is not defined Signed-off-by: Michal Simek --- Changes in v2: - Handle also error values from mult_boot() - Reported by

Re: Pull request: u-boot-sunxi/master for 2021.10 - 2nd part

2021-10-29 Thread Andre Przywara
On Mon, 25 Oct 2021 14:29:10 -0400 Tom Rini wrote: Hi Tom, > On Mon, Oct 25, 2021 at 03:06:58PM +0100, Andre Przywara wrote: > > > Hi Tom, > > > > please pull the second sunxi PR for the 2021.10 merge window. > > I decided to merge most of Samuel's rework and some smaller patches that > > pave

[GIT PULL] Please pull u-boot-mmc master

2021-10-29 Thread Jaehoon Chung
Hi Tom, Please pull u-boot-mmc master into u-boot master branch. If there is a problem, let me know, plz. Best Regards, Jaehoon Chung CI: https://source.denx.de/u-boot/custodians/u-boot-mmc/-/pipelines/9649 The following changes since commit aafc378a6caef453a40f2f9f3d6bef69e592c28d: Merge h

Re: [PATCH v5 02/26] doc: Add documentation about devicetree usage

2021-10-29 Thread Ilias Apalodimas
Hi Simon, [...] > > > > > > Why me? Perhaps Linaro could take this on instead of working in a > > > separate tool and domain? You guys could really pull things together > > > and reduce the fragmentation, if you took it on. > > > > > > Honestly it is hard enough to even get Linaro people to write

how is dts/dt.dtb is generated?

2021-10-29 Thread Chan Kim
Hello, I found when I do make ARCH=arm CROSS_COMPILE=arm-none-eabi- vexpress_ca9x4_defconfig make ARCH=arm CROSS_COMPILE=arm-none-eabi- -j24 , the file dts/dt.dtb.S is executed (looks like linker script) and dts/dt.dtb file is placed in the u-boot.bin binary. Can anyone tell me how this dts/dt

Re: [PATCH] efi_loader: add EFI_TCG2_PROTOCOL.SubmitCommand

2021-10-29 Thread Masahisa Kojima
On Fri, 29 Oct 2021 at 15:26, Ilias Apalodimas wrote: > > > On Fri, Oct 22, 2021 at 08:20:55PM +0900, Masahisa Kojima wrote: > > This commit adds the EFI_TCG2_PROTOCOL.SubmitCommand > > required in the TCG PC Client PFP spec. > > SubmitCommand enables to send the raw command to the TPM device. > >

Re: [PATCH 2/5] env: Fix env_get() when returning empty string using env_get_f()

2021-10-29 Thread Pali Rohár
On Thursday 28 October 2021 21:17:38 Simon Glass wrote: > Hi Marek, > > On Wed, 27 Oct 2021 at 21:28, Marek Behún wrote: > > > > From: Marek Behún > > > > The env_get_f() function returns -1 on failure. Returning 0 means that > > the variable exists, and is empty string. > > > > Signed-off-by: M

Re: [PATCH 4/5] env: Add support for board specific special default environment

2021-10-29 Thread Marek Behún
On Thu, 28 Oct 2021 21:17:41 -0600 Simon Glass wrote: > Hi Marek, > > On Wed, 27 Oct 2021 at 21:28, Marek Behún wrote: > > > > From: Marek Behún > > > > The default_environment[] buffer is built at compile time, but sometimes > > it makes sense for some default environment variables to be dete

Re: [PATCH 2/5] env: Fix env_get() when returning empty string using env_get_f()

2021-10-29 Thread Marek Behún
On Thu, 28 Oct 2021 21:17:38 -0600 Simon Glass wrote: > Hi Marek, > > On Wed, 27 Oct 2021 at 21:28, Marek Behún wrote: > > > > From: Marek Behún > > > > The env_get_f() function returns -1 on failure. Returning 0 means that > > the variable exists, and is empty string. > > > > Signed-off-by: M

Re: [PATCH v2] cmd: usb_mass_storage: Use part_get_info_by_dev_and_name_or_num

2021-10-29 Thread Marek Vasut
On 10/28/21 9:43 PM, Sean Anderson wrote: Hi Marek, On 7/22/21 2:24 PM, Sean Anderson wrote: On 7/8/21 2:02 PM, Sean Anderson wrote: On 7/8/21 2:00 PM, Marek Vasut wrote: On 7/8/21 7:36 PM, Sean Anderson wrote: This allows specifying partitions using more extended syntax. This is particu

[PATCH 1/1] imx8mm-cl-iot-gate-optee: remove _SUPPORT from CONFIG_SPL_{MMC, SERIAL}

2021-10-29 Thread Ying-Chun Liu
From: "Ying-Chun Liu (PaulLiu)" CONFIG_SPL_MMC_SUPPORT and CONFIG_SPL_SERIAL_SUPPORT is not there anymore. We need to use CONFIG_SPL_MMC and CONFIG_SPL_SERIAL. Signed-off-by: Ying-Chun Liu (PaulLiu) Cc: uboot-imx --- configs/imx8mm-cl-iot-gate-optee_defconfig | 4 ++-- 1 file changed, 2 inser

[PATCH 0/1] imx8mm-cl-iot-gate-optee: remove _SUPPORT from CONFIG_SPL_{MMC, SERIAL}

2021-10-29 Thread Ying-Chun Liu
From: "Ying-Chun Liu (PaulLiu)" CONFIG_SPL_MMC_SUPPORT and CONFIG_SPL_SERIAL_SUPPORT is not there anymore. We need to use CONFIG_SPL_MMC and CONFIG_SPL_SERIAL. Just found that master branch doesn't boot on Compulab's iot-gate-imx8. This is a fix. Ying-Chun Liu (PaulLiu) (1): imx8mm-cl-iot-gat

[PATCH] ARM: amlogic: add JetHub D1 eth mac generation with manufacturer OUI

2021-10-29 Thread Vyacheslav Bocharov
JetHome has own MAC OUI. Add jethub-j100 board file. Update config. Signed-off-by: Vyacheslav Bocharov --- board/amlogic/jethub-j100/MAINTAINERS | 8 + board/amlogic/jethub-j100/Makefile | 6 board/amlogic/jethub-j100/jethub-j100.c | 41 + board/amlogic/