diff mbox series

[U-Boot] imx: imx8qxp_mek: increase buffer sizes and args number

Message ID 20191021153153.15743-1-agust@denx.de
State Accepted
Commit 5c1c7c1ef81503ccae531704ac9dbd8cb41e5b49
Delegated to: Stefano Babic
Headers show
Series [U-Boot] imx: imx8qxp_mek: increase buffer sizes and args number | expand

Commit Message

Anatolij Gustschin Oct. 21, 2019, 3:31 p.m. UTC
The default value of CONFIG_SYS_CBSIZE is too small when we need
to input long commands or when using long kernel command line.

The default value of CONFIG_SYS_MAXARGS is too small to add a long
command line, and the kernel might not boot as intended without the
complete bootargs. Increase argument buffer sizes and the number of
arguments.

Signed-off-by: Anatolij Gustschin <agust@denx.de>
---
 include/configs/imx8qxp_mek.h | 5 +++++
 1 file changed, 5 insertions(+)

Comments

Peng Fan Oct. 22, 2019, 2:44 a.m. UTC | #1
> Subject: [PATCH] imx: imx8qxp_mek: increase buffer sizes and args number
> 
> The default value of CONFIG_SYS_CBSIZE is too small when we need to input
> long commands or when using long kernel command line.
> 
> The default value of CONFIG_SYS_MAXARGS is too small to add a long
> command line, and the kernel might not boot as intended without the
> complete bootargs. Increase argument buffer sizes and the number of
> arguments.
> 
> Signed-off-by: Anatolij Gustschin <agust@denx.de>
> ---
>  include/configs/imx8qxp_mek.h | 5 +++++
>  1 file changed, 5 insertions(+)
> 
> diff --git a/include/configs/imx8qxp_mek.h b/include/configs/imx8qxp_mek.h
> index 872805cae6..a4f1fa4e6f 100644
> --- a/include/configs/imx8qxp_mek.h
> +++ b/include/configs/imx8qxp_mek.h
> @@ -164,4 +164,9 @@
>  #define CONFIG_FEC_XCV_TYPE		RGMII
>  #define FEC_QUIRK_ENET_MAC
> 
> +/* Misc configuration */
> +#define CONFIG_SYS_CBSIZE	2048
> +#define CONFIG_SYS_MAXARGS	64
> +#define CONFIG_SYS_BARGSIZE	CONFIG_SYS_CBSIZE
> +
>  #endif /* __IMX8QXP_MEK_H */
> --

Reviewed-by: Peng Fan <peng.fan@nxp.com>

> 2.17.1
diff mbox series

Patch

diff --git a/include/configs/imx8qxp_mek.h b/include/configs/imx8qxp_mek.h
index 872805cae6..a4f1fa4e6f 100644
--- a/include/configs/imx8qxp_mek.h
+++ b/include/configs/imx8qxp_mek.h
@@ -164,4 +164,9 @@ 
 #define CONFIG_FEC_XCV_TYPE		RGMII
 #define FEC_QUIRK_ENET_MAC
 
+/* Misc configuration */
+#define CONFIG_SYS_CBSIZE	2048
+#define CONFIG_SYS_MAXARGS	64
+#define CONFIG_SYS_BARGSIZE	CONFIG_SYS_CBSIZE
+
 #endif /* __IMX8QXP_MEK_H */