[PATCH v8 4/4] mtd: spi-nor-core: Add support for Macronix Octal flash

2022-07-03 Thread JaimeLiao
Adding Macronix Octal flash for Octal DTR support. The octaflash series can be divided into the following types: MX25 series : Serial NOR Flash. MX66 series : Serial NOR Flash with stacked die.(Size larger than 1Gb) LM/UM series : Up to 250MHz clock frequency with both DTR/STR operation. LW/UW se

[PATCH v8 3/4] mtd: spi-nor: Parse SFDP SCCR Map

2022-07-03 Thread JaimeLiao
Parse SCCR 22nd dword and check DTR Octal Mode Enable Volatile bit for Octal DTR enable Signed-off-by: JaimeLiao --- drivers/mtd/spi/spi-nor-core.c | 52 ++ include/linux/mtd/spi-nor.h| 1 + 2 files changed, 53 insertions(+) diff --git a/drivers/mtd/spi/spi-

[PATCH v8 2/4] mtd: spi-nor-core: Adding different type of command extension in Soft Reset

2022-07-03 Thread JaimeLiao
Power-on-Reset is a method to restore flash back to 1S-1S-1S mode from 8D-8D-8D in the begging of probe. Command extension type is not standardized across flash vendors in DTR mode. For suiting different vendor flash devices, adding a flag to seperate types for soft reset on boot. Signed-off-by:

[PATCH v8 1/4] mtd: spi-nor: add support for Macronix Octal flash

2022-07-03 Thread JaimeLiao
Follow patch (Allow using Micron mt35xu512aba in Octal DTR mode). Enable Octal DTR mode with 20 dummy cycles to allow running at the maximum supported frequency for adding Macronix flash in Octal DTR mode. -https://www.mxic.com.tw/Lists/Datasheet/Attachments/7841/MX25LM51245G,%203V,%20512Mb,%20

[PATCH v8 0/4] Add octal DTR support for Macronix flash

2022-07-03 Thread JaimeLiao
This series add support for Macronix octal DTR flash, add flag for Softreset with "INVERT" command extension type on boot and follow linux kernel to enable 4byte opcode when possible. v8: Correct spi nor flash information in IDs table. v7: Correct title and description of patchworks. Correc

Re: [PATCH] pci: Add checks to prevent config space overflow

2022-07-03 Thread Stefan Roese
On 03.07.22 12:48, Pali Rohár wrote: PCIe config space has address range 0-4095. So do not allow reading from addresses outside of this range. Lot of U-Boot drivers do not expect that passed value is not in this range. PCI DM read function is exetended to s/exetended/extended fill read value

[PATCH v6 13/13] FWU: doc: Add documentation for the FWU feature

2022-07-03 Thread Sughosh Ganu
Add documentattion for the FWU Multi Bank Update feature. The document describes the steps needed for setting up the platform for the feature, as well as steps for enabling the feature on the platform. Signed-off-by: Sughosh Ganu --- Changes since V5: * Add some description about the reasoning fo

[PATCH v6 12/13] mkeficapsule: Add support for setting OEM flags in capsule header

2022-07-03 Thread Sughosh Ganu
Add support for setting OEM flags in the capsule header. As per the UEFI specification, bits 0-15 of the flags member of the capsule header can be defined per capsule GUID. The oemflags will be used for the FWU Multi Bank update feature, as specified by the Dependable Boot specification[1]. Bit 15

[PATCH v6 11/13] mkeficapsule: Add support for generating empty capsules

2022-07-03 Thread Sughosh Ganu
The Dependable Boot specification[1] describes the structure of the firmware accept and revert capsules. These are empty capsules which are used for signalling the acceptance or rejection of the updated firmware by the OS. Add support for generating these empty capsules. [1] - https://git.codelin

[PATCH v6 10/13] FWU: cmd: Add a command to read FWU metadata

2022-07-03 Thread Sughosh Ganu
Add a command to read the metadata as specified in the FWU specification and print the fields of the metadata. Signed-off-by: Sughosh Ganu --- Changes since V5: * Do a metadata validity check by calling fwu_mdata_check() before printing the FWU metadata as suggested by Michal * Use ret and res

[PATCH v6 09/13] FWU: Add support for the FWU Multi Bank Update feature

2022-07-03 Thread Sughosh Ganu
The FWU Multi Bank Update feature supports updation of firmware images to one of multiple sets(also called banks) of images. The firmware images are clubbed together in banks, with the system booting images from the active bank. Information on the images such as which bank they belong to is stored

[PATCH v6 08/13] FWU: Add boot time checks as highlighted by the FWU specification

2022-07-03 Thread Sughosh Ganu
The FWU Multi Bank Update specification requires the Update Agent to carry out certain checks at the time of platform boot. The Update Agent is the component which is responsible for updating the firmware components and maintaining and keeping the metadata in sync. The spec requires that the Updat

[PATCH v6 07/13] FWU: STM32MP1: Add support to read boot index from backup register

2022-07-03 Thread Sughosh Ganu
The FWU Multi Bank Update feature allows the platform to boot the firmware images from one of the partitions(banks). The first stage bootloader(fsbl) passes the value of the boot index, i.e. the bank from which the firmware images were booted from to U-Boot. On the STM32MP157C-DK2 board, this value

[PATCH v6 06/13] FWU: stm32mp1: Add helper functions for accessing FWU metadata

2022-07-03 Thread Sughosh Ganu
Add helper functions needed for accessing the FWU metadata which contains information on the updatable images. These functions have been added for the STM32MP157C-DK2 board which has the updatable images on the uSD card, formatted as GPT partitions. Signed-off-by: Sughosh Ganu --- Changes since V

[PATCH v6 05/13] stm32mp1: dk2: Add image information for capsule updates

2022-07-03 Thread Sughosh Ganu
Enabling capsule update functionality on the platform requires populating information on the images that are to be updated using the functionality. Do so for the DK2 board. Signed-off-by: Sughosh Ganu --- Changes since V5: None board/st/stm32mp1/stm32mp1.c | 19 +++ includ

[PATCH v6 04/13] stm32mp1: dk2: Add a node for the FWU metadata device

2022-07-03 Thread Sughosh Ganu
The FWU metadata structure is accessed through the driver model interface. On the stm32mp157c-dk2 board, the FWU metadata is stored on the uSD card. Add the fwu-mdata node on the u-boot specifc dtsi file for accessing the metadata structure. Signed-off-by: Sughosh Ganu Reviewed-by: Patrick Delaun

[PATCH v6 03/13] FWU: Add FWU metadata access driver for GPT partitioned block devices

2022-07-03 Thread Sughosh Ganu
In the FWU Multi Bank Update feature, the information about the updatable images is stored as part of the metadata, on a separate partition. Add a driver for reading from and writing to the metadata when the updatable images and the metadata are stored on a block device which is formated with GPT b

[PATCH v6 02/13] FWU: Add FWU metadata structure and driver for accessing metadata

2022-07-03 Thread Sughosh Ganu
In the FWU Multi Bank Update feature, the information about the updatable images is stored as part of the metadata, which is stored on a dedicated partition. Add the metadata structure, and a driver model uclass which provides functions to access the metadata. These are generic API's, and implement

[PATCH v6 01/13] dt/bindings: Add bindings for FWU Metadata storage device

2022-07-03 Thread Sughosh Ganu
Add bindings needed for accessing the FWU metadata partitions. These include the compatible string which point to the access method and the actual device which stores the FWU metadata. The current patch adds basic bindings needed for accessing the metadata structure on GPT partitioned block device

[PATCH v6 00/13] FWU: Add FWU Multi Bank Update feature support

2022-07-03 Thread Sughosh Ganu
The patchset adds support for the FWU Multi Bank Update[1] feature. Certain aspects of the Dependable Boot[2] specification have also been implemented. The FWU multi bank update feature is used for supporting multiple sets(also called banks) of firmware image(s), allowing the platform to boot fr

[ANN] U-Boot release v2022.07 DELAYED 1 week

2022-07-03 Thread Tom Rini
Hey all, Given all of the last minutes PRs, I'm going to delay the release by a week and do one more -rc on the 4th, and final release on 11 July 2022. Thanks for your understanding all. -- Tom signature.asc Description: PGP signature

Re: [PATCH 1/1] disk: honor CONFIG_SYS_64BIT_LBA

2022-07-03 Thread Tom Rini
On Mon, Jul 04, 2022 at 09:30:24AM +0900, AKASHI Takahiro wrote: > On Sat, Jul 02, 2022 at 02:20:21PM +0200, Heinrich Schuchardt wrote: > > Without the patch for qemu-x86_defconfig: > > > > * sizeof(lbaint_t) = 4 in dev_read() > > * sizeof(lbaint_t) = 8 in blkcache_read() > > > > CONFIG_SYS_64BIT

Re: [PATCH 1/1] disk: honor CONFIG_SYS_64BIT_LBA

2022-07-03 Thread AKASHI Takahiro
On Sat, Jul 02, 2022 at 02:20:21PM +0200, Heinrich Schuchardt wrote: > Without the patch for qemu-x86_defconfig: > > * sizeof(lbaint_t) = 4 in dev_read() > * sizeof(lbaint_t) = 8 in blkcache_read() > > CONFIG_SYS_64BIT_LBA is defined in common.h via > include/configs/x86-common.h:22. > > We have

Re: [PATCH 0/2] Command for entering mask rom USB download mode

2022-07-03 Thread Samuel Holland
Hi Michal, On 7/3/22 2:20 PM, Michal Suchanek wrote: > > Hello, > > many ARM SoCs have a mask rom feature that provides interface for > downloading firmware over USB. > > Downstream rockchip u-boot has 'brom' or 'rbrom' command for this > purpose, and downstream sunxi u-boot provides 'efex' com

Re: [PATCH 2/2] cmd: boot: add brom cmd to reboot to FEL mode

2022-07-03 Thread Andre Przywara
On Sun, 3 Jul 2022 21:20:22 +0200 Michal Suchanek wrote: Hi Michal, > p-boot uses RTC GPR 1 value 0xb0010fe1 to flag FEL boot on A64 > > Default to the same. Please don't add any more #ifdef's to U-Boot, especially no nested ones, there are already far too many. > Signed-off-by: Michal Sucha

Re: [PATCH 0/2] Command for entering mask rom USB download mode

2022-07-03 Thread Andre Przywara
On Sun, 3 Jul 2022 21:20:20 +0200 Michal Suchanek wrote: Hi, > many ARM SoCs have a mask rom feature that provides interface for > downloading firmware over USB. > > Downstream rockchip u-boot has 'brom' or 'rbrom' command for this > purpose, and downstream sunxi u-boot provides 'efex' command

Re: net: designware: frequent network problem like CPU not owner of tx frame

2022-07-03 Thread Ramon Fried
On Fri, Jul 1, 2022 at 1:44 PM LABBE Corentin wrote: > > Hello > > We have an HSDK board in kernelCI, and it fail often to do networking tasks. > (getting image via tftp) > Example: > tftp 0x8200 2156673/tftp-deploy-l8y_ehqa/kernel/uImage > Speed: 100, full duplex > Using ethernet@f0008000 de

Re: [PATCH 2/2] net: dwc_eth_qos: cosmetic: reorder include files

2022-07-03 Thread Ramon Fried
On Thu, Jun 30, 2022 at 12:10 PM Patrick Delaunay wrote: > > Reorder include files in the U-Boot expected order. > > Signed-off-by: Patrick Delaunay > --- > > drivers/net/dwc_eth_qos.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/net/dwc_eth_qos.c b/drivers/ne

Re: [PATCH 1/2] net: dwc_eth_qos: restore support of not cache-aligned descriptor

2022-07-03 Thread Ramon Fried
On Thu, Jun 30, 2022 at 12:10 PM Patrick Delaunay wrote: > > Solve an issue with AXI_WIDTH_32 on a the 64 bytes cache line platform; > in this case the requested descriptor padding length should be 12 but the > associated parameter EQOS_DMA_CH0_CONTROL.DSL is limited to 3bits = 7. > > As the DMA d

Re: [PATCH V2 43/49] net: dwc_eth_qos: fix build break when CLK not enabled

2022-07-03 Thread Ramon Fried
On Mon, Jun 27, 2022 at 5:44 AM Peng Fan (OSS) wrote: > > From: Peng Fan > > When CONFIG_CLK is not enabled, there will be buil break: > "error: ‘eqos’ undeclared (first use in this function)" > > Should not guard the eqos under CONFIG_CLK macro > Please rephrase - the english is a bit broken som

[PATCH 2/2] cmd: boot: add brom cmd to reboot to FEL mode

2022-07-03 Thread Michal Suchanek
p-boot uses RTC GPR 1 value 0xb0010fe1 to flag FEL boot on A64 Default to the same. Signed-off-by: Michal Suchanek --- arch/arm/include/asm/arch-sunxi/cpu.h | 11 +++ arch/arm/mach-sunxi/Kconfig | 18 ++ arch/arm/mach-sunxi/board.c | 24 ++

[PATCH 1/2] cmd: boot: add brom cmd to reboot to brom dnl mode

2022-07-03 Thread Michal Suchanek
From: Andy Yan Change-Id: I797491ebe25af1013732aeee87e61e3ba4bc1689 Signed-off-by: Andy Yan Signed-off-by: Michal Suchanek --- .../arm/include/asm/arch-rockchip/boot_mode.h | 1 + cmd/boot.c| 20 +++ 2 files changed, 21 insertions(+) diff -

[PATCH 0/2] Command for entering mask rom USB download mode

2022-07-03 Thread Michal Suchanek
Hello, many ARM SoCs have a mask rom feature that provides interface for downloading firmware over USB. Downstream rockchip u-boot has 'brom' or 'rbrom' command for this purpose, and downstream sunxi u-boot provides 'efex' command. p-boot has code for entering FEL on A64 SoC. With this patch I

Re: [PATCH V2 47/49] net: dwc_eth_qos: intrdouce eqos hook eqos_get_enetaddr

2022-07-03 Thread Ramon Fried
intrdouce -> introduce On Mon, Jun 27, 2022 at 5:44 AM Peng Fan (OSS) wrote: > > From: Peng Fan > > i.MX has specific hook to get MAC address, so introduce a hook and move > i.MX code to its own driver > > Signed-off-by: Peng Fan > --- > drivers/net/dwc_eth_qos.c | 9 ++--- > drivers/

Re: [PATCH V2 46/49] net: eqos: add function to get phy node and address

2022-07-03 Thread Ramon Fried
On Mon, Jun 27, 2022 at 5:44 AM Peng Fan (OSS) wrote: > > From: Ye Li > > Since new atheros PHY driver needs to access its PHY node through > phy device, we have to assign the phy node in ethernet controller > driver. Otherwise the PHY driver will fail to get some nodes > and properties. > > Sign

Re: [PATCH V2 45/49] net: dwc_eth_qos: move i.MX code out

2022-07-03 Thread Ramon Fried
On Mon, Jun 27, 2022 at 5:44 AM Peng Fan (OSS) wrote: > > From: Peng Fan > > Move i.MX code to a standalone file to make it easy for adding new > platform support > > Signed-off-by: Peng Fan > --- > drivers/net/Makefile | 1 + > drivers/net/dwc_eth_qos.c | 92 ---

Re: [PATCH V2 44/49] net: dwc_eth_qos: public some functions

2022-07-03 Thread Ramon Fried
On Mon, Jun 27, 2022 at 5:44 AM Peng Fan (OSS) wrote: > > From: Peng Fan > > Move macros and structures to header file and make some functions > public, so that could used by other files, this is to > prepare split platform specific config to one file. > > Signed-off-by: Peng Fan > --- > driver

Re: [PATCH V2 42/49] net: fec_mxc: support i.MX93

2022-07-03 Thread Ramon Fried
On Mon, Jun 27, 2022 at 5:43 AM Peng Fan (OSS) wrote: > > From: Peng Fan > > Support i.MX93 in fec_mxc driver > > Signed-off-by: Peng Fan > --- > drivers/net/Kconfig | 2 +- > drivers/net/fec_mxc.c | 4 +++- > 2 files changed, 4 insertions(+), 2 deletions(-) > > diff --git a/drivers/net/Kconf

[PATCH] sunxi: lcd: Move range from kconfig description to definition.

2022-07-03 Thread Michal Suchanek
KConfig has range option, use it instead of notice in the option descrition. Signed-off-by: Michal Suchanek --- arch/arm/mach-sunxi/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-sunxi/Kconfig b/arch/arm/mach-sunxi/Kconfig index 10645fc644..0ef79849a4

Re: Pull request for efi-2022-07-rc6

2022-07-03 Thread Tom Rini
On Sat, Jul 02, 2022 at 03:44:13PM +0200, Heinrich Schuchardt wrote: > Dear Tom, > > The following changes since commit 936d468b7bbc8c02071b3d0d24f9c48167cb5ce7: > > chameleonv3: Add MAINTAINERS file (2022-07-01 15:55:54 -0400) > > are available in the Git repository at: > > https://source

Re: [PATCH] MAINTAINERS: Add Dario and Michael as nand maintainers

2022-07-03 Thread Tom Rini
On Wed, Jun 29, 2022 at 05:57:51PM +0200, Michael Trimarchi wrote: > Both of us are working on Nand subsystem on several architectures and > we have boards and projects to improve the subsystem in uboot. The idea > is to garantee quick feedback on patches sent on mailing list and most > of the tim

Re: [PATCH] board/BuR/*: replace maintainer of BuR boards

2022-07-03 Thread Tom Rini
On Wed, Jun 29, 2022 at 12:11:40PM +0200, Hannes Schmelzer wrote: > Since i'm leaving the company with end of june, the maintainership will > be transferred to Wolfgang Wallner. > > Signed-off-by: Hannes Schmelzer > > Seriec-cc: tr...@konsulko.com > Series-version : 2 > Series-changes : 2 > - f

Re: [PATCH] image: fit: Use stack allocation macro

2022-07-03 Thread Tom Rini
On Mon, Jun 20, 2022 at 04:31:17PM +0930, Joel Stanley wrote: > The documentation above the DEFINE_ALIGN_BUFFER says it's for use > outside functions, but we're inside one. > > Instead use ALLOC_CACHE_ALIGN_BUFFER, the stack based macro, which also > includes the cache alignment. > > Fixes: b583

[PATCH] cmd: fix do_adc_single()

2022-07-03 Thread Vyacheslav Bocharov
The source code contains an error: - argv[2] contains arg, variable for env_set is in argv[3] - number of args is 4 Revert 54d24d72601321f4470c4edf31c6b29adae424a7 cmd: simplify do_adc_single() Fixes 9de612ae4ded53f742f5f99929c06d0839471ced cmd: adc: Add support for storing ADC result in env

Re: [PATCH] Revert "fdtdec: drop needlessly convoluted CONFIG_PHANDLE_CHECK_SEQ"

2022-07-03 Thread Tom Rini
On Sun, Jul 03, 2022 at 02:32:42AM -0600, Simon Glass wrote: > Hi, > > On Sun, 3 Jul 2022 at 02:25, Simon Glass wrote: > > > > The fdt_path_offset() function is slow since it must scan the tree. > > This substantial overhead now applies to all boards. > > > > The original code may not be ideal bu

Re: [PATCH 1/1] cmd: simplify do_adc_single()

2022-07-03 Thread Heinrich Schuchardt
On 7/3/22 14:22, Vyacheslav wrote: 25.04.2022 23:26, Heinrich Schuchardt wrote: If argc is not < 3, it must be >= 3. If argc >= 3, argv[2] cannot be NULL. Fixes: 9de612ae4ded ("cmd: adc: Add support for storing ADC result in env variable") Signed-off-by: Heinrich Schuchardt ---   cmd/adc

Re: [PATCH v3] board: freescale: p1_p2_rdb_pc: Fix parsing inverted bits from boot input data

2022-07-03 Thread Pali Rohár
On Thursday 23 June 2022 15:04:08 Pali Rohár wrote: > On Thursday 16 June 2022 14:37:07 Pali Rohár wrote: > > On some boards upper 4 bits of i2c boot input data (register 0) are > > inverted. Information which bits are inverted is stored in register 2. > > > > So invert read input data back accord

Re: [PATCH v2] board: freescale: p1_p2_rdb_pc: Add env commands norlowerboot, norupperboot, sd2boot and defboot

2022-07-03 Thread Pali Rohár
PING! On Thursday 23 June 2022 15:43:45 Pali Rohár wrote: > On Thursday 16 June 2022 17:01:50 Peng Fan (OSS) wrote: > > 在 2022/4/25 22:50, Pali Rohár 写道: > > > All *boot env commands overrides default boot source location via i2c. > > > After board reset without power off, BootROM then starts boot

Re: [PATCH 1/1] riscv: allow building w/o DHCP, SCSI, VIRTIO

2022-07-03 Thread Heinrich Schuchardt
On 7/3/22 13:28, Heinrich Schuchardt wrote: Consider which boot devices are enabled in the definition of the BOOT_TARGET_DEVICES() macro. Signed-off-by: Heinrich Schuchardt Hello Bin, With the patch I can run U-Boot qemu-riscv_smode_defconfig CONFIG_MTD_NOR_FLASH=n CONFIG_CMD_NET=n with

rk3399 after reboot mmc1 is inaceessible

2022-07-03 Thread Michal Suchánek
Hello, after rebooting rk3399 Pinebook Pro mmc1 is no longer accessible from u-boot, and video is not working, only cold boot works. This is not a problem anymore when Linux is loaded from another device. Any idea how to debug this? Thanks Michal U-Boot TPL 2022.07-rc5 (May 16 2022 - 12:00:00

[PATCH v4] EFI: Fix ReadBlocks API reading incorrect sector for UCLASS_PARTITION devices

2022-07-03 Thread Paul Barbieri
The requsted partition disk sector incorrectly has the parition start sector added in twice for UCLASS_PARTITION devices. The efi_disk_rw_blocks() routine adds the diskobj->offset to the requested lba. When the device is a UCLASS_PARTITION, the dev_read() or dev_write() routine is called which adds

[PATCH 1/1] riscv: allow building w/o DHCP, SCSI, VIRTIO

2022-07-03 Thread Heinrich Schuchardt
Consider which boot devices are enabled in the definition of the BOOT_TARGET_DEVICES() macro. Signed-off-by: Heinrich Schuchardt --- include/configs/qemu-riscv.h | 25 ++--- 1 file changed, 22 insertions(+), 3 deletions(-) diff --git a/include/configs/qemu-riscv.h b/include/

[PATCH] pci: Add checks to prevent config space overflow

2022-07-03 Thread Pali Rohár
PCIe config space has address range 0-4095. So do not allow reading from addresses outside of this range. Lot of U-Boot drivers do not expect that passed value is not in this range. PCI DM read function is exetended to fill read value to all ones or zeros when it fails as U-Boot callers ignores ret

RE: [v4 04/12] configs: aspeed: Enable SPI flash features

2022-07-03 Thread Chin-Ting Kuo
Hi Cédric, > -Original Message- > From: Cédric Le Goater > Sent: Friday, July 1, 2022 7:51 PM > Subject: Re: [v4 04/12] configs: aspeed: Enable SPI flash features > > On 7/1/22 11:28, Cédric Le Goater wrote: > > On 5/24/22 07:56, Chin-Ting Kuo wrote: > >> - Enable ASPEED SPI controller d

RE: [v4 12/12] spi: aspeed: Fix bug when SPI_NOR_4B_OPCODES flag is set

2022-07-03 Thread Chin-Ting Kuo
Hi Cédric, > -Original Message- > From: Cédric Le Goater > Sent: Friday, July 1, 2022 5:45 PM > Subject: Re: [v4 12/12] spi: aspeed: Fix bug when SPI_NOR_4B_OPCODES flag > is set > > On 5/24/22 07:56, Chin-Ting Kuo wrote: > > When SPI_NOR_4B_OPCODES flag is set for a specific flash in >

RE: [v4 06/12] arm: dts: aspeed: Update SPI flash node settings

2022-07-03 Thread Chin-Ting Kuo
Hi Cédric, > -Original Message- > From: Cédric Le Goater > Sent: Friday, July 1, 2022 5:42 PM > To: Chin-Ting Kuo ; ChiaWei Wang > ; lu...@denx.de; sean...@gmail.com; > Ryan Chen ; BMC-SW > ; ja...@amarulasolutions.com; vigne...@ti.com; > u-boot@lists.denx.de; p.ya...@ti.com; Joel Stanley

RE: [v4 07/12] spi-mem: Add dirmap API from Linux

2022-07-03 Thread Chin-Ting Kuo
Hi Cédric, > -Original Message- > From: Cédric Le Goater > Sent: Friday, July 1, 2022 5:37 PM > Subject: Re: [v4 07/12] spi-mem: Add dirmap API from Linux > > On 5/24/22 07:56, Chin-Ting Kuo wrote: > > This adds the dirmap API originally introduced in Linux commit aa167f3 > > ("spi: spi-

[PATCH] dt-bindings: nvmem: u-boot,env: add basic NVMEM cells

2022-07-03 Thread Rafał Miłecki
From: Rafał Miłecki U-Boot doesn't have cells at hardcoded addresses. They are stored in internal format. It's still important to define relevant cells in DT so NVMEM consumers can reference them. Update binding to allow including basic cells as NVMEM device subnodes. Signed-off-by: Rafał Miłec

RE: [v4 03/12] spi: aspeed: Add ASPEED SPI controller driver

2022-07-03 Thread Chin-Ting Kuo
Hi Cédric, Thanks for the review. > -Original Message- > From: Cédric Le Goater > Sent: Friday, July 1, 2022 5:28 PM > To: Chin-Ting Kuo ; ChiaWei Wang > ; lu...@denx.de; sean...@gmail.com; > Ryan Chen ; BMC-SW > ; ja...@amarulasolutions.com; vigne...@ti.com; > u-boot@lists.denx.de; p.ya

Re: [PATCH] Revert "fdtdec: drop needlessly convoluted CONFIG_PHANDLE_CHECK_SEQ"

2022-07-03 Thread Simon Glass
Hi, On Sun, 3 Jul 2022 at 02:25, Simon Glass wrote: > > The fdt_path_offset() function is slow since it must scan the tree. > This substantial overhead now applies to all boards. > > The original code may not be ideal but it is fit for purpose and is only > needed on a few boards. > > We should r

[PATCH] Revert "fdtdec: drop needlessly convoluted CONFIG_PHANDLE_CHECK_SEQ"

2022-07-03 Thread Simon Glass
The fdt_path_offset() function is slow since it must scan the tree. This substantial overhead now applies to all boards. The original code may not be ideal but it is fit for purpose and is only needed on a few boards. We should revert this in time for the release. This reverts commit 26f981f295d