[PATCH u-boot v2016.07-aspeed-openbmc v2] aspeed: Drop bootcmd support for legacy images

Brad Bishop bradleyb at fuzziesquirrel.com
Sat Feb 17 07:14:01 AEDT 2018


Assume booting from a FIT image by default.  This allows image builders
to use arbitrary configuration names like
/configurations/conf at foo.

Signed-off-by: Brad Bishop <bradleyb at fuzziesquirrel.com>
---
v2: 
 - Reworked to drop legacy image support entirely.
 - Updated commit message accordingly.

 include/configs/ast-common.h | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/include/configs/ast-common.h b/include/configs/ast-common.h
index 89b0cd8533..eff6d2b529 100644
--- a/include/configs/ast-common.h
+++ b/include/configs/ast-common.h
@@ -108,11 +108,7 @@
 #define CONFIG_ENV_OFFSET		0x60000	/* environment starts here  */
 #define CONFIG_ENV_SIZE			0x20000	/* Total Size of Environment Sector */
 
-#define CONFIG_BOOTCOMMAND	\
-	"fdt addr 20080000; " \
-	"if fdt get value ramdisk_conf /configurations/conf at 1 ramdisk; then " \
-	"    bootm 20080000; else bootm 20080000 20300000; " \
-	"fi"
+#define CONFIG_BOOTCOMMAND		"bootm 20080000"
 #define CONFIG_ENV_OVERWRITE
 
 #define ASPEED_ENV_SETTINGS \
-- 
2.14.3


More information about the openbmc mailing list