This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/PROCESSOR-SDK-AM335X: MMC mount point

Part Number: PROCESSOR-SDK-AM335X


Tool/software: Linux

Hi,

I have a custom AM335X board, with eMMC on AM335X mmc1 port and SD card on AM335X mmc0 port. everything is fine I am able to detect both mmc0 and mmc1 after boot . The mount point of emmc changes to mmcblk1 once the sd card is inserted . I want to mount emmc always as mmcblk0 .I am using 4.4 kernel with the old kernel I am able to do using the below function in board file .But i am not able to figure out where can we alter the card priority in 4. series of kernel . Kindly show me a way ,whether we need to alter dts to change the mount point or we need to do that in driver.

static struct omap2_hsmmc_info am335x_mmc[] __initdata = {
{
/* will be set at runtime */
},
{
.mmc = 1,
.caps = MMC_CAP_4_BIT_DATA,
.gpio_cd = GPIO_TO_PIN(0, 6),
.gpio_wp = GPIO_TO_PIN(3, 18),
.ocr_mask = MMC_VDD_32_33 | MMC_VDD_33_34, /* 3V3 */
},
{
.mmc = 0, /* will be set at runtime */
},
{} /* Terminator */
};
with regards
pranav