[U-Boot] [PATCH v3 0/4] sunxi: nand: Basic NAND driver for SPL

Stefan Roese sr at denx.de
Thu Aug 27 12:10:41 CEST 2015


On 27.08.2015 12:06, Stefan Roese wrote:
>>> https://github.com/NextThingCo/CHIP-u-boot
>>> https://github.com/jwrdegoede/u-boot-sunxi/commits/sunxi-nand-wip
>>
>> Thanks.
>
> I've started on your "sunxi-nand-wip" branch. And noticed that its
> currently stuck / hangs in nand_onfi_set_features() called via
> sunxi_nand_chip_init_timings(). I've attached 2 patches now:
>
> One with some whitespace / coding-style fixes and more important a 2nd
> one that actually fixes some buggy pointer initialization.
>
> I just wanted to share this improvement, even if the driver still does
> not work correctly. But at least its not crashing that early with this fix.

I forgot to mention that NAND detection takes very long with this patch 
(like 10 seconds). And all NAND block are marked as bad.

Thanks,
Stefan



More information about the U-Boot mailing list