gfch100: add bootlog flags
Change-Id: Ic08ef00d234fb3f852b24f4b922979f8a4d91b88
diff --git a/board/mv_ebu/a38x/mv_main_a38x.c b/board/mv_ebu/a38x/mv_main_a38x.c
index 6c1fc3d..eaef147 100755
--- a/board/mv_ebu/a38x/mv_main_a38x.c
+++ b/board/mv_ebu/a38x/mv_main_a38x.c
@@ -684,6 +684,12 @@
#endif
#ifdef CONFIG_GFCH100
+ /* extra args for logs */
+ env = getenv("gflogs");
+ if (!env) {
+ setenv("gflogs", "log_buf_len=8388608 bootlog=1M@63M");
+ }
+
/* use 'run gpt_init' to initialize the GPT table on the eMMC */
env = getenv("gpt_init");
if (!env) {
@@ -715,7 +721,7 @@
"run gfparams; "
"mmc rescan; "
"mmc read $loadaddr $gfkernel 0x8000; "
- "setenv bootargs $console $mtdparts $gfroot $bootargs_extra; "
+ "setenv bootargs $console $mtdparts $gfroot $gflogs $bootargs_extra; "
"bootm $loadaddr; "
);
#elif defined(CONFIG_CMD_STAGE_BOOT)