Skip to contentSkip to conversation

improve mmc init sequence

RFC Shawn Lin 3 participants 3 messages Mar 17, 2016 MMC, SD and SDIO

lore
Share & tools
lore

Shawn Lin

author
#0 lore raw

Hello Ulf,
I notice we add MMC_CAP2_NO_SDIO to avoid sending sdio commands during
initialization. So that means we can use it to improve mmc init
sequence if a specific board use one slot just for emmc or sd. But I realize that we can move a step further to add more cap2 like NO_SD/ NO_MMC in order to reduce the boot time. Does that make sense? If the
answer is *yes*, I am happy to push some patches for it since I have
been doing it on my local tree and testing for a long time.

Signature · 2 lines
Best Regards
Shawn Lin
#1 lore raw
Quoted 8 lines · Shawn Lin

Hello Ulf,
I notice we add MMC_CAP2_NO_SDIO to avoid sending sdio commands
during initialization. So that means we can use it to improve mmc init sequence if a specific board use one slot just for emmc or sd. But I realize that we can move a step further to add more cap2 like NO_SD/ NO_MMC in order to reduce the boot time. Does that make sense? If the answer is *yes*, I am happy to push some patches for it since I have been doing it on my local tree and testing for a long time.

I am not against it, so please go ahead!

Although, you need to give some proof of the amount of saved boot time (or better the decreased initialization time of a couple of different cards).

Kind regards
Uffe

#2 lore raw
Quoted 10 lines · Ulf Hansson
Quoted 8 lines · Shawn Lin

Hello Ulf,
I notice we add MMC_CAP2_NO_SDIO to avoid sending sdio commands
during initialization. So that means we can use it to improve mmc init sequence if a specific board use one slot just for emmc or sd. But I realize that we can move a step further to add more cap2 like NO_SD/ NO_MMC in order to reduce the boot time. Does that make sense? If the answer is *yes*, I am happy to push some patches for it since I have been doing it on my local tree and testing for a long time.

Quoted 5 lines

I am not against it, so please go ahead!

Although, you need to give some proof of the amount of saved boot time (or better the decreased initialization time of a couple of different cards).

I have already tested with similar sequence..I have remembered there is a benefit for decreasing the booting time. But i didn't remember how much time is decreased...because it wast too long time ago.

Best Regards,
Jaehoon Chung

Quoted 9 lines

Kind regards
Uffe
--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html