[U-Boot] [PATCH] CONFIG_SYS_BAUDRATE_TABLE: Place default into <config.h>

Mike Frysinger vapier at gentoo.org
Thu Apr 26 00:52:57 CEST 2012


On Wednesday 25 April 2012 14:46:27 Tom Rini wrote:
> --- a/mkconfig
> +++ b/mkconfig
> @@ -167,6 +167,11 @@ cat << EOF >> config.h
>  #include <config_defaults.h>
>  #include <configs/${CONFIG_NAME}.h>
>  #include <asm/config.h>
> +
> +/* Default baud rate table */
> +#ifndef CONFIG_SYS_BAUDRATE_TABLE
> +#define CONFIG_SYS_BAUDRATE_TABLE	{ 9600, 19200, 38400, 57600, 115200 }
> +#endif
>  EOF

seems like we should add a new config_fallbacks.h and include that after 
asm/config.h rather than coding C in mkconfig
-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/20120425/9de6b3df/attachment.pgp>


More information about the U-Boot mailing list