OpenSBI Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: pyjmstr@gmail.com <pyjmstr@gmail.com>
To: opensbi@lists.infradead.org
Subject: [PATCH] docs/firmware: update the document
Date: Thu, 20 Oct 2022 22:41:08 +0800	[thread overview]
Message-ID: <20221020144108.4034-1-pyjmstr@gmail.com> (raw)

From: Yangjie Zhang <pyjmstr@gmail.com>

Since
commit 9c07c513aa9b ("firmware:Remove FW_PAYLOAD_FDT_PATH compile-time option"),
the section where FDT would be embedded in has changed from *.text* to *.rodata*,
but some places in fw_payload.md and fw.md are still *.text*.
This patch updates the document.

Signed-off-by: Yangjie Zhang <pyjmstr@gmail.com>
---
 docs/firmware/fw.md         | 2 +-
 docs/firmware/fw_payload.md | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/docs/firmware/fw.md b/docs/firmware/fw.md
index 5a67848..18faaa9 100644
--- a/docs/firmware/fw.md
+++ b/docs/firmware/fw.md
@@ -53,7 +53,7 @@ the booting stage to follow OpenSBI firmware.
 A *FW_PAYLOAD* firmware is also useful for cases where the booting stage prior
 to OpenSBI firmware does not pass a *flattened device tree (FDT file)*. In such
 case, a *FW_PAYLOAD* firmware allows embedding a flattened device tree in the
-.text section of the final firmware.
+.rodata section of the final firmware.
 
 Firmware Configuration and Compilation
 --------------------------------------
diff --git a/docs/firmware/fw_payload.md b/docs/firmware/fw_payload.md
index 3bb918f..3d50ddc 100644
--- a/docs/firmware/fw_payload.md
+++ b/docs/firmware/fw_payload.md
@@ -12,7 +12,7 @@ firmware and the booting stage to follow OpenSBI firmware.
 A *FW_PAYLOAD* firmware is also useful for cases where the booting stage prior
 to the OpenSBI firmware does not pass a *flattened device tree (FDT file)*. In
 such a case, a *FW_PAYLOAD* firmware allows embedding a flattened device tree
-in the .text section of the final firmware.
+in the .rodata section of the final firmware.
 
 Enabling *FW_PAYLOAD* compilation
 ---------------------------------
-- 
2.34.1



             reply	other threads:[~2022-10-20 14:41 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-20 14:41 pyjmstr [this message]
2022-10-21  1:55 ` [PATCH] docs/firmware: update the document Bin Meng
2022-10-23  5:18 ` Anup Patel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20221020144108.4034-1-pyjmstr@gmail.com \
    --to=pyjmstr@gmail.com \
    --cc=opensbi@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox