[U-Boot] [PATCH v3 3/3] exynos: Increase command line buffer size (CONFIG_SYS_CBSIZE)

Fabio Estevam festevam at gmail.com
Mon Nov 10 16:50:39 CET 2014


On Sun, Nov 9, 2014 at 8:44 AM, Ian Campbell <ijc at hellion.org.uk> wrote:

>  /* Miscellaneous configurable options */
> -#define CONFIG_SYS_CBSIZE              256     /* Console I/O Buffer Size */
> -#define CONFIG_SYS_PBSIZE              384     /* Print Buffer Size */
> +#define CONFIG_SYS_CBSIZE              1024    /* Console I/O Buffer Size */
> +#define CONFIG_SYS_PBSIZE              1024    /* Print Buffer Size */
>  #define CONFIG_SYS_MAXARGS             16      /* max number of command args */

What if we add a default definition like this:

#define CONFIG_SYS_CBSIZE              1024    /* Console I/O Buffer Size */
#define CONFIG_SYS_PBSIZE              1024    /* Print Buffer Size */

,then if CONFIG_SYS_CBSIZE and CONFIG_SYS_PBSIZE are not defined in
the board file, we just use the default?

I had the same issue sometime ago and I am wondering if this could be
a better way to handle it.


More information about the U-Boot mailing list