Message ID | 20200519192340.16624-10-jagan@amarulasolutions.com |
---|---|
State | New |
Headers | show
Return-Path: <linux-amarula+bncBD7MFH7A7EEBBDPFSD3AKGQEAGCQROQ@amarulasolutions.com> X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pg1-f199.google.com (mail-pg1-f199.google.com [209.85.215.199]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 90D503F086 for <linux-amarula@patchwork.amarulasolutions.com>; Tue, 19 May 2020 21:25:02 +0200 (CEST) Received: by mail-pg1-f199.google.com with SMTP id u76sf555691pgc.1 for <linux-amarula@patchwork.amarulasolutions.com>; Tue, 19 May 2020 12:25:02 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1589916301; cv=pass; d=google.com; s=arc-20160816; b=Tx/dypyJWoVNqq3ElU9avMdYwc+XI9IFGOb5lo37K4meBTUoM6YZf25KfuJY4RXWeV 0AOo4D/jnQxHVUv8zSCKEpaEwbfETqc+CzceAuINZpuYpK9SJN5GBNEnZX0RQq5EEim8 +CI3Yotk3ld+S2KG1bVxAH4g4exwYa+RVAKR8tIbm3OB2j3DuH+Jnq4+wZRX/imneoPB +M+x7E6efZ9s3XE2iVu/NAi9iE3dxhyeSSsyxU0Zh6D20U6B/PB8mHSm5yxD87NU9k8Z Vvtt1ICmLqa/dV0wSOOf3Zl2AYnb6xLA6KjLCp18EIB6FFhELiNWBUIVukOd38R1bmjK bL5A== 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:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=URJRr9ADa0OW/qkH6PzgXbNQL8vkBEWMOV0BAAKjmUQ=; b=CHXnXSsOZo1lCb5f5jU4hTpgBJrmpZuo61fSRcQrMy0opk8czoSWxRzz+9axOLRi8V 9BxNvS6izptO/4FVQE07aSJ8xDusTUBjYkGkM+Onz6N4H/GyHJ70IHu2jbot9UgPpljU qSWUxXDvFuntumV07DJIxpRav1sYuPtfhNgm4MMxXIG2lH0bjnm5ONLdjb8I98qL7ord sqw5otcSekQteugNb40yUz/irbYzDVQINNbJeupmNwhxJVX16uHuG7Zd/NMQKWcSMgyw Y0uCWHDfBjEnt/x+k/2NFG42b2FeBUBNZwQTTseI71ysa3yTQ7hDQHnpNOJMX0wQ28VG No3g== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=rkvUNwhl; 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=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=URJRr9ADa0OW/qkH6PzgXbNQL8vkBEWMOV0BAAKjmUQ=; b=jRMMobYaMfDuI/Vq/oM1GYUOQuePwl7jbkDKjF9YcSm7r0C0WrLbFiOkpzojvL6dFt 4gwCyNhC4wmhDpalt3QiPrzeT6sjJurJc8Q9++mSz2rDK9aNWM5qLytIt7Y0PznHSmoA EXG5K6T7a0cUKKojA2LFWeTREUHAVOCQCUdIM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version: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=URJRr9ADa0OW/qkH6PzgXbNQL8vkBEWMOV0BAAKjmUQ=; b=C74JSn6nFeOLPoeNFH314qx9u6uS1Fojp73LkhFkpbmUNZyunPRfjYyxU7Xs1hhtM+ OIbgDnKhwBD2pQHfDYGBtTwQ51oKRHnbdYn3hOMmsTBNCWhzRHXscaERXDurTCRrOLL0 tIJS7pKqS3d0uYP83Io/HbL93vWQ8xbtPBks4eIjNqBz0ETexUFlXpfJrjoRHsoDHymW G9o0RsSoh+lZdUadHwZG9VgU8/z12+eP4uqSEeG+lRkIzzklyJcYAyAOypUWg5RBdkxw LohCMe6tujfm9GVLj50BUFvu9zuGDASvYBZ11UoUyN3H0vLePp8fhwIq0mMgrz3f92N2 jy0w== X-Gm-Message-State: AOAM5328h5Zaiyok0wC5GilOlvRi0ey8AUdzCdr2aPhxPcPUvP3Ef/zp DCfwHpuo/8gTBbf0XMhXcfu0lxHO X-Google-Smtp-Source: ABdhPJwz3RnlMt8gV9AXGHgclWS8HgldRq2PTF5EYCskwONbzS917oh1cqjD2KNzQ9MX0BPyosfNSA== X-Received: by 2002:aa7:9ad9:: with SMTP id x25mr624850pfp.179.1589916301405; Tue, 19 May 2020 12:25:01 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:902:12c:: with SMTP id 41ls102247plb.2.gmail; Tue, 19 May 2020 12:25:01 -0700 (PDT) X-Received: by 2002:a17:90a:c284:: with SMTP id f4mr1182530pjt.68.1589916300884; Tue, 19 May 2020 12:25:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589916300; cv=none; d=google.com; s=arc-20160816; b=cfhYAnB4dYHEHNzW1jiA34LUsxhN/CmI/otgzS2oDiP8W0Ji4XOzh91zb15lc3dXOs ZpV2Ux1w7AQgb6HVMSqwpMcT/i7JsUErZ7VRlDLUF8u6ytE4BESjmpH9cEqTQdFWYz39 +vhczDaFTioD84ws6OxoTQdNhOmr/GTsQzS/U+V1tJnGUE3OTludSOvwOm7FF+Jo0Zcx wKblF+6LNs++sHXBxA+TU2q/QQe7GmV/x67ejl0Qw7693EfARahlTS9/qicJfoN0KUqE olmeh5TrlbzZtBOoliArm0RNQkftbT7r60B0YlnrcqUup6+y8hixD8vaS/uBW3NmtUta 4+LQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=yNd1yFhWYcDllJiJJ9+yuaO19BfAZRDmvARM5Sau0n4=; b=hyEyzeAD58gy0EY77rI+JQ0TfZu5JFsMqZmrvQLEueLos/q2uXnt7kF9kHSPaB1n4J 741zUtAWm+5cFA9ZlxZ0SkU6YioJaHSJbOFRHG6jH1F214eB0dO49kjQ46+s+WDiNNKl oWM9Y2wFPDHLTFA+KC/rI/p3RLG8UGV5fld2/3HorsdddQUqXE6aswsRB9IiFI6zWfMv wVaAa088FZhlpsi5+B9HxxuwCsKAtxZGpSTkx/OdzwxcTaXVppsh5vS0bV2t1kmkceAA UGBHShz+ZnrcilpXaIaFn/T1X9nzfzGuOXDFwF5Av+joW08c68pdT6ggBvU+Yh78L8oK 68QQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=rkvUNwhl; 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 y16sor854823pjp.37.2020.05.19.12.25.00 for <linux-amarula@amarulasolutions.com> (Google Transport Security); Tue, 19 May 2020 12:25:00 -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:a17:90a:648c:: with SMTP id h12mr1113560pjj.229.1589916300538; Tue, 19 May 2020 12:25:00 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:713c:4a0a:47eb:ffcd]) by smtp.gmail.com with ESMTPSA id w192sm222553pff.126.2020.05.19.12.24.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 May 2020 12:24:59 -0700 (PDT) From: Jagan Teki <jagan@amarulasolutions.com> To: Rick Chen <rick@andestech.com>, Atish Patra <atish.patra@wdc.com>, Palmer Dabbelt <palmerdabbelt@google.com>, Bin Meng <bmeng.cn@gmail.com>, Paul Walmsley <paul.walmsley@sifive.com>, Anup Patel <anup.patel@wdc.com>, Sagar Kadam <sagar.kadam@sifive.com> Cc: u-boot@lists.denx.de, linux-amarula@amarulasolutions.com, Jagan Teki <jagan@amarulasolutions.com> Subject: [PATCH v2 9/9] sifive: fu540: Enable SF distro bootcmd Date: Wed, 20 May 2020 00:53:40 +0530 Message-Id: <20200519192340.16624-10-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200519192340.16624-1-jagan@amarulasolutions.com> References: <20200519192340.16624-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=rkvUNwhl; 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> --- Changes for v2: - none include/configs/sifive-fu540.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)