projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
08bdb97
)
sunxi: only include alias for eMMC when mmc2 used
author
Icenowy Zheng
<icenowy@sipeed.com>
Thu, 22 Jul 2021 06:30:04 +0000
(14:30 +0800)
committer
Andre Przywara
<andre.przywara@arm.com>
Mon, 25 Oct 2021 13:54:50 +0000
(14:54 +0100)
Some Allwinner SoCs (e.g. R329) doesn't have a MMC2 controller at all,
and on boards that we do not utilize MMC2, the alias for it is just
useless.
Only include the alias when we specify CONFIG_MMC_SUNXI_EXTRA_SLOT to 2.
Signed-off-by: Icenowy Zheng <icenowy@sipeed.com>
Reviewed-by: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
arch/arm/dts/sunxi-u-boot.dtsi
patch
|
blob
|
history
diff --git
a/arch/arm/dts/sunxi-u-boot.dtsi
b/arch/arm/dts/sunxi-u-boot.dtsi
index
4a6ed3a
..
b7244c1
100644
(file)
--- a/
arch/arm/dts/sunxi-u-boot.dtsi
+++ b/
arch/arm/dts/sunxi-u-boot.dtsi
@@
-13,7
+13,9
@@
/ {
aliases {
mmc0 = &mmc0;
/ {
aliases {
mmc0 = &mmc0;
+#if CONFIG_MMC_SUNXI_EXTRA_SLOT == 2
mmc1 = &mmc2;
mmc1 = &mmc2;
+#endif
};
binman: binman {
};
binman: binman {