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

Stefan Roese sr at denx.de
Thu Aug 27 12:06:18 CEST 2015


Hi Hans,

On 20.08.2015 16:49, Stefan Roese wrote:
>> Yes, see:
>>
>> 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.

Comments welcome.

BTW: What is the current status of this code? From my debugging (see 2nd 
patch) it seems that this should not be good enough to run on any board yet.

Thanks,
Stefan

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-mtd-nand-sunxi_nand.c-Use-common-struct-mtd-pointer.patch
Type: text/x-diff
Size: 2259 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150827/0bcb34df/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-mtd-nand-sunxi_nand.c-Whitespace-cleanup.patch
Type: text/x-diff
Size: 6316 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150827/0bcb34df/attachment-0001.patch>


More information about the U-Boot mailing list