From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Roese Date: Thu, 27 Aug 2015 12:10:41 +0200 Subject: [U-Boot] [PATCH v3 0/4] sunxi: nand: Basic NAND driver for SPL In-Reply-To: <55DEE11A.2080305@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> <55DEE11A.2080305@denx.de> Message-ID: <55DEE221.1020402@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 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