From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Roese Date: Thu, 27 Aug 2015 12:06:18 +0200 Subject: [U-Boot] [PATCH v3 0/4] sunxi: nand: Basic NAND driver for SPL In-Reply-To: <55D5E914.40900@denx.de> References: <1437654784-19942-1-git-send-email-pzierhoffer@antmicro.com> <55BCB879.7040103@redhat.com> <20150801143027.663f8105@bbrezillon> <1438456935.2097.21.camel@freescale.com> <55BE1386.4030806@redhat.com> <55D5CA16.8070500@denx.de> <55D5D960.5060706@redhat.com> <55D5E914.40900@denx.de> Message-ID: <55DEE11A.2080305@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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: -------------- 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: