From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Subject: Re: [PATCH 2/2] mtd: spi-nor: add rockchip serial flash controller driver Date: Fri, 25 Nov 2016 14:54:24 +0100 Message-ID: References: <1478855766-151673-1-git-send-email-shawn.lin@rock-chips.com> <1478855766-151673-3-git-send-email-shawn.lin@rock-chips.com> <775a8918-bc93-218a-808d-2a160137ad56@rock-chips.com> <8f8213a1-f694-8159-fdbd-5e607c8aaaa2@gmail.com> <76670120-dacd-ef0e-cf36-cbf549b19853@rock-chips.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <76670120-dacd-ef0e-cf36-cbf549b19853-TNX95d0MmH7DzftRWevZcw@public.gmane.org> Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Shawn Lin , Rob Herring , David Woodhouse , Brian Norris Cc: devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-mtd-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, Heiko Stuebner , linux-rockchip-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org List-Id: devicetree@vger.kernel.org On 11/21/2016 03:51 AM, Shawn Lin wrote: > Hi Marek, Hi! [...] >>> sfc->num_chip stands for how many flashes registered successfully. >> >> Does it work if you have a hole in there ? Like if you have a flash on >> chipselect 0 and chipselect 2 ? > > Yes it does, as it won't leave a room for chipselect 1 whose node isn't > present, which means there isn't a hole in there at all. :) Ah , because you are not indexing those NORs with their CS number , right ? -- Best regards, Marek Vasut -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html