[U-Boot] [RFC PATCH v2 03/12] arm, da850: Move the definitions of pinmux configurations to the arch tree

Mike Frysinger vapier at gentoo.org
Mon Nov 21 20:03:25 CET 2011


On Monday 21 November 2011 11:33:38 Christian Riesch wrote:
> --- /dev/null
> +++ b/arch/arm/include/asm/arch-davinci/da850_pinmux.h
>
> +const struct pinmux_config spi1_pins[] = {
> +	{ pinmux(5), 1, 1 },
> +	{ pinmux(5), 1, 2 },
> +	{ pinmux(5), 1, 4 },
> +	{ pinmux(5), 1, 5 }
> +};

variable storage should not be in headers.  why can't this be in a C file ?
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20111121/57537a51/attachment.pgp>


More information about the U-Boot mailing list