<div dir="ltr">Why?</div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jul 21, 2017 at 3:33 PM, Patrick Williams <span dir="ltr"><<a href="mailto:patrick@stwcx.xyz" target="_blank">patrick@stwcx.xyz</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Signed-off-by: Patrick Williams <<a href="mailto:patrick@stwcx.xyz">patrick@stwcx.xyz</a>><br>
---<br>
include/configs/ast-common.h | 6 ++++++<br>
1 file changed, 6 insertions(+)<br>
<br>
diff --git a/include/configs/ast-common.h b/include/configs/ast-common.h<br>
index 110c780070..6f2a50b854 100644<br>
--- a/include/configs/ast-common.h<br>
+++ b/include/configs/ast-common.h<br>
@@ -84,7 +84,10 @@<br>
#define CONFIG_SYS_MAXARGS 16<br>
#define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE<br>
<br>
+#if 0<br>
#define CONFIG_BOOTARGS "console=ttyS4,115200n8 root=/dev/ram rw"<br>
+#endif<br>
+#define CONFIG_BOOTARGS "console=ttyS4,115200n8 root=/dev/mtdblock4 ro"<br>
<br>
#define CONFIG_AST_SPI_NOR /* AST SPI NOR Flash */<br>
#define CONFIG_FMC_CS 1<br>
@@ -96,11 +99,14 @@<br>
#define CONFIG_ENV_OFFSET 0x60000 /* environment starts here */<br>
#define CONFIG_ENV_SIZE 0x20000 /* Total Size of Environment Sector */<br>
<br>
+#if 0<br>
#define CONFIG_BOOTCOMMAND \<br>
"fdt addr 20080000; " \<br>
"if fdt get value ramdisk_conf /configurations/conf@1 ramdisk; then " \<br>
" bootm 20080000; else bootm 20080000 20300000; " \<br>
"fi"<br>
+#endif<br>
+#define CONFIG_BOOTCOMMAND "fdt addr 20080000; bootm 20080000"<br>
#define CONFIG_ENV_OVERWRITE<br>
<br>
#define ASPEED_ENV_SETTINGS \<br>
<span class="HOEnZb"><font color="#888888">--<br>
2.13.0<br>
<br>
<br>
</font></span></blockquote></div><br></div>