From: Tom Rini Date: Thu, 25 Apr 2013 11:47:07 -0400 Subject: [U-Boot] [PATCH] at91sam9x5ek: Pass serial and revision tags to Linux In-Reply-To: References: Message-ID: <20130425154707.GB32253@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thu, Apr 25, 2013 at 01:59:37PM +0800, Julius Hemanth P wrote: > This code is small snippet from patch > ftp://ftp.linux4sam.org/pub/uboot/u-boot-v2010.06/u-boot-5series_1.0.patch > > Bug:- > For board at91sam9x5ek, U-boot doesn't pass serial and revision tags > to Linux kernel, hence kernel fails to identify correct revision and assumes > as rev-A, resulting in failing to detect NAND device. > > This patch enables u-boot to pass serial and revision tags to Linux > kernel, which helps Linux to detect NAND device. > > Signed-off-by: Julius Hemanth [snip] > +#define CONFIG_LOAD_ONE_WIRE_INFO 1 > +#ifdef CONFIG_LOAD_ONE_WIRE_INFO > +#define CONFIG_REVISION_TAG 1 > +#define CONFIG_SERIAL_TAG 1 > +#endif No trailing '1' and you don't need the ifdef right after you set it in this case. Thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: