From: Sascha Hauer <s.hauer@pengutronix.de>
To: Barebox List <barebox@lists.infradead.org>
Subject: [PATCH 2/2] ARM: i.MX6ul: TQMa6ul: install barebox on eMMC boot partitions
Date: Mon, 26 Feb 2024 15:14:58 +0100 [thread overview]
Message-ID: <20240226141458.620463-2-s.hauer@pengutronix.de> (raw)
In-Reply-To: <20240226141458.620463-1-s.hauer@pengutronix.de>
Install barebox on the eMMC boot partitions which offer enough space
for bigger barebox images and which also provides a failsafe update.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
arch/arm/boards/tqma6ulx/board.c | 2 +-
arch/arm/dts/imx6ul-tqma6ul-common.dtsi | 5 -----
2 files changed, 1 insertion(+), 6 deletions(-)
diff --git a/arch/arm/boards/tqma6ulx/board.c b/arch/arm/boards/tqma6ulx/board.c
index 04e35c199e..c559568880 100644
--- a/arch/arm/boards/tqma6ulx/board.c
+++ b/arch/arm/boards/tqma6ulx/board.c
@@ -84,7 +84,7 @@ static int mba6ulx_probe(struct device *dev)
imx6_bbu_internal_mmc_register_handler("SD", "/dev/mmc1.barebox", flags);
flags = bootsource_get_instance() == 0 ? BBU_HANDLER_FLAG_DEFAULT : 0;
- imx6_bbu_internal_mmc_register_handler("eMMC", "/dev/mmc0", flags);
+ imx6_bbu_internal_mmcboot_register_handler("eMMC", "/dev/mmc0", flags);
if (bootsource_get_instance() == 0)
of_device_enable_path("/chosen/environment-sd");
diff --git a/arch/arm/dts/imx6ul-tqma6ul-common.dtsi b/arch/arm/dts/imx6ul-tqma6ul-common.dtsi
index 71a447a394..5ff318fcfc 100644
--- a/arch/arm/dts/imx6ul-tqma6ul-common.dtsi
+++ b/arch/arm/dts/imx6ul-tqma6ul-common.dtsi
@@ -27,11 +27,6 @@ partitions {
#address-cells = <1>;
#size-cells = <1>;
- partition@0 {
- label = "barebox";
- reg = <0x0 0xe0000>;
- };
-
environment_emmc: partition@e0000 {
label = "barebox-environment";
reg = <0xe0000 0x20000>;
--
2.39.2
next prev parent reply other threads:[~2024-02-26 14:16 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-26 14:14 [PATCH 1/2] ARM: i.MX6ul: TQMa6ul: fix mmc aliases Sascha Hauer
2024-02-26 14:14 ` Sascha Hauer [this message]
2024-02-27 7:15 ` Sascha Hauer
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=20240226141458.620463-2-s.hauer@pengutronix.de \
--to=s.hauer@pengutronix.de \
--cc=barebox@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