Re: [PATCH v2] cfi_flash: Fix devicetree address determination

2020-10-08 Thread Stefan Roese
On 08.10.20 12:15, Heinrich Schuchardt wrote: On 08.10.20 11:49, Stefan Roese wrote: On 08.10.20 10:39, Heinrich Schuchardt wrote: On 08.10.20 09:08, Stefan Roese wrote: On 24.09.20 01:22, Andre Przywara wrote: The cfi-flash driver uses an open-coded version of the generic algorithm to decode

Re: [PATCH v2] cfi_flash: Fix devicetree address determination

2020-10-08 Thread André Przywara
On 08/10/2020 11:15, Heinrich Schuchardt wrote: Hi, > On 08.10.20 11:49, Stefan Roese wrote: >> On 08.10.20 10:39, Heinrich Schuchardt wrote: >>> On 08.10.20 09:08, Stefan Roese wrote: On 24.09.20 01:22, Andre Przywara wrote: > The cfi-flash driver uses an open-coded version of the gener

Re: [PATCH v2] cfi_flash: Fix devicetree address determination

2020-10-08 Thread Heinrich Schuchardt
On 08.10.20 11:49, Stefan Roese wrote: > On 08.10.20 10:39, Heinrich Schuchardt wrote: >> On 08.10.20 09:08, Stefan Roese wrote: >>> On 24.09.20 01:22, Andre Przywara wrote: The cfi-flash driver uses an open-coded version of the generic algorithm to decode and translate multiple frames of

Re: [PATCH v2] cfi_flash: Fix devicetree address determination

2020-10-08 Thread Stefan Roese
On 08.10.20 10:39, Heinrich Schuchardt wrote: On 08.10.20 09:08, Stefan Roese wrote: On 24.09.20 01:22, Andre Przywara wrote: The cfi-flash driver uses an open-coded version of the generic algorithm to decode and translate multiple frames of a "reg" property. This starts off the wrong foot by

Re: [PATCH v2] cfi_flash: Fix devicetree address determination

2020-10-08 Thread Heinrich Schuchardt
On 08.10.20 09:08, Stefan Roese wrote: > On 24.09.20 01:22, Andre Przywara wrote: >> The cfi-flash driver uses an open-coded version of the generic >> algorithm to decode and translate multiple frames of a "reg" property. >> >> This starts off the wrong foot by using the address-cells and size-cell

Re: [PATCH v2] cfi_flash: Fix devicetree address determination

2020-10-08 Thread Stefan Roese
On 24.09.20 01:22, Andre Przywara wrote: The cfi-flash driver uses an open-coded version of the generic algorithm to decode and translate multiple frames of a "reg" property. This starts off the wrong foot by using the address-cells and size-cells properties of *this* very node, and not of the p

Re: [PATCH v2] cfi_flash: Fix devicetree address determination

2020-09-23 Thread Stefan Roese
On 24.09.20 01:22, Andre Przywara wrote: The cfi-flash driver uses an open-coded version of the generic algorithm to decode and translate multiple frames of a "reg" property. This starts off the wrong foot by using the address-cells and size-cells properties of *this* very node, and not of the p