diff mbox

[U-Boot] ARM: rpi: increase CONFIG_SYS_MAXARGS

Message ID 1455583082-29876-1-git-send-email-swarren@wwwdotorg.org
State Accepted
Commit 1f60d7c6e983fbbd1da66a2437b7e9f09e36c7ac
Delegated to: Tom Rini
Headers show

Commit Message

Stephen Warren Feb. 16, 2016, 12:38 a.m. UTC
This allows all the hush tests implemented in test/py to pass, under qemu
at least.

Signed-off-by: Stephen Warren <swarren@wwwdotorg.org>
---
Note, RPi U-Boot only fully works under a downstream U-Boot at present:
https://github.com/0xabu/qemu. Upstreaming is in progress.
---
 include/configs/rpi-common.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Tom Rini Feb. 16, 2016, 2:10 a.m. UTC | #1
On Mon, Feb 15, 2016 at 05:38:02PM -0700, Stephen Warren wrote:

> This allows all the hush tests implemented in test/py to pass, under qemu
> at least.
> 
> Signed-off-by: Stephen Warren <swarren@wwwdotorg.org>

For this release:
Reviewed-by: Tom Rini <trini@konsulko.com>

For longer term, I really need to (and put on my TODO list) to see about
Kconfig'ing this and defaulting 64 which is set as the default on TI
platforms iirc due to some hush quirks about how setenv? works with very
long arguments and escape sequences.
Tom Rini Feb. 26, 2016, 1:43 p.m. UTC | #2
On Mon, Feb 15, 2016 at 05:38:02PM -0700, Stephen Warren wrote:

> This allows all the hush tests implemented in test/py to pass, under qemu
> at least.
> 
> Signed-off-by: Stephen Warren <swarren@wwwdotorg.org>
> Reviewed-by: Tom Rini <trini@konsulko.com>

Applied to u-boot/master, thanks!
diff mbox

Patch

diff --git a/include/configs/rpi-common.h b/include/configs/rpi-common.h
index 927bae78eb5a..063a624a7400 100644
--- a/include/configs/rpi-common.h
+++ b/include/configs/rpi-common.h
@@ -117,7 +117,7 @@ 
 #define CONFIG_PREBOOT			"usb start"
 
 /* Shell */
-#define CONFIG_SYS_MAXARGS		8
+#define CONFIG_SYS_MAXARGS		16
 #define CONFIG_COMMAND_HISTORY
 
 /* Commands */