All of lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel Schultz <d.schultz@phytec.de>
To: <w.egorov@phytec.de>, <trini@konsulko.com>,
	<joe.hershberger@ni.com>, <u-boot@lists.denx.de>
Cc: <upstream@lists.phytec.de>, Daniel Schultz <d.schultz@phytec.de>
Subject: [PATCH 02/13] include: env: phytec: k3_mmc: Rename variables
Date: Fri, 30 Aug 2024 02:09:29 -0700	[thread overview]
Message-ID: <20240830090940.2592157-3-d.schultz@phytec.de> (raw)
In-Reply-To: <20240830090940.2592157-1-d.schultz@phytec.de>

Add a mmc prefix to 'loadimage' and 'loadfdt' because we need
similar variables for other boot sources. This will prevent
name clashes and allows to implement similar boot logic.

Also switch from loadaddr to kernel_addr_r.

Signed-off-by: Daniel Schultz <d.schultz@phytec.de>
---
 include/env/phytec/k3_mmc.env | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/include/env/phytec/k3_mmc.env b/include/env/phytec/k3_mmc.env
index 3d3595ceb7e..2bce4f77d2d 100644
--- a/include/env/phytec/k3_mmc.env
+++ b/include/env/phytec/k3_mmc.env
@@ -10,12 +10,12 @@
 
 mmcargs=setenv bootargs console=${console} earlycon=${earlycon}
 	root=/dev/mmcblk${mmcdev}p${mmcroot} rootwait rw
-loadimage=load mmc ${mmcdev}:${mmcpart} ${loadaddr} Image
-loadfdt=load mmc ${mmcdev}:${mmcpart} ${fdt_addr_r} ${fdtfile}
+mmcloadimage=load mmc ${mmcdev}:${mmcpart} ${kernel_addr_r} Image
+mmcloadfdt=load mmc ${mmcdev}:${mmcpart} ${fdt_addr_r} ${fdtfile}
 mmcboot=run mmcargs;
 	mmc dev ${mmcdev};
 	mmc rescan;
-	run loadimage;
-	run loadfdt;
+	run mmcloadimage;
+	run mmcloadfdt;
 	run mmc_apply_overlays;
-	booti ${loadaddr} - ${fdt_addr_r}
+	booti ${kernel_addr_r} - ${fdt_addr_r}
-- 
2.25.1


  parent reply	other threads:[~2024-08-30  9:10 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-30  9:09 [PATCH 00/13] phycore-am62/4: Add more boot sources Daniel Schultz
2024-08-30  9:09 ` [PATCH 01/13] configs: phycore_am64x_a53_defconfig: Enable CONFIG_OF_BOARD_SETUP Daniel Schultz
2024-08-30  9:09 ` Daniel Schultz [this message]
2024-08-30  9:09 ` [PATCH 03/13] include: env: phytec: Add raucinit to k3_mmc environment Daniel Schultz
2024-08-30  9:09 ` [PATCH 04/13] include: net: phytec: Add K3 network boot logic Daniel Schultz
2024-08-30  9:09 ` [PATCH 05/13] include: env: phytec: Add K3 boot logic for OSPI/QSPI flashes Daniel Schultz
2024-08-30  9:09 ` [PATCH 06/13] board: phytec: phycore_am62x: Add Network/SPI Boot Daniel Schultz
2024-08-30  9:09 ` [PATCH 07/13] board: phytec: phycore_am64x: " Daniel Schultz
2024-08-30  9:09 ` [PATCH 08/13] configs: phycore_am62x_a53_defconfig: Make BOOTCMD generic Daniel Schultz
2024-08-30  9:09 ` [PATCH 09/13] configs: phycore_am64x_a53_defconfig: " Daniel Schultz
2024-08-30  9:09 ` [PATCH 10/13] configs: phycore_am62x_a53_defconfig: Merge am62x_a53_usbdfu.config Daniel Schultz
2024-08-30  9:09 ` [PATCH 11/13] configs: Add phycore_am62x_r5_usbdfu_defconfig Daniel Schultz
2024-08-30  9:09 ` [PATCH 12/13] configs: phycore_am62x_a53_defconfig: Fix CONFIG_ENV_SIZE Daniel Schultz
2024-08-30  9:09 ` [PATCH 13/13] configs: phycore_am62x_*_defconfig: Set PHYTEC as Manufacturer Daniel Schultz
2024-09-10 22:38 ` [PATCH 00/13] phycore-am62/4: Add more boot sources 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=20240830090940.2592157-3-d.schultz@phytec.de \
    --to=d.schultz@phytec.de \
    --cc=joe.hershberger@ni.com \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.