accessing MMC2 from u-boot?

I am trying to fgure out how to add a second SD card slot to the
expansion header. To test this I have tried

mmc init 2
mmc device 2

but fatls mmc 2 still shows the root file of partition 1 of the main
MMC.

The interesting thing is that I can even say

mmc init 4711

and u-Boot tells it is available or the current device :slight_smile:

OMAP3 beagleboard.org # mmc init 4711
mmc4711 is available
OMAP3 beagleboard.org # mmc device
mmc4711 is current device
OMAP3 beagleboard.org #

So to me it looks as if it is ignored. Can anyone confirm? Or tell me
how to change u-boot to enable multiple MMC cards?

I am using the latest u.boot incl. the patches recently submitted to
mainstream uboot.

Thanks,
Nikolaus

Ok,
I have found out so far that the MMC2 pins on the expansion header are
muxed to be GPIO inputs (in beagle.h). I.e. I have to build my own u-
boot.

Nikolaus