Message ID | 20200420140514.25847-5-jagan@amarulasolutions.com |
---|---|
State | New |
Headers | show
Return-Path: <linux-amarula+bncBD7MFH7A7EEBBN6Y632AKGQEYBQNFRQ@amarulasolutions.com> X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-yb1-f199.google.com (mail-yb1-f199.google.com [209.85.219.199]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 309933F086 for <linux-amarula@patchwork.amarulasolutions.com>; Mon, 20 Apr 2020 16:05:44 +0200 (CEST) Received: by mail-yb1-f199.google.com with SMTP id l187sf11914003ybf.17 for <linux-amarula@patchwork.amarulasolutions.com>; Mon, 20 Apr 2020 07:05:44 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1587391543; cv=pass; d=google.com; s=arc-20160816; b=HwIuH4rvQt99KTewifkZd+M3i/1VgIbv8xlhh7gjJHXZdK0c+OLfh4YzJqcMvNcvFu kgSf0t3oWF5aqTIz66GXjrZYtOD81tnZ4iq7Gt+iXxCxHm2I6fvU1Yf3deHjC1INxuhG KsLIHv5q5SA5GRNWvaLprYMrYP7KT6IDwwIOGZJTiWntGkUukrOrX3rK6dNBmjCHY/qO 5mvzD3ovRknGjmL4s27ru3X688yrcANVZYLye9CjKfzfsacnodYcqvheFxDN8YYAHBSd O+GBJKXfKgv7BU7ugMYRj9TVC+tLe5yMYmcJFUr+ORwJL9ffQSwOOlSfWybos27U87dQ 7gKg== 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=sE47vr6dbcznw1Qa1e/M/X6KEkgQx18Fqh5l7cs2DQ8=; b=kzMtWG1xYimWRxcsBExH8WQf1uxKj9Tj3rZ2zbyBikn2V0MD6ahJvyXZZrv1CJKr4b Rg+K9aAy4UZmtmvITmXh3lEMEQT6uu/SwSFz9NKcBakac1/mVCWK/btJiv3JEdhSboWP Z/Bi/e5RZOJ3qjO0BSmgaIzHQn0GdcR9cufznc/zX0v3V4CVC7xMDsAnieijBYBYqn9F O4mMeyZODrJoMhqZHwrjDgDPCw513p1jrysfszdTThwlOrmY3pXVWaERvz0eoafRwaHV wfM5q3KIw/mjdt7N+Fpe4zI3f3C/PZAsb3GOD0DRWhobpDk5rBgo10/PssrrhFNDHqa3 mVSg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=E7xNRlA3; 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=sE47vr6dbcznw1Qa1e/M/X6KEkgQx18Fqh5l7cs2DQ8=; b=qZuhD3jxLrAYtqlShcd+2jtG6Cs3eRBXHmN4LcdZt7VPlENkoLlRWu5lQ57gQRJqvM phGEHey/584rwNi/DflLqkDnSs1UAoMFUFxQOxM/tGzX0hNbwee9c+tnd/r/aYqPgzLr r6be81QwT4sjB3KY0PeatEA/x0WAYt93yhGvk= 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=sE47vr6dbcznw1Qa1e/M/X6KEkgQx18Fqh5l7cs2DQ8=; b=gbqHlyYch5zqynY+f7PodKspWVFryiQsyEfVqAZj4UnLlYr+EgWuKVTQ5ltEZ/CCf3 kgRuWKl6GRYJXMIPcCTcarnulH08ffgTrbCGb+MkKVTsDmFIxjVsZYsPsIF2yBGSa2ln WGbmXNEB234Am5J5umK57LClF8/+eI7LhGrdFeQ2uzPVFdWu2MGcoBuA/AqP/ov5HNFm IBaFMUDOco1Sz6CqP7KralLUY0lbiiCTc/w4/78G2qEGMc//+Cymz4Ob+ViMfkqyVHVb L9qSRSs61gVarrKir3Snbc06et7IAQ4ZKLYKB9AMUid7HIxCb/47qqM/43FGoN+C5otO 6noQ== X-Gm-Message-State: AGi0PuaREAKM2mz6VwjnU5e8l2ufmVKeLgx89iUbLx7paXAOB1K1YikU UnCGZ0LGDsj5z+/fJoEc1N4k9F4v X-Google-Smtp-Source: APiQypL7ie9yIRpO2syA6visXeGw0F98EmDziwAz3mH9sgFJ7rwf7e2E1gTKEQNCzQh2ffmfEkqOVg== X-Received: by 2002:a05:6902:6d0:: with SMTP id m16mr18864796ybt.165.1587391543268; Mon, 20 Apr 2020 07:05:43 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a25:15c9:: with SMTP id 192ls3985280ybv.6.gmail; Mon, 20 Apr 2020 07:05:43 -0700 (PDT) X-Received: by 2002:a5b:351:: with SMTP id q17mr18875534ybp.428.1587391542784; Mon, 20 Apr 2020 07:05:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587391542; cv=none; d=google.com; s=arc-20160816; b=yljZrVdbQxTaIwr7BeTye79Z7hQ/EwkqIsVrixgaR2Vsl9sSVpeMGwMM4Yf5Gn8UZt lBlELnVixNdrHiLMESGC0mixs6JmHlxF80OWKcX3LPffk2ydgHOYXw2p60mnqkyi9ovi vaPRKvSrCia3z68gz7z20FsEIgS0a96TLl44wyYrKjtG5NhPluQnoSJm2LRXHiClnyRl uWII+zBGmNI5HUFst1KQNkwLlcpECFuFF4VUrD99BlmzF9fmU9mPHyAhnTeCIt0zdFkT dwII5674V7cqvusHzVDJv9lwwnLcJvgJV7iSYJpXYH1yGC4+eyceh/M5kogABSteOpja 1psg== 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=dBEjQ7hjSgAkJvUZxt9wAMTIedFsqc60pLsW9v9UL6E=; b=CUN2bXIpJlSyT+QVZzu/1rzqnofi1PmX9QAAeNnt+SwYRxvZZASo7wJYM42aQS9Mt8 3/uacNZ3ti5AvEQVGvXFU8B1IYQufS/j541Z1iyBXjwAKaWiI24e8hadFXE2J8aYPijr /7w4xRGLc3TJYi83aHHLKG8b4jU+wUKWzZF8aCPo9T3UwPKaFldskgaOaZGWjpP4usQx qGOoaGGr1vFnmcDKf/dp2ha+G9bDFzXp5L2MAwnXByLtcygpeIWGuBg7AIpnBDV8GpIE Prha3da9JquAYC24KXXe3p22jmz/nHXiOpyJuDfVuy/r6vufFBFKe+hWwalJWk3VF5/z 2Y8w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=E7xNRlA3; 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 d70sor753954ybh.94.2020.04.20.07.05.42 for <linux-amarula@amarulasolutions.com> (Google Transport Security); Mon, 20 Apr 2020 07:05:42 -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:fd89:: with SMTP id cx9mr21208014pjb.64.1587391542433; Mon, 20 Apr 2020 07:05:42 -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.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Apr 2020 07:05:41 -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 4/5] sifive: fu540: Add boot flash script offset, size Date: Mon, 20 Apr 2020 19:35:13 +0530 Message-Id: <20200420140514.25847-5-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=E7xNRlA3; 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 72c841eb9b..68fda14d76 100644 --- a/include/configs/sifive-fu540.h +++ b/include/configs/sifive-fu540.h @@ -62,6 +62,8 @@ "kernel_addr_r=0x84000000\0" \ "fdt_addr_r=0x88000000\0" \ "scriptaddr=0x88100000\0" \ + "script_offset_f=0x1fff000\0" \ + "script_size_f=0x1000\0" \ "pxefile_addr_r=0x88200000\0" \ "ramdisk_addr_r=0x88300000\0" \ "type_guid_gpt_loader1=" TYPE_GUID_LOADER1 "\0" \
HiFive-Unleashed-A00 has SPI flash with 32MiB size. So, let's use the script offset at the end of 4K. This way it cannot overlap any offsets being used by software components in flash layout. So, SF distrocmd will pick the script at desired script address and run. Signed-off-by: Jagan Teki <jagan@amarulasolutions.com> --- include/configs/sifive-fu540.h | 2 ++ 1 file changed, 2 insertions(+)