[U-Boot] [PATCH] mmc: it's safe to ignore mmc_send_if_cond() return value
alfred steele
alfred.jaquez at gmail.com
Fri May 15 00:37:32 CEST 2009
Hi,
> my English is not perfect really... but I'm actually having hard times
> trying to understand yours... So I give you my excuses in advance for
> possible misunderstandings...
IMO too, I know i have a horrible English . Trying to improve;) Pls
dont hesitate in asking em to rephrase.
> I believe it's enough to use mx31_gpio_mux() here. You just need to
> figure out correct arguments. But if you'll port complete iomuxing API
> from Linux and post it here I think nobody will be unhappy ;)
I get it.
>
> We don't have clocks API in U-Boot. You need to enable the clock by
> setting appropriate bit in the clocks control register manually.
Why do i have to touch the CCM? IIRC, Can't it be controlled with the
STR_STP_CLOCK (bit 0). When i read the CCM using md.l it shows the
Clock output set to IPG_CLK already which is an input the internally
generated MMC_SD_CLK. Please correct me if am wrong.
Hmm... I didn't touch any SPBA setting on mx27... But it may be needed
> on mx31... Look at the spba_take_ownership() code and if it does
> somethings with registers try setting registers to the same values from
> your board code.
I have it set in my code, it does not make any difference . I think
it makes sense only for interrupt and dma transfers although i am not
sure.
Another thing i wasn't sure of was as to where is the endianness and
bus width for the host controller getting set in the mx27 code?
> That's all I can tell you: check pins configuration, check if the clocks
> are enabled and if mx31 has more than one MMC controller check that you
> are trying to talk to the one with card connector (or just try other
> choices).
Thanks Ilya. Will try.
-Alfred.
More information about the U-Boot
mailing list