Message ID | 20170721211608.25443-1-marek.vasut+renesas@gmail.com |
---|---|
State | Accepted |
Delegated to: | Nobuhiro Iwamatsu |
Headers | show |
Applied to rmobile branch, thanks! 2017-07-22 6:16 GMT+09:00 Marek Vasut <marek.vasut@gmail.com>: > Allow pasting extra long lines into the U-Boot console on RCar Gen3. > This is OK since we have plenty of resources and it's convenient. > > Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> > Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org> > --- > include/configs/rcar-gen3-common.h | 10 +++++----- > 1 file changed, 5 insertions(+), 5 deletions(-) > > diff --git a/include/configs/rcar-gen3-common.h b/include/configs/rcar-gen3-common.h > index 8da3e7a235..6c23249861 100644 > --- a/include/configs/rcar-gen3-common.h > +++ b/include/configs/rcar-gen3-common.h > @@ -39,12 +39,12 @@ > #define CONFIG_SH_GPIO_PFC > > /* console */ > - > +#define CONFIG_SYS_CBSIZE 2048 > +#define CONFIG_SYS_PBSIZE \ > + (CONFIG_SYS_CBSIZE + sizeof(CONFIG_SYS_PROMPT) + 16) > +#define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE > #define CONFIG_SYS_LONGHELP > -#define CONFIG_SYS_CBSIZE 256 > -#define CONFIG_SYS_PBSIZE 256 > -#define CONFIG_SYS_MAXARGS 16 > -#define CONFIG_SYS_BARGSIZE 512 > +#define CONFIG_SYS_MAXARGS 64 > #define CONFIG_SYS_BAUDRATE_TABLE { 115200, 38400 } > > /* MEMORY */ > -- > 2.11.0 >
diff --git a/include/configs/rcar-gen3-common.h b/include/configs/rcar-gen3-common.h index 8da3e7a235..6c23249861 100644 --- a/include/configs/rcar-gen3-common.h +++ b/include/configs/rcar-gen3-common.h @@ -39,12 +39,12 @@ #define CONFIG_SH_GPIO_PFC /* console */ - +#define CONFIG_SYS_CBSIZE 2048 +#define CONFIG_SYS_PBSIZE \ + (CONFIG_SYS_CBSIZE + sizeof(CONFIG_SYS_PROMPT) + 16) +#define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE #define CONFIG_SYS_LONGHELP -#define CONFIG_SYS_CBSIZE 256 -#define CONFIG_SYS_PBSIZE 256 -#define CONFIG_SYS_MAXARGS 16 -#define CONFIG_SYS_BARGSIZE 512 +#define CONFIG_SYS_MAXARGS 64 #define CONFIG_SYS_BAUDRATE_TABLE { 115200, 38400 } /* MEMORY */
Allow pasting extra long lines into the U-Boot console on RCar Gen3. This is OK since we have plenty of resources and it's convenient. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org> --- include/configs/rcar-gen3-common.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)