Message ID | 20200420140514.25847-6-jagan@amarulasolutions.com |
---|---|
State | New |
Headers | show
Return-Path: <linux-amarula+bncBD7MFH7A7EEBBPGY632AKGQEE7TKRAI@amarulasolutions.com> X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-yb1-f197.google.com (mail-yb1-f197.google.com [209.85.219.197]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 467163F086 for <linux-amarula@patchwork.amarulasolutions.com>; Mon, 20 Apr 2020 16:05:49 +0200 (CEST) Received: by mail-yb1-f197.google.com with SMTP id e2sf11812292ybm.19 for <linux-amarula@patchwork.amarulasolutions.com>; Mon, 20 Apr 2020 07:05:49 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1587391548; cv=pass; d=google.com; s=arc-20160816; b=tr66IRaosCmlB3leGd/ivt7AQU3YoCHaHJSyD5eCutJV116fFu+Tdfam5YFWCIUu8e y6SsMtnBLn+nxlmkJPgcHERSGISL5pZ3ZJAlEr7VNoeegY0k+vn08ogHBFtyClnH3owP ZmMMX40mXA0VMC46KVUI/chEnSMynKwnZFoC2mbU5JfbPj5wMqSNny6E6Lq5KRcHp94U sZiXP0gdHNU7wrJkWN8wWmayIRlLCmSsAWTCTiKsVaZnATNFdOUj8e7VbJIQG13i7rdR BaPp69R0O/Xfcz9/RG8jFitPyWBDVLRISfki5gKRkJRVP+D90KCxtjGllEk4QOUk5B4E WBGA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:references:in-reply-to:message-id:date :subject:cc:to:from:mime-version:dkim-signature; bh=htvxOo0qCdTI52vZgefRxn/B69M1lQkNKuJVt8Cf1io=; b=UO9eZA5EdmA0tTh3CsPD4h0EqPGLVBNwD9WyYjiTa1bl3EDMO1Dkh1P71+UGDuauHt kQewUJ7xat7P3qBgJFwzeo1GlAWb/WAZiL7CmjZtkQ5fmbwMj86hy0K73IIXig6gF6BC JsSDQ3aXme0FZrZ1uOz+K0omV2HkSGVjWvGQdWvhccjPf231kUXKnU954Tw45upoST3m fQ8cQFlKvdXbK6autGMssXW3ywzFod6P1NAKM+xlhJ7u6PoaieO48uYxw39zZltrU4Ja neJUkssdA8fkHlIU1ZJq7JYgbcveXM2rgXytbAiV7qAAJPKGjDiXwJrOlsmj+pazfCUO Mmdw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=KqD+ipUI; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=mime-version:from:to:cc:subject:date:message-id:in-reply-to :references:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=htvxOo0qCdTI52vZgefRxn/B69M1lQkNKuJVt8Cf1io=; b=rpuPSh1swK+H+kcvGjtOCglquTU7Nmu2G2ZtEDSq449to6CjAwiunCeI1fhGQuRZ+t NblyQx1ZsF9c+i9SoMS0Tv3XVV85Xp1/oD4ML2dw397qTftQ1Aj1VzbCZFHRvSaDVSc/ zNHjheBJQy755Hp+FmP/6Hzru7Fk7HhihWyuo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:to:cc:subject:date:message-id :in-reply-to:references:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-unsubscribe; bh=htvxOo0qCdTI52vZgefRxn/B69M1lQkNKuJVt8Cf1io=; b=Ali6q6SuIh/NOIbfc/LHdPBZGdbK2ldmtDxBhUivi93hl5RomQChT8fNQAFpMWQEoy ISLViUPT7rjPoQRlq7WNAsKHVztGlAmJGr4814tyvwXN2f221/WJYptRPdlALcORmiTT mzV4t6xbUsklJYKsRVXnGwrWkXsFpJVyK7AgK3NLp4LsXt9xpkZYpd0yDbXnfGNOR0SB OdX+i/1m+dUlt0qhGxK+fZs45QWEbCyxJLltgbmwrVA1eHEdgq0NgaVMDUGyTmywVcc5 Mxr53ixVSiD9rZNMqkk5Cfk9lOUCKz8am/C7lGGtCrH3QpIF5YOaIDVZaKmzFN+l9GM7 84Ow== X-Gm-Message-State: AGi0Pub7KqiWtYSm6FyS9pjUt8nchWhW5x9Wb0/CjK4EX6A13/QiW5bK njw1ssaISKh7PbyRaeCmm7HD7wkL X-Google-Smtp-Source: APiQypLDD53XsfnBHt2kOw6fDfI7MBR7RW9gpFxXHLQ4APPifZWFveRGKBx+qcJIUHXwH+mRWXTYiw== X-Received: by 2002:a25:bf8c:: with SMTP id l12mr19312121ybk.504.1587391548307; Mon, 20 Apr 2020 07:05:48 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a25:f305:: with SMTP id c5ls2289987ybs.11.gmail; Mon, 20 Apr 2020 07:05:48 -0700 (PDT) X-Received: by 2002:a25:d28e:: with SMTP id j136mr18760311ybg.463.1587391546932; Mon, 20 Apr 2020 07:05:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587391546; cv=none; d=google.com; s=arc-20160816; b=b+7qA/x6F3/x/ynHAXO1ukoe/uEwd6zcj9Q8sUoPiA/Npt4Y9lOGVAT1Q1Ob8lL6Oo 3gywWOF3/2QMZPRjAkISzH7laQiEsKwtgPNIRJo+C7Nz4/U32XEGnBy9aQaiYkO92rne H3moopOL2GNrxnEQYTcRhlso5LimaawWEkGEvBhWPGNWlLpFcCFanX8z9F/S8kb88mvn JW3lJhpJPsU7OBsZp7AcDwukJ5rTmzsfr3WDBcz7ziQUqv4p/w70gldEJ60DRIyPuwTn BH1DlyCrmAwGJ+WH57I0SRcwPo6Xg174nP8vKmd96uf7U222+Tw9uEQz3Mj6ytpgqbVc 0zzQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=/X9FLB6Ssx9IwqUYf5zaM2qKPR9u5phW7ngbUAJ1eX8=; b=bR7+xbr6qIWvcSxDZ3ayPQDss2Q5mpxkL/FAk9OS2TwHft8EeJO9TlkPR7SScMdF9Q SWigZO80lhAN/QNrVzj4DA053vsWONgNBhce26dNbQYnUfzSITDk/TMH1As6eO1+RmqF T219a7HEVhyuUgGPYcwokb9gNaDNPBsFyeqIHielrVG/XrXW53eH7viWIHCnTvMkZlm+ aw0WCRtLw/rzMngeONV/5jkGxe6cYlPYQhZyu3y22EyPXHzGP1DS6fFnxLoPxdtTkLgS XzOE0NfMADiDMcmfRspZSbgtra0t37h3pdPp34dXHEUqwUo9hLOjncHIxW3NU2yR+Cq2 9kcA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=KqD+ipUI; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id p62sor743125yba.194.2020.04.20.07.05.46 for <linux-amarula@amarulasolutions.com> (Google Transport Security); Mon, 20 Apr 2020 07:05:46 -0700 (PDT) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; X-Received: by 2002:a62:178b:: with SMTP id 133mr16996517pfx.61.1587391546484; Mon, 20 Apr 2020 07:05:46 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:7ddc:e17b:a9b3:404]) by smtp.gmail.com with ESMTPSA id z23sm1197219pfr.136.2020.04.20.07.05.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Apr 2020 07:05:46 -0700 (PDT) From: Jagan Teki <jagan@amarulasolutions.com> To: pragnesh.patel@sifive.com, rick@andestech.com, u-boot@lists.denx.de Cc: bmeng.cn@gmail.com, sagar.kadam@sifive.com, paul.walmsley@sifive.com, troy.benjegerdes@sifive.com, palmerdabbelt@google.com, anup.patel@wdc.com, atish.patra@wdc.com, linux-amarula@amarulasolutions.com, Jagan Teki <jagan@amarulasolutions.com> Subject: [PATCH 5/5] sifive: fu540: Enable SF distro bootcmd Date: Mon, 20 Apr 2020 19:35:14 +0530 Message-Id: <20200420140514.25847-6-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200420140514.25847-1-jagan@amarulasolutions.com> References: <20200420140514.25847-1-jagan@amarulasolutions.com> X-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=KqD+ipUI; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: <linux-amarula.amarulasolutions.com> X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: <https://groups.google.com/a/amarulasolutions.com/group/linux-amarula/post>, <mailto:linux-amarula@amarulasolutions.com> List-Help: <https://support.google.com/a/amarulasolutions.com/bin/topic.py?topic=25838>, <mailto:linux-amarula+help@amarulasolutions.com> List-Archive: <https://groups.google.com/a/amarulasolutions.com/group/linux-amarula/> List-Unsubscribe: <mailto:googlegroups-manage+476853432473+unsubscribe@googlegroups.com>, <https://groups.google.com/a/amarulasolutions.com/group/linux-amarula/subscribe> |
Series |
|
Related | show |
diff --git a/include/configs/sifive-fu540.h b/include/configs/sifive-fu540.h index 68fda14d76..f21411a701 100644 --- a/include/configs/sifive-fu540.h +++ b/include/configs/sifive-fu540.h @@ -43,9 +43,11 @@ #ifndef CONFIG_SPL_BUILD #define BOOT_TARGET_DEVICES(func) \ func(MMC, mmc, 0) \ + func(SF, sf, 0) \ func(DHCP, dhcp, na) #include <config_distro_bootcmd.h> +#include <environment/distro/sf.h> #define TYPE_GUID_LOADER1 "5B193300-FC78-40CD-8002-E86C45580B47" #define TYPE_GUID_LOADER2 "2E54B353-1271-4842-806F-E436D6AF6985" @@ -70,7 +72,8 @@ "type_guid_gpt_loader2=" TYPE_GUID_LOADER2 "\0" \ "type_guid_gpt_system=" TYPE_GUID_SYSTEM "\0" \ "partitions=" PARTS_DEFAULT "\0" \ - BOOTENV + BOOTENV \ + BOOTENV_SF #define CONFIG_PREBOOT \ "setenv fdt_addr ${fdtcontroladdr};" \
Enable SPI flash(SF) distro boot command in Sifive FU540. This distro boot will read the boot script at specific location at the flash and start sourcing the same. Included the SF device at the last of the target devices list since all the rest of the devices on the list have more possibility to boot the distribution due to the size of the SPI flash is concern. Signed-off-by: Jagan Teki <jagan@amarulasolutions.com> --- include/configs/sifive-fu540.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)