Patrick Williams | 0f19eb5 | 2017-07-27 13:32:33 -0500 | [diff] [blame] | 1 | From 6bfd346da6639a83e17e271e95ce33d1d095334a Mon Sep 17 00:00:00 2001 |
| 2 | From: Patrick Williams <patrick@stwcx.xyz> |
| 3 | Date: Fri, 21 Jul 2017 16:30:01 -0500 |
| 4 | Subject: [PATCH] config/ast-common: hack bootopts |
| 5 | |
| 6 | Signed-off-by: Patrick Williams <patrick@stwcx.xyz> |
| 7 | --- |
| 8 | include/configs/ast-common.h | 6 ++++++ |
| 9 | 1 file changed, 6 insertions(+) |
| 10 | |
| 11 | diff --git a/include/configs/ast-common.h b/include/configs/ast-common.h |
Adriana Kobylak | 6b7e2de | 2017-08-24 09:33:35 -0500 | [diff] [blame] | 12 | index 0475109..8dfaff7 100644 |
Patrick Williams | 0f19eb5 | 2017-07-27 13:32:33 -0500 | [diff] [blame] | 13 | --- a/include/configs/ast-common.h |
| 14 | +++ b/include/configs/ast-common.h |
Adriana Kobylak | 6b7e2de | 2017-08-24 09:33:35 -0500 | [diff] [blame] | 15 | @@ -96,7 +96,10 @@ |
| 16 | #define CONFIG_CMD_MTDPARTS |
| 17 | #endif |
Patrick Williams | 0f19eb5 | 2017-07-27 13:32:33 -0500 | [diff] [blame] | 18 | |
| 19 | +#if 0 |
| 20 | #define CONFIG_BOOTARGS "console=ttyS4,115200n8 root=/dev/ram rw" |
| 21 | +#endif |
| 22 | +#define CONFIG_BOOTARGS "console=ttyS4,115200n8 root=/dev/mtdblock4 ro" |
| 23 | |
| 24 | #define CONFIG_AST_SPI_NOR /* AST SPI NOR Flash */ |
| 25 | #define CONFIG_FMC_CS 1 |
Adriana Kobylak | 6b7e2de | 2017-08-24 09:33:35 -0500 | [diff] [blame] | 26 | @@ -111,11 +114,14 @@ |
Adriana Kobylak | 48c8fa3 | 2017-08-19 09:32:18 -0500 | [diff] [blame] | 27 | #define CONFIG_ENV_SIZE 0x10000 /* Total Size of Environment Sector */ |
| 28 | #define CONFIG_ENV_SIZE_REDUND 0x10000 |
Patrick Williams | 0f19eb5 | 2017-07-27 13:32:33 -0500 | [diff] [blame] | 29 | |
| 30 | +#if 0 |
| 31 | #define CONFIG_BOOTCOMMAND \ |
| 32 | "fdt addr 20080000; " \ |
| 33 | "if fdt get value ramdisk_conf /configurations/conf@1 ramdisk; then " \ |
| 34 | " bootm 20080000; else bootm 20080000 20300000; " \ |
| 35 | "fi" |
| 36 | +#endif |
| 37 | +#define CONFIG_BOOTCOMMAND "fdt addr 20080000; bootm 20080000" |
| 38 | #define CONFIG_ENV_OVERWRITE |
| 39 | |
| 40 | #define ASPEED_ENV_SETTINGS \ |
| 41 | -- |
Adriana Kobylak | 48c8fa3 | 2017-08-19 09:32:18 -0500 | [diff] [blame] | 42 | 1.8.2.2 |
Patrick Williams | 0f19eb5 | 2017-07-27 13:32:33 -0500 | [diff] [blame] | 43 | |