Re: [PATCH 1/1] mtd: cfi_flash: read device tree correctly

2020-07-26 Thread Simon Glass
Hi Stefan, On Sat, 25 Jul 2020 at 05:47, Stefan Roese wrote: > > Hi Heinrich, > > (added Simon to Cc) > > On 24.07.20 18:34, Heinrich Schuchardt wrote: > > On 24.07.20 11:14, Rick Chen wrote: > >> Hi Heinrich > >> > >>> From: U-Boot [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Heinrich > >

Re: [PATCH 1/1] mtd: cfi_flash: read device tree correctly

2020-07-25 Thread Stefan Roese
Hi Heinrich, (added Simon to Cc) On 24.07.20 18:34, Heinrich Schuchardt wrote: On 24.07.20 11:14, Rick Chen wrote: Hi Heinrich From: U-Boot [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Heinrich Schuchardt Sent: Tuesday, July 21, 2020 10:51 AM To: Stefan Roese Cc: Simon Glass; u-boot@l

Re: [PATCH 1/1] mtd: cfi_flash: read device tree correctly

2020-07-24 Thread Heinrich Schuchardt
On 24.07.20 11:14, Rick Chen wrote: > Hi Heinrich > >> From: U-Boot [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Heinrich >> Schuchardt >> Sent: Tuesday, July 21, 2020 10:51 AM >> To: Stefan Roese >> Cc: Simon Glass; u-boot@lists.denx.de; Heinrich Schuchardt >> Subject: [PATCH 1/1] mtd: cfi_

Re: [PATCH 1/1] mtd: cfi_flash: read device tree correctly

2020-07-24 Thread Rick Chen
Hi Heinrich > From: U-Boot [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Heinrich > Schuchardt > Sent: Tuesday, July 21, 2020 10:51 AM > To: Stefan Roese > Cc: Simon Glass; u-boot@lists.denx.de; Heinrich Schuchardt > Subject: [PATCH 1/1] mtd: cfi_flash: read device tree correctly > > dev_rea

Re: [PATCH 1/1] mtd: cfi_flash: read device tree correctly

2020-07-22 Thread Heinrich Schuchardt
On 22.07.20 08:21, Stefan Roese wrote: > On 21.07.20 04:51, Heinrich Schuchardt wrote: >> dev_read_size_cells() and dev_read_addr_cells() do not walk up the device >> tree to find the number of cells. On error they return 1 and 2 >> respectively. On qemu_arm64_defconfig this leads to the incorrect

Re: [PATCH 1/1] mtd: cfi_flash: read device tree correctly

2020-07-21 Thread Stefan Roese
On 21.07.20 04:51, Heinrich Schuchardt wrote: dev_read_size_cells() and dev_read_addr_cells() do not walk up the device tree to find the number of cells. On error they return 1 and 2 respectively. On qemu_arm64_defconfig this leads to the incorrect detection of address of the second flash bank as