diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/configs/ast-common.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/configs/ast-common.h b/include/configs/ast-common.h index b39ea33ce7..110c780070 100644 --- a/include/configs/ast-common.h +++ b/include/configs/ast-common.h @@ -96,7 +96,11 @@ #define CONFIG_ENV_OFFSET 0x60000 /* environment starts here */ #define CONFIG_ENV_SIZE 0x20000 /* Total Size of Environment Sector */ -#define CONFIG_BOOTCOMMAND "bootm 20080000 20300000" +#define CONFIG_BOOTCOMMAND \ + "fdt addr 20080000; " \ + "if fdt get value ramdisk_conf /configurations/conf@1 ramdisk; then " \ + " bootm 20080000; else bootm 20080000 20300000; " \ + "fi" #define CONFIG_ENV_OVERWRITE #define ASPEED_ENV_SETTINGS \ |