Move away from using device tree to define eMMC partitions for imx8mp-skov. Adopt GPT based partitioning, specifically for the barebox-environment. And prepare it for state partition in the next patch. Signed-off-by: Oleksij Rempel <o.rempel@xxxxxxxxxxxxxx> --- arch/arm/dts/imx8mp-skov.dts | 20 +------------------- 1 file changed, 1 insertion(+), 19 deletions(-) diff --git a/arch/arm/dts/imx8mp-skov.dts b/arch/arm/dts/imx8mp-skov.dts index 4b73022938..1d4738dbd7 100644 --- a/arch/arm/dts/imx8mp-skov.dts +++ b/arch/arm/dts/imx8mp-skov.dts @@ -22,7 +22,7 @@ environment-sd { environment-emmc { compatible = "barebox,environment"; - device-path = &env_emmc; + device-path = &usdhc3, "partname:barebox-environment"; status = "disabled"; }; }; @@ -103,24 +103,6 @@ env_sd: partition@e0000 { }; }; -&usdhc3 { - partitions { - compatible = "fixed-partitions"; - #address-cells = <2>; - #size-cells = <2>; - - partition@0 { - label = "barebox"; - reg = <0x0 0x0 0x0 0x100000>; - }; - - env_emmc: partition@e0000 { - label = "barebox-environment"; - reg = <0x0 0x100000 0x0 0x100000>; - }; - }; -}; - &A53_0 { cpu-supply = <&buck2>; }; -- 2.39.2