Skip to content

Commit

Permalink
ODROID-M1: fix access eMMC in SPL/U-Boot
Browse files Browse the repository at this point in the history
Change-Id: I52ea26a5e1625b8e880b6dba9a301ba7f7bed71a
Signed-off-by: Dongjin Kim <[email protected]>
  • Loading branch information
tobetter committed Mar 9, 2023
1 parent 7ff3b52 commit 5bec4e8
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 2 deletions.
3 changes: 1 addition & 2 deletions arch/arm/dts/rk3568-odroid-m1.dts
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,7 @@
pinctrl-0 = <&emmc_bus8
&emmc_clk
&emmc_cmd
&emmc_datastrobe
&emmc_rstnout>;
&emmc_datastrobe>;
non-removable;
cap-mmc-hw-reset;
};
Expand Down
24 changes: 24 additions & 0 deletions arch/arm/dts/rk3568-u-boot.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -380,6 +380,10 @@
&pinctrl {
u-boot,dm-pre-reloc;
status = "okay";

emmc {
u-boot,dm-spl;
};
};

&gpio0 {
Expand Down Expand Up @@ -427,3 +431,23 @@
u-boot,dm-pre-reloc;
status = "okay";
};

&emmc_bus8 {
u-boot,dm-spl;
};

&emmc_clk {
u-boot,dm-spl;
};

&emmc_cmd {
u-boot,dm-spl;
};

&emmc_datastrobe {
u-boot,dm-spl;
};

&emmc_rstnout {
u-boot,dm-spl;
};

0 comments on commit 5bec4e8

Please sign in to comment.