RE: [PATCH 4/4] ls1046ardb: enable IFC NAND.

2021-07-29 Thread Barbier, Renaud
>> >> +static int rdb_nand_init(void) >> +{ > You should check against board compatible here. Yes. Found a way to do it from other board support. Cheers, Renaud ___ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/

Re: Not successful if statements returning error code

2021-07-29 Thread Denis Osterland-Heim
Hi, Am Donnerstag, den 29.07.2021, 11:22 +0200 schrieb Ahmad Fatoum: > On 28.07.21 11:38, Denis Osterland-Heim wrote: > > Hi, > > > > Am Mittwoch, den 28.07.2021, 10:56 +0200 schrieb Ahmad Fatoum: > > > > > I talked with Sascha once before (off-list) about a similar issue. > > > Missing error han

Re: [PATCH 4/4] ls1046ardb: enable IFC NAND.

2021-07-29 Thread Ahmad Fatoum
Hi, On 28.07.21 14:47, Renaud Barbier wrote: > Set the NAND timings and enable the IFC NAND driver. > > Signed-off-by: Renaud Barbier > --- > arch/arm/boards/ls1046ardb/board.c| 26 ++ > arch/arm/configs/layerscape_defconfig | 12 > 2 files changed, 38 i

Re: [PATCH 3/4] nand: add NXP IFC nand driver

2021-07-29 Thread Ahmad Fatoum
On 28.07.21 14:47, Renaud Barbier wrote: > Add the NXP IFC nand driver support. This driver > can be used with the NXP QorIQ cores. > > Signed-off-by: Renaud Barbier > --- > .../mach-layerscape/include/mach/fsl_ifc.h| 16 + > .../mach-layerscape/include/mach/layerscape.h |3 + > driver

Re: [PATCH 2/4] arm: 64-bit device specific operation

2021-07-29 Thread Ahmad Fatoum
On 28.07.21 14:47, Renaud Barbier wrote: > In preparation for the introduction of the NXP FSL IFC > nand driver, add memcpy_ directional I/O operation. > > Code based on NXP Linux support: > git://source.codeaurora.org/external/qoriq/qoriq-components/linux barebox next branch already contains cbd

Re: [PATCH 1/4] ARM: atomic.h: add 64-bit counter support

2021-07-29 Thread Ahmad Fatoum
On 28.07.21 14:47, Renaud Barbier wrote: > In preparation for the introduction of the FSL IFC nand driver > for the layerscape CPU, add 64-bit counter support. > > Signed-off-by: Renaud Barbier > --- > include/asm-generic/atomic-long.h | 3 +- > include/asm-generic/atomic.h | 49 ++

Re: Not successful if statements returning error code

2021-07-29 Thread Ahmad Fatoum
On 28.07.21 11:38, Denis Osterland-Heim wrote: > Hi, > > Am Mittwoch, den 28.07.2021, 10:56 +0200 schrieb Ahmad Fatoum: > >> I talked with Sascha once before (off-list) about a similar issue. Missing >> error handling >> results in >> >> [ x1 -eq x2 ] && echo yes || echo no >> >> printing yes.