[U-Boot] [PATCH] at91sam9x5ek: Pass serial and revision tags to Linux

Tom Rini trini at ti.com
Thu Apr 25 17:47:07 CEST 2013


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 <juliushemanth at gmail.com>
[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: <http://lists.denx.de/pipermail/u-boot/attachments/20130425/5005d1f7/attachment.pgp>


More information about the U-Boot mailing list