[U-Boot] [PATCH 1/2] arm: dts: odroid-c2: assign mmc device number 0 to eMMC slot

Andreas Färber afaerber at suse.de
Sat Apr 15 18:52:17 UTC 2017


Am 14.04.2017 um 17:52 schrieb Heiner Kallweit:
> Am 14.04.2017 um 15:39 schrieb Andreas Färber:
>> Am 14.04.2017 um 10:24 schrieb Heiner Kallweit:
>>> In most cases Odroid C2 is used with a eMMC card. So far the eMMC slot
>>> was assigned dev number 1 (0 is the SD slot). So on uboot prompt
>>
>> U-Boot
>>
>>> we had to manually switch the mmc device first. Therefore change the
>>> device number assignment.
>>
>> Objection, this differs from Linux and will be overwritten on next dts sync.
>>
> That's true .. From my perspective best solution would be if U-Boot wouldn't
> assign a device id at all to a SD slot w/o card inserted.
> However it seems like the current mmc core doesn't support this.

It is perfectly valid to not have an SD card in the slot and then to run
"mmc rescan" after inserting one. So the device should definitely not be
hidden.

Regards,
Andreas

-- 
SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Felix Imendörffer, Jane Smithard, Graham Norton
HRB 21284 (AG Nürnberg)


More information about the U-Boot mailing list