[PATCH v14 10/10] test: unit test for eficonfig

2022-08-25 Thread Masahisa Kojima
Provide a unit test for the eficonfig command. Signed-off-by: Masahisa Kojima Acked-by: Ilias Apalodimas --- Changes in v14: - update to support media device enumeration in eficonfig startup - move no block device test to the last test case Changes in v12: - update menu handling Changes in v11

[PATCH v14 09/10] doc:eficonfig: add documentation for eficonfig command

2022-08-25 Thread Masahisa Kojima
Add documentation for eficonfig command. Signed-off-by: Masahisa Kojima Reviewed-by: Ilias Apalodimas --- Changes in v14: - fix typos Changes in v13: - describe how to auto boot according to the UEFI Boot option Changes in v12: - CONFIG_BOOTMENU_DISABLE_UBOOT_CONSOLE condition is added to sh

[PATCH v14 08/10] doc:bootmenu: add description for UEFI boot support

2022-08-25 Thread Masahisa Kojima
The bootmenu enumerates the UEFI boot options for boot device selection. This commit adds the description how the UEFI boot work in bootmenu. This commit also adds "Synopsis", "Description" and "Configuration" sections to follow the U-Boot command documentation format. Signed-off-by: Masahisa Koji

[PATCH v14 07/10] eficonfig: add "Change Boot Order" menu entry

2022-08-25 Thread Masahisa Kojima
This commit adds the menu entry to update UEFI BootOrder variable. User moves the entry with UP/DOWN key, changes the order with PLUS/MINUS key, press SPACE to activate or deactivate the entry, then finalizes the order by ENTER key. If the entry is activated, the boot index is added into the BootOr

[PATCH v14 05/10] bootmenu: add removable media entries

2022-08-25 Thread Masahisa Kojima
UEFI specification requires booting from removal media using a architecture-specific default image name such as BOOTAA64.EFI. This commit adds the removable media entries into bootmenu, so that user can select the removable media and boot with default image. The bootmenu automatically enumerates t

[PATCH v14 06/10] eficonfig: scan media device in eficonfig startup

2022-08-25 Thread Masahisa Kojima
In eficonfig startup, scan media devices and update the UEFI boot option. Signed-off-by: Masahisa Kojima --- Newly created in v14 cmd/eficonfig.c | 4 1 file changed, 4 insertions(+) diff --git a/cmd/eficonfig.c b/cmd/eficonfig.c index 772b38d29a..946c4b1d08 100644 --- a/cmd/eficonfig.c +

[PATCH v14 03/10] menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling

2022-08-25 Thread Masahisa Kojima
This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima Reviewed-by: Heinrich Schuchardt Reviewed-by: Ilias Apalodimas --- No update since v11 Changes in v11: - add SPACE key handling Newly created in v7

[PATCH v14 04/10] eficonfig: add "Delete Boot Option" menu entry

2022-08-25 Thread Masahisa Kojima
This commit adds the menu entry to delete the UEFI boot option. User moves the entry with UP/DOWN key, changes, then presses ENTER key to delete the selected boot option. Signed-off-by: Masahisa Kojima --- No update since v11 Changes in v11: - update function interface to show boot selection men

[PATCH v14 01/10] eficonfig: menu-driven addition of UEFI boot option

2022-08-25 Thread Masahisa Kojima
This commit add the "eficonfig" command. The "eficonfig" command implements the menu-driven UEFI boot option maintenance feature. This commit implements the addition of new boot option. User can select the block device volume having efi_simple_file_system_protocol and select the file corresponding

[PATCH v14 02/10] eficonfig: add "Edit Boot Option" menu entry

2022-08-25 Thread Masahisa Kojima
This commit adds the menu entry to edit the existing BOOT variable contents. User selects the item from the boot option list, then user can edit the description, file path and optional_data. Note that automatically generated boot option entry by bootmenu to support the removable media device i

[PATCH v14 00/10] enable menu-driven UEFI variable maintenance

2022-08-25 Thread Masahisa Kojima
This series adds the menu-driven UEFI boot variable maintenance through the "eficonfig" new command. This series also adds the removable media support in bootmenu. Source code can be cloned with: $ git clone https://git.linaro.org/people/masahisa.kojima/u-boot.git -b kojima/eficonfig_upstream_v14

Re: [PATCH v4 5/7] tpm: Allow reporting the internal state

2022-08-25 Thread Ilias Apalodimas
On Tue, 23 Aug 2022 at 20:13, Simon Glass wrote: > > It is useful to read information about the current TPM state, where > supported, e.g. for debugging purposes when verified boot fails. > > Add support for this to the TPM interface as well as Cr50. Add a simple > sandbox test. > > Signed-off-by:

Re: [PATCH v4 3/7] tpm: Correct the define-space command in TPMv2

2022-08-25 Thread Ilias Apalodimas
On Tue, 23 Aug 2022 at 20:12, Simon Glass wrote: > > The message format is incorrect. Fix it. > > Signed-off-by: Simon Glass > --- > > (no changes since v2) > > Changes in v2: > - Use constants instead of open-coded values > > lib/tpm-v2.c | 22 +++--- > 1 file changed, 15 insert

Re: [PATCH v4 2/7] tpm: Correct the permissions command in TPMv1

2022-08-25 Thread Ilias Apalodimas
On Tue, 23 Aug 2022 at 20:12, Simon Glass wrote: > > The offset here is incorrect. Fix it. > > Signed-off-by: Simon Glass > --- > > (no changes since v1) > > lib/tpm-v1.c | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) > > diff --git a/lib/tpm-v1.c b/lib/tpm-v1.c > index 22a769c5874

Re: [PATCH v4 1/7] tpm: Require a digest source when extending the PCR

2022-08-25 Thread Ilias Apalodimas
On Tue, 23 Aug 2022 at 20:12, Simon Glass wrote: > > This feature is used for measured boot, so we can add a log entry to the > TCPA with some information about where the digest comes from. It is not > currently supported in the TPM drivers, but add it to the API so that > code which expects it ca

[PATCH] usb: Add delay for control messages to reach usb stick

2022-08-25 Thread Ashok Reddy Soma
We are seeing timing issues with transcend usb sticks. These devices seems to require more time than regular devices for the control messages to reach device. Add 1ms delay before sending control message to fix trancend device detection issue. Signed-off-by: Ashok Reddy Soma --- common/usb.c |

Re: [PATCH] spl: ahci: Fix dependency for SPL_AHCI_PCI

2022-08-25 Thread Pali Rohár
On Thursday 25 August 2022 20:03:51 Oleksandr Suvorov wrote: > The option SPL_SATA_SUPPORT is renamed to SPL_SATA. Fix the option > name. > > Fixes: 73059529b20 ("ata: ahci-pci: Add new option CONFIG_SPL_AHCI_PCI") > Signed-off-by: Oleksandr Suvorov Acked-by: Pali Rohár > --- > > drivers/ata

[PATCH v4 5/6] doc: fru: add documentation for the fru command and APIs

2022-08-25 Thread Jae Hyun Yoo
Add a usage document for the 'fru' u-boot command. Add kerneldocs for . Signed-off-by: Jae Hyun Yoo --- Changes from v3: * None. Changes from v2: * Added kerneldocs to 'include/fru.h'. (Simon) Changes from v1: * Newly added in v2. (Heinrich) doc/usage/cmd/fru.rst | 144

[PATCH] spl: ahci: Fix dependency for SPL_AHCI_PCI

2022-08-25 Thread Oleksandr Suvorov
The option SPL_SATA_SUPPORT is renamed to SPL_SATA. Fix the option name. Fixes: 73059529b20 ("ata: ahci-pci: Add new option CONFIG_SPL_AHCI_PCI") Signed-off-by: Oleksandr Suvorov --- drivers/ata/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/ata/Kconfig b/dr

[PATCH v4 4/6] cmd: fru: add product info area parsing support

2022-08-25 Thread Jae Hyun Yoo
Add product info area parsing support. Custom board fields can be added dynamically using linked list so that each board support can utilize them in their own custom way. Signed-off-by: Jae Hyun Yoo --- Changes from v3: * None. Changes from v2: * Changed 'struct fru_board_info_member' to 'stru

[PATCH v4 6/6] test: cmd: fru: add unit test for the fru command

2022-08-25 Thread Jae Hyun Yoo
Add test cases for the fru command. Signed-off-by: Jae Hyun Yoo Reviewed-by: Simon Glass --- Changes from v3: * Added a 'Reviewed-by' tag. (Simon) Changes from v2: * Newly added in v3. (Simon) include/test/suites.h | 1 + test/cmd/Makefile | 1 + test/cmd/fru.c| 84 +++

[PATCH v4 2/6] cmd: fru: move FRU handling support to common region

2022-08-25 Thread Jae Hyun Yoo
From: Graeme Gregory The FRU handling was added as a Xilinx board dependent support but it is also useful for other boards too, so this commit moves the FRU handling support to the common region so that it can be enabled by CONFIG_CMD_FRU. Signed-off-by: Graeme Gregory Signed-off-by: Jae Hyun Y

[PATCH v4 1/6] xilinx: common: refactor FRU handling support

2022-08-25 Thread Jae Hyun Yoo
Refactor FRU handling support to remove Xilinx customization dependency. With this change, single or multiple custom board fields and multi-records can be added dynamically using linked list so that each board support can utilize them in their own custom way. It's a preparation change for moving t

[PATCH v4 0/6] cmd/fru: move FRU handling support to common region

2022-08-25 Thread Jae Hyun Yoo
Hello, The FRU handling was added as a Xilinx board dependent support but it is also useful for other boards, so this commit moves the FRU handling support to the common region so that it can be enabled by CONFIG_CMD_FRU. To provide manufacturer specific custom info fields and multi-records parsi

[PATCH v4 3/6] cmd: fru: fix a sandbox segfault issue

2022-08-25 Thread Jae Hyun Yoo
This command doesn't work with sandbox because direct memory access causes a segfault error. Fix it up using map_sysmem(). Signed-off-by: Jae Hyun Yoo Reviewed-by: Simon Glass --- Changes from v3: * None. Changes from v2: * Added a 'Reviewed-by' tag. (Simon) Changes from v1: * Newly added i

Re: [PATCH v2 2/6] console: Implement flush() function

2022-08-25 Thread Simon Glass
Hi Pali, On Thu, 25 Aug 2022 at 08:20, Pali Rohár wrote: > > On Friday 12 August 2022 20:21:00 Simon Glass wrote: > > Hi Pali, > > > > On Fri, 12 Aug 2022 at 09:17, Pali Rohár wrote: > > > > > > On Friday 12 August 2022 09:11:10 Simon Glass wrote: > > > > Hi Pali, > > > > > > > > On Fri, 12 Aug

Re: [PATCH v3 4/7] cmd: fru: add product info area parsing support

2022-08-25 Thread Simon Glass
Hi Jae, On Thu, 25 Aug 2022 at 08:33, Jae Hyun Yoo wrote: > > Hi Simon, > > On 8/24/2022 6:25 PM, Simon Glass wrote: > > Hi Jae, > > > > On Tue, 23 Aug 2022 at 14:53, Jae Hyun Yoo wrote: > >> > >> Add product info area parsing support. Custom board fields can be > >> added dynamically using link

Re: [PATCH 3/4] cmd: bdinfo: introduce bdinfo_print_size() helper

2022-08-25 Thread Simon Glass
On Thu, 25 Aug 2022 at 00:41, Ovidiu Panait wrote: > > Add bdinfo_print_size() helper to display size variables (such as cache > sizes) in bdinfo format. The size is printed as "xxx Bytes", "xxx KiB", > "xxx MiB", "xxx GiB", etc as needed; > > Signed-off-by: Ovidiu Panait > --- > > cmd/bdinfo.c

Re: [PATCH 2/2] tests: Do not hardcode sudo tool

2022-08-25 Thread Simon Glass
Hi Michal, On Wed, 24 Aug 2022 at 23:51, Michal Suchanek wrote: > > In some situations it may be needed to pass parameters to sudo or to use > a different tool to gain root access. Add SUDO variable to specify the > sudo tool. > > Signed-off-by: Michal Suchanek > --- > doc/develop/testing.rst

Re: [PATCH v2] fs: fix comment typo

2022-08-25 Thread Simon Glass
Hi Roger, On Thu, 25 Aug 2022 at 05:12, Roger Knecht wrote: > > Fix typo in include/fs.h > > Reviewed-by: Simon Glass > Signed-off-by: Roger Knecht > --- > v2: > - Added Reviewed-by Simon Just a note that patchwork collects these tags for you so there is no need to resend the patch if that is

Re: [PATCH v3 6/7] test: py: fru: add a test for the fru command

2022-08-25 Thread Jae Hyun Yoo
On 8/24/2022 6:25 PM, Simon Glass wrote: Hi, On Tue, 23 Aug 2022 at 14:53, Jae Hyun Yoo wrote: Add a simple test for the 'fru' command. Signed-off-by: Jae Hyun Yoo --- Changes from v2: * Added CONFIG_CMD_FRU=y only into the sandbox_defconfig. (Simon) Changes from v1: * Newly added in v

Re: [PATCH v3 7/7] test: cmd: fru: add unit test for the fru command

2022-08-25 Thread Jae Hyun Yoo
Hi Simon, On 8/24/2022 6:25 PM, Simon Glass wrote: On Tue, 23 Aug 2022 at 14:53, Jae Hyun Yoo wrote: Add test cases for the fru command. Signed-off-by: Jae Hyun Yoo --- Changes from v2: * Newly added in v3. (Simon) include/test/suites.h | 1 + test/cmd/Makefile | 1 + test/cmd/

Re: [PATCH v3 4/7] cmd: fru: add product info area parsing support

2022-08-25 Thread Jae Hyun Yoo
Hi Simon, On 8/24/2022 6:25 PM, Simon Glass wrote: Hi Jae, On Tue, 23 Aug 2022 at 14:53, Jae Hyun Yoo wrote: Add product info area parsing support. Custom board fields can be added dynamically using linked list so that each board support can utilize them in their own custom way. Signed-off-

Re: [PATCH v2 2/6] console: Implement flush() function

2022-08-25 Thread Pali Rohár
On Friday 12 August 2022 20:21:00 Simon Glass wrote: > Hi Pali, > > On Fri, 12 Aug 2022 at 09:17, Pali Rohár wrote: > > > > On Friday 12 August 2022 09:11:10 Simon Glass wrote: > > > Hi Pali, > > > > > > On Fri, 12 Aug 2022 at 03:01, Pali Rohár wrote: > > > > > > > > On Thursday 11 August 2022 1

Re: [PATCH] ubifs: Allow to silence debug dumps

2022-08-25 Thread Pali Rohár
PING? Who can review and take this patch? It is needed for more boards due to increasing size of u-boot binary. On Sunday 07 August 2022 21:27:09 Pali Rohár wrote: > Debug dump logs are not always required. Add a new config option > UBIFS_SILENCE_DEBUG_DUMP to silence all debug dumps. On powerpc/m

Re: [PATCH] distroboot: ubifs: Add support for specifying UBI header offset

2022-08-25 Thread Pali Rohár
On Monday 08 August 2022 12:10:27 Tom Rini wrote: > On Sun, Aug 07, 2022 at 09:04:22PM +0200, Pali Rohár wrote: > > > Some UBI partitions may use non-standard UBI header offset. For attaching > > these UBI partitions it is required to pass second argument with offset to > > "ubi part" command. > >

Re: Pull request for nand-next

2022-08-25 Thread Michael Nazzareno Trimarchi
Hi Tom I made a really big mistake, get problem with mutt and then sent by gmail Sorry On Thu, Aug 25, 2022 at 3:34 PM Tom Rini wrote: > > On Wed, Aug 24, 2022 at 05:05:25PM +0200, Michael Nazzareno Trimarchi wrote: > > > Hi Tom, > > > > please pull this Nand related patches: > > > > --

Re: [PATCHv2 2/2] i2c: stm32f7: do not set the STOP condition on error

2022-08-25 Thread Patrice CHOTARD
+Alain (with the correct email address ;-)) Alain, can you have a look a this patch and give your feedback on it. On my side i tested it on stm32mp157c-ev1 and stm32mp157c-dk2, i didn't see any regression but i prefer to get expert feedback Thanks Patrice On 8/15/22 16:52, Jorge Ramirez-Orti

Re: Pull request for nand-next

2022-08-25 Thread Tom Rini
On Wed, Aug 24, 2022 at 05:05:25PM +0200, Michael Nazzareno Trimarchi wrote: > Hi Tom, > > please pull this Nand related patches: > > > Re-sync again on some linux part, add some fixes for fsl_elbc from > Pali and switch > imx8mn b

Re: [PATCH v2 18/18] virtio: pci: Make use of dm_pci_map_bar()

2022-08-25 Thread Felix Yan
Hi, Today I discovered a failure which bisected to this commit. When running QEMU with libvirt, which created some pcie devices, U-boot fails on autoboot with: Unhandled exception: Load access fault EPC: bff7c46e RA: bff7c46c TVAL: 40200014 EPC: 8002446e RA: 00

[PATCH 6/6] arm64: versal: Enable zynqmp_gqspi driver

2022-08-25 Thread Ashok Reddy Soma
Versal supports gqspi ip, so enable zynqmp_gqspi driver for Versal platforms. Signed-off-by: Ashok Reddy Soma --- configs/xilinx_versal_virt_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/xilinx_versal_virt_defconfig b/configs/xilinx_versal_virt_defconfig index 6e61abd0c

[PATCH 3/6] spi: zynqmp_gqspi: Add support for IO mode

2022-08-25 Thread Ashok Reddy Soma
Add support for io-mode transfers. This is necessary for UBIFS to work properly with spi-nor devices. The driver will work in IO mode when "has-io-mode" is passed from device tree instead of DMA. Signed-off-by: Ashok Reddy Soma --- drivers/spi/zynqmp_gqspi.c | 81 +++

[PATCH 5/6] spi: zynqmp_qspi: Code alignment

2022-08-25 Thread Ashok Reddy Soma
Few lines are extented to next line though they can fit in 80 character limit, align them to single line. No functional change. Signed-off-by: Ashok Reddy Soma --- drivers/spi/zynqmp_gqspi.c | 18 ++ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/drivers/spi/zynq

[PATCH 4/6] spi: zynqmp_gqspi: Fix issue of reading more than 32bits length

2022-08-25 Thread Ashok Reddy Soma
As the flash sizes are increasing day by day, QSPI can have devices of size > 512MB. In qspi driver we are trying to read all the data at once using DMA. The DMA descriptor destination size is only 29bits long. QSPIDMA_DST_SIZE 0xFF0F0804 BITS: 1:0 Reserved to keep word alignment BITS: 28:

[PATCH 2/6] arm64: versal: Define zynqmp_mmio_write() for versal

2022-08-25 Thread Ashok Reddy Soma
From: Michal Simek GQSPI driver is using it but this function is never called for Versal because it is removed by linker. But function should be declared to avoid this build warning: drivers/spi/zynqmp_gqspi.c: In function 'zynqmp_qspi_set_tapdelay': drivers/spi/zynqmp_gqspi.c:378:3: warning: imp

[PATCH 1/6] spi: zynqmp_gqspi: Add tap delays for Versal

2022-08-25 Thread Ashok Reddy Soma
Add tap delays for Versal platform and re-align the tapdelays code. Signed-off-by: Ashok Reddy Soma --- drivers/spi/zynqmp_gqspi.c | 60 -- 1 file changed, 38 insertions(+), 22 deletions(-) diff --git a/drivers/spi/zynqmp_gqspi.c b/drivers/spi/zynqmp_gqspi.c

[PATCH 0/6] zynqmp_gqspi driver updates

2022-08-25 Thread Ashok Reddy Soma
In this patch series - Add tapdelays for Versal - Add support for IO mode - Fix issue of reading more than 32bits length in DMA - Minor code alignment - Enable zynqmp_gqspi driver for Versal platforms Ashok Reddy Soma (5): spi: zynqmp_gqspi: Add tap delays for Versal spi: zynqmp_gqspi: A

Re: [PATCH] spi: stm32_spi: Fix GPIO chipselect polarity handling

2022-08-25 Thread Marek Vasut
On 8/24/22 16:04, Patrice CHOTARD wrote: Hi Marek Hi, On 8/23/22 19:07, Marek Vasut wrote: The GPIO chipselect signal polarity is handled by the GPIO core code, the driver code is only responsible for asserting and deasserting the GPIO. Do not invert the GPIO polarity in the driver code. Fo

[PATCH] arm64: xilinx: Move board_get_usable_ram_top() to common location

2022-08-25 Thread Michal Simek
The commit ce39ee28ec31 ("zynqmp: Do not place u-boot to reserved memory location") adds functionality for ZynqMP to read reserved memory node and do not place U-Boot to reserved location. This functionality is generic across all Xilinx SOCs that's why move it to common location to be used by all X

[PATCH v2] fs: fix comment typo

2022-08-25 Thread Roger Knecht
Fix typo in include/fs.h Reviewed-by: Simon Glass Signed-off-by: Roger Knecht --- v2: - Added Reviewed-by Simon include/fs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/fs.h b/include/fs.h index 2195dc172e..8370d88cb2 100644 --- a/include/fs.h +++ b/include/fs.

Re: [RFC PATCH] imx8mp: fix boot hang when booting NXP kernel 5.15.32

2022-08-25 Thread Rasmus Villemoes
On 24/08/2022 12.17, Peng Fan wrote: > > > On 8/23/2022 9:36 PM, Rasmus Villemoes wrote: >> We have observed a somewhat weird bug: When booting the downstream NXP >> kernel lf-5.15.32-2.0.0 [fa6c3168595c], sometimes the board would hang >> during imx_lcdifv3_probe(). Adding some printk debugging

Re: [PATCH v2 1/3] efi_loader: Add SPI I/O protocol support

2022-08-25 Thread Paul Barker
Hi Henrich, Many thanks for your review on this patch. I've responded to things inline below. I'm also available on IRC (paulbarker) if you want to discuss further. On 13/08/2022 20:20, Heinrich Schuchardt wrote: On 8/4/22 12:34, Paul Barker wrote: This addition allows UEFI applications run

Re: [PATCH 3/4] cmd: bdinfo: introduce bdinfo_print_size() helper

2022-08-25 Thread Michal Simek
čt 25. 8. 2022 v 8:42 odesílatel Ovidiu Panait napsal: > > Add bdinfo_print_size() helper to display size variables (such as cache > sizes) in bdinfo format. The size is printed as "xxx Bytes", "xxx KiB", > "xxx MiB", "xxx GiB", etc as needed; > > Signed-off-by: Ovidiu Panait > --- > > cmd/bdinf

Re: [PATCH 4/4] microblaze: add arch_print_bdinfo() implementation

2022-08-25 Thread Michal Simek
On 8/25/22 08:41, Ovidiu Panait wrote: Allow bdinfo command to print icache/dcache information: U-Boot-mONStR> bdinfo boot_params = 0x DRAM bank = 0x -> start= 0x0400 -> size = 0x0400 flashstart = 0x flashsize = 0x flashoffset = 0x b

Re: [PATCH 2/4] cpu: microblaze: remove unused ret variable

2022-08-25 Thread Michal Simek
On 8/25/22 08:41, Ovidiu Panait wrote: Drop the unused ret variable from microblaze_cpu_get_desc(). Signed-off-by: Ovidiu Panait --- drivers/cpu/microblaze_cpu.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/cpu/microblaze_cpu.c b/drivers/cpu/microbla

Re: [PATCHv2 2/2] i2c: stm32f7: do not set the STOP condition on error

2022-08-25 Thread Patrice CHOTARD
+Alain Alain, can you have a look a this patch and give your feedback on it. On my side i tested it on stm32mp157c-ev1 and stm32mp157c-dk2, i didn't see any regression but i prefer to get expert feedback ;-) Thanks Patrice On 8/15/22 16:52, Jorge Ramirez-Ortiz wrote: > Sending the stop conditi

Re: [PATCH 1/4] microblaze: drop CONFIG_SYS_INIT_RAM_ADDR and CONFIG_SYS_INIT_RAM_SIZE

2022-08-25 Thread Michal Simek
Hi, On 8/25/22 08:41, Ovidiu Panait wrote: These macros don't seem to be used by microblaze code anymore, so remove them. the patch itself is correct but I would prefer if you can provide more details in commit message. I tracked it down and that macros should be removed as the part of this

Re: [PATCH v13 5/9] bootmenu: add removable media entries

2022-08-25 Thread Masahisa Kojima
On Thu, 25 Aug 2022 at 17:03, Ilias Apalodimas wrote: > > [...] > > > > > media devices supporting EFI_SIMPLE_FILE_SYSTEM_PROTOCOL, > > > > add it as new UEFI boot option(BOOT) and update BootOrder > > > > variable. This automatically generated UEFI boot option > > > > has the dedicated guid i

[PATCH 2/2] riscv: dts: sifive: Synchornize FU740 and Unmatched DT

2022-08-25 Thread Icenowy Zheng
These DT files are synchornized from Linux 5.19. Signed-off-by: Icenowy Zheng --- arch/riscv/dts/fu740-c000.dtsi | 67 + arch/riscv/dts/hifive-unmatched-a00.dts | 95 +++-- 2 files changed, 73 insertions(+), 89 deletions(-) diff --git a/arch/riscv/dt

[PATCH 1/2] dt-bindings: clock: sifive: sync FU740 PRCI clock binding header

2022-08-25 Thread Icenowy Zheng
This commit sychornizes the header file for FU740 PRCI clocks with the one from Linux 5.19. The constant values are the same, but all constant names are changed (most are just prefixed with FU740_). Signed-off-by: Icenowy Zheng --- arch/riscv/dts/fu740-c000-u-boot.dtsi | 16 +--

[PATCH 0/2] Sync SiFive FU740+Unmatched DT from Linux

2022-08-25 Thread Icenowy Zheng
This patchset tries to sync FU740 related DT from Linux 5.19. The first patch fetches the DT binding header from Linux, and the second one fetches the main DT files. Icenowy Zheng (2): dt-bindings: clock: sifive: sync FU740 PRCI clock binding header riscv: dts: sifive: Synchornize FU740 and U

Re: [PATCH v13 5/9] bootmenu: add removable media entries

2022-08-25 Thread Ilias Apalodimas
[...] > > > media devices supporting EFI_SIMPLE_FILE_SYSTEM_PROTOCOL, > > > add it as new UEFI boot option(BOOT) and update BootOrder > > > variable. This automatically generated UEFI boot option > > > has the dedicated guid in the optional_data to distinguish it from > > > the UEFI boot optio

[PATCH 3/3] mtd: spi-nor-ids: Add s28hl512t, s28hl01gt, and s28hs01gt IDs

2022-08-25 Thread tkuw584924
From: Takahiro Kuwano Add flash info table entries for s28hl512gt, s28hl01gt, and s28hs01gt. These devices have the same functionality as s28hs512t. In spi-nor-core, use device ID byte to detect S28 family instead of device name. Signed-off-by: Takahiro Kuwano --- drivers/mtd/spi/spi-nor-core

[PATCH 2/3] mtd: spi-nor-core: Rename configuration macro for S28 support

2022-08-25 Thread tkuw584924
From: Takahiro Kuwano Change configuration macro name to support all other devices in SEMPER S28 family. Signed-off-by: Takahiro Kuwano --- configs/j721s2_evm_a72_defconfig | 2 +- configs/j721s2_evm_r5_defconfig | 2 +- drivers/mtd/spi/Kconfig | 10 +- drivers/mtd/spi/spi-

[PATCH 1/3] mtd: spi-nor-core: Rename s28hs512t prefix

2022-08-25 Thread tkuw584924
From: Takahiro Kuwano Change prefix to support all other devices in SEMPER S28 family. Signed-off-by: Takahiro Kuwano --- drivers/mtd/spi/spi-nor-core.c | 34 +- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/drivers/mtd/spi/spi-nor-core.c b/dri

[PATCH 0/3] mtd: spi-nor-core: Add support for s28hl512t, s28hl01gt, and s28hs01gt

2022-08-25 Thread tkuw584924
From: Takahiro Kuwano These devices are variants of s28hs512t(1.8V 512Mb) with different density(1Gb) and power supply voltage(3V). Datasheet: https://www.infineon.com/dgdl/Infineon-S28HS256T_S28HS512T_S28HS01GT_S28HL256T_S28HL512T_S28HL01GT_256-Mb_(32-MB)_512-Mb_(64-MB)_1-Gb_(128-MB)_HS-T_(1.8-

Re: [PATCH] configs: stih410-b2260: Fix SYS_HZ_CLOCK value

2022-08-25 Thread Patrice CHOTARD
Hi Grzegorz On 8/24/22 19:51, Grzegorz Szymaszek wrote: > Hi, > > On Wed, Aug 24, 2022 at 05:06:59PM +0200, Patrice Chotard wrote: >> SYS_HZ_CLOCK was wrongly set to 1MHz whereas it's set to 750MHz >> by default by bootrom. > > s/1MHz/1GHz/, it seems. Otherwise: I confirm ;-), i sent a v2 with

[PATCH v2] configs: stih410-b2260: Fix SYS_HZ_CLOCK value

2022-08-25 Thread Patrice Chotard
SYS_HZ_CLOCK was wrongly set to 1GHz whereas it's set to 750MHz by default by bootrom. Signed-off-by: Patrice Chotard Reviewed-by: Grzegorz Szymaszek --- Changes in v2: - Replace 1MHz by 1GHz in commit description include/configs/stih410-b2260.h | 2 +- 1 file changed, 1 insertion(+), 1 d

Re: [PATCH 0/5] Fix, update and cleanup brppt1 board

2022-08-25 Thread Wolfgang Wallner
Complete series is Reviewed-by: Wolfgang Wallner From: Bernhard Messerklinger Sent: Thursday, August 25, 2022 8:53 To: u-boot@lists.denx.de Cc: Wolfgang Wallner ; Bernhard Messerklinger ; Andre Przywara ; Christian Hewitt ; Hannes Schmelzer ; Marcel Ziswiler ; Marek Vasut ; Pali Rohár ;