mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-04-04 05:21:32 +00:00
sunxi: only include alias for eMMC when mmc2 used
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>
This commit is contained in:
parent
08bdb976b7
commit
03510bf621
1 changed files with 2 additions and 0 deletions
|
@ -13,7 +13,9 @@
|
||||||
/ {
|
/ {
|
||||||
aliases {
|
aliases {
|
||||||
mmc0 = &mmc0;
|
mmc0 = &mmc0;
|
||||||
|
#if CONFIG_MMC_SUNXI_EXTRA_SLOT == 2
|
||||||
mmc1 = &mmc2;
|
mmc1 = &mmc2;
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
binman: binman {
|
binman: binman {
|
||||||
|
|
Loading…
Add table
Reference in a new issue