RE: [PATCH v5 2/3] mtd: brcmnand: Force 8bit mode before doing nand_scan_ident()

2015-11-02 Thread Anup Patel
; Ray Jui; > Scott Branden; Florian Fainelli; Pramod Kumar; Vikram Prakash; Sandeep > Tripathy; Linux ARM Kernel; Device Tree; Linux Kernel; > bcm-kernel-feedback-list > Subject: Re: [PATCH v5 2/3] mtd: brcmnand: Force 8bit mode before doing > nand_scan_ident() > > On Fri,

RE: [PATCH v5 2/3] mtd: brcmnand: Force 8bit mode before doing nand_scan_ident()

2015-11-02 Thread Anup Patel
; Ray Jui; > Scott Branden; Florian Fainelli; Pramod Kumar; Vikram Prakash; Sandeep > Tripathy; Linux ARM Kernel; Device Tree; Linux Kernel; > bcm-kernel-feedback-list > Subject: Re: [PATCH v5 2/3] mtd: brcmnand: Force 8bit mode before doing > nand_scan_ident() > > On Fri,

Re: [PATCH v5 2/3] mtd: brcmnand: Force 8bit mode before doing nand_scan_ident()

2015-10-30 Thread Brian Norris
On Fri, Oct 30, 2015 at 12:29:20PM +0530, Anup Patel wrote: > Just like other NAND controllers, ^^ That part isn't strictly true. While READ ID data only comes out on the lower 8 bits, that doesn't *actually* mean you can't get valid data from a 16-bit bus in general; you just have to drop the

[PATCH v5 2/3] mtd: brcmnand: Force 8bit mode before doing nand_scan_ident()

2015-10-30 Thread Anup Patel
Just like other NAND controllers, the NAND READID command only works in 8bit mode for all versions of BRCMNAND controller. This patch forces 8bit mode for each NAND CS in brcmnand_init_cs() before doing nand_scan_ident() to ensure that BRCMNAND controller is in 8bit mode when NAND READID command

[PATCH v5 2/3] mtd: brcmnand: Force 8bit mode before doing nand_scan_ident()

2015-10-30 Thread Anup Patel
Just like other NAND controllers, the NAND READID command only works in 8bit mode for all versions of BRCMNAND controller. This patch forces 8bit mode for each NAND CS in brcmnand_init_cs() before doing nand_scan_ident() to ensure that BRCMNAND controller is in 8bit mode when NAND READID command

Re: [PATCH v5 2/3] mtd: brcmnand: Force 8bit mode before doing nand_scan_ident()

2015-10-30 Thread Brian Norris
On Fri, Oct 30, 2015 at 12:29:20PM +0530, Anup Patel wrote: > Just like other NAND controllers, ^^ That part isn't strictly true. While READ ID data only comes out on the lower 8 bits, that doesn't *actually* mean you can't get valid data from a 16-bit bus in general; you just have to drop the