From: Daniel Schultz <d.schultz@phytec.de>
To: <u-boot@lists.denx.de>, <trini@konsulko.com>, <upstream@lists.phytec.de>
Cc: <w.egorov@phytec.de>, <t.remmet@phytec.de>, <d-gole@ti.com>,
Benjamin Hahn <B.Hahn@phytec.de>,
Daniel Schultz <d.schultz@phytec.de>
Subject: [PATCH v2 5/9] include: env: phytec: renaming of variables according to bootstd doc
Date: Tue, 16 Jul 2024 22:11:30 -0700 [thread overview]
Message-ID: <20240717051134.1538180-6-d.schultz@phytec.de> (raw)
In-Reply-To: <20240717051134.1538180-1-d.schultz@phytec.de>
From: Benjamin Hahn <B.Hahn@phytec.de>
Rename existing environment variables according to the bootstd doc.
Renamed variables are fdto_addr, bootenv_addr, fdt_addr.
Signed-off-by: Benjamin Hahn <B.Hahn@phytec.de>
Signed-off-by: Daniel Schultz <d.schultz@phytec.de>
Reviewed-by: Wadim Egorov <w.egorov@phytec.de>
---
include/env/phytec/overlays.env | 19 ++++++++++---------
1 file changed, 10 insertions(+), 9 deletions(-)
diff --git a/include/env/phytec/overlays.env b/include/env/phytec/overlays.env
index febb991f4f5..78721cde654 100644
--- a/include/env/phytec/overlays.env
+++ b/include/env/phytec/overlays.env
@@ -6,32 +6,33 @@
/* Logic to load and apply overlays. Load overlays from bootenv.txt into
* environment and apply those overlays.
- * The variables bootenv_addr and fdto_addr are board specific. */
+ * The variables bootenv_addr_r and fdtoverlay_addr_r are board specific.
+ * get_cmd can be either tftp or dhcp. */
bootenv=bootenv.txt
-mmc_load_bootenv=load mmc ${mmcdev}:${mmcpart} ${bootenv_addr} ${bootenv}
-mmc_load_overlay=load mmc ${mmcdev}:${mmcpart} ${fdto_addr} ${overlay}
+mmc_load_bootenv=load mmc ${mmcdev}:${mmcpart} ${bootenv_addr_r} ${bootenv}
+mmc_load_overlay=load mmc ${mmcdev}:${mmcpart} ${fdtoverlay_addr_r} ${overlay}
mmc_apply_overlays=
- fdt address ${fdt_addr};
+ fdt address ${fdt_addr_r};
if test ${no_overlays} = 0; then
for overlay in ${overlays};
do;
if run mmc_load_overlay; then
fdt resize ${filesize};
- fdt apply ${fdto_addr};
+ fdt apply ${fdtoverlay_addr_r};
fi;
done;
fi;
-net_load_bootenv=${get_cmd} ${bootenv_addr} ${bootenv}
-net_load_overlay=${get_cmd} ${fdto_addr} ${overlay}
+net_load_bootenv=${get_cmd} ${bootenv_addr_r} ${bootenv}
+net_load_overlay=${get_cmd} ${fdtoverlay_addr_r} ${overlay}
net_apply_overlays=
- fdt address ${fdt_addr};
+ fdt address ${fdt_addr_r};
if test ${no_overlays} = 0; then
for overlay in ${overlays};
do;
if run net_load_overlay; then
fdt resize ${filesize};
- fdt apply ${fdto_addr};
+ fdt apply ${fdtoverlay_addr_r};
fi;
done;
fi;
--
2.25.1
next prev parent reply other threads:[~2024-07-17 5:12 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-17 5:11 [PATCH v2 0/9] Generalize PHYTEC Overlay Handling Daniel Schultz
2024-07-17 5:11 ` [PATCH v2 1/9] include: env: phytec: Create env file for loading and applying overlays Daniel Schultz
2024-07-17 5:11 ` [PATCH v2 2/9] phycore-imx8mp: Add overlay and bootenv.txt support Daniel Schultz
2024-07-17 5:11 ` [PATCH v2 3/9] phycore_imx93: include common overlays.env Daniel Schultz
2024-07-17 5:11 ` [PATCH v2 4/9] board: phytec: renaming of variables according to bootstd doc Daniel Schultz
2024-07-17 5:11 ` Daniel Schultz [this message]
2024-07-17 5:11 ` [PATCH v2 6/9] include: env: phytec: Add common mmc boot for K3 SoMs Daniel Schultz
2024-07-17 5:11 ` [PATCH v2 7/9] include: env: phytec: k3_mmc: Apply overlays during boot Daniel Schultz
2024-07-17 5:11 ` [PATCH v2 8/9] board: phytec: phycore_am62x: Use k3_mmc.env logic Daniel Schultz
2024-07-17 5:11 ` [PATCH v2 9/9] board: phytec: phycore_am64x: " Daniel Schultz
2024-07-23 21:04 ` [PATCH v2 0/9] Generalize PHYTEC Overlay Handling Tom Rini
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=20240717051134.1538180-6-d.schultz@phytec.de \
--to=d.schultz@phytec.de \
--cc=B.Hahn@phytec.de \
--cc=d-gole@ti.com \
--cc=t.remmet@phytec.de \
--cc=trini@konsulko.com \
--cc=u-boot@lists.denx.de \
--cc=upstream@lists.phytec.de \
--cc=w.egorov@phytec.de \
/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