From patchwork Fri Feb 16 20:14:01 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Brad Bishop X-Patchwork-Id: 874641 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [103.22.144.68]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3zjkrd2jBhz9sRW for ; Sat, 17 Feb 2018 07:14:41 +1100 (AEDT) Received: from bilbo.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 3zjkrd15d6zF1XR for ; Sat, 17 Feb 2018 07:14:41 +1100 (AEDT) X-Original-To: openbmc@lists.ozlabs.org Delivered-To: openbmc@lists.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=fuzziesquirrel.com (client-ip=173.167.31.197; helo=bajor.fuzziesquirrel.com; envelope-from=bradleyb@fuzziesquirrel.com; receiver=) Received: from bajor.fuzziesquirrel.com (mail.fuzziesquirrel.com [173.167.31.197]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 3zjkrH1tJ4zF1QB for ; Sat, 17 Feb 2018 07:14:22 +1100 (AEDT) X-Virus-Scanned: amavisd-new at fuzziesquirrel.com From: Brad Bishop To: joel@jms.id.au Subject: [PATCH u-boot v2016.07-aspeed-openbmc v2] aspeed: Drop bootcmd support for legacy images Date: Fri, 16 Feb 2018 15:14:01 -0500 Message-Id: <20180216201401.2703-1-bradleyb@fuzziesquirrel.com> X-BeenThere: openbmc@lists.ozlabs.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Development list for OpenBMC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: andrew@aj.id.au, openbmc@lists.ozlabs.org, ralther@google.com Errors-To: openbmc-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "openbmc" Assume booting from a FIT image by default. This allows image builders to use arbitrary configuration names like /configurations/conf@foo. Signed-off-by: Brad Bishop --- 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@1 ramdisk; then " \ - " bootm 20080000; else bootm 20080000 20300000; " \ - "fi" +#define CONFIG_BOOTCOMMAND "bootm 20080000" #define CONFIG_ENV_OVERWRITE #define ASPEED_ENV_SETTINGS \