[U-Boot] [PATCH V3 12/18] arm: mx6: add support for Compulab cm-fx6 CoM
Nikita Kiryanov
nikita at compulab.co.il
Wed Aug 20 13:23:15 CEST 2014
Forgot to answer this part:
On 13/08/14 15:55, Igor Grinberg wrote:
> Hi Nikita,
[...]
>> +}
>> +#else
>> +static void cm_fx6_setup_ecspi(void) { }
>> +#endif
>> +
>> +void board_init_f(ulong dummy)
>> +{
>> + gd = &gdata;
>> + enable_usdhc_clk(1, 2);
>
> can this be done inside board_mmc_init() or even in a common location
> like fsl_esdhc_initialize()?
This is actually here for DMA, not MMC. usdhc3_clk_root is a clock
source for APBH DMA, and I have to make sure it is activated or else
DMA init will hang when booting from SPI flash (when booting from MMC,
the boot rom takes care of turning this clock on).
I'll move it to the NAND patch.
More information about the U-Boot
mailing list