[PATCH 2/2] ARM: i.MX6ul: TQMa6ul: install barebox on eMMC boot partitions
Sascha Hauer
s.hauer at pengutronix.de
Mon Feb 26 06:14:58 PST 2024
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 at 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 at 0 {
- label = "barebox";
- reg = <0x0 0xe0000>;
- };
-
environment_emmc: partition at e0000 {
label = "barebox-environment";
reg = <0xe0000 0x20000>;
--
2.39.2
More information about the barebox
mailing list