[ECOS] Re: Redboot board_misc.c for Freescale mx31

alfred steele alfred.jaquez@gmail.com
Sat May 9 18:12:00 GMT 2009


> Appreciate your help!
> Thanks,
> Alfred.

Apologize all. I meant the file board_misc.c in
packages/hal/arm/mx31/3stack/current/src/ . The lines pasted below are
an extarct from board_misc.c. Any help will be much appreciated. I had
posted on the freescale forums, but no response.

 // Enable the MMC
    writel(0x01220100, IOMUXC_BASE_ADDR + 0x148);
    reg = readl(GPIO3_BASE_ADDR + 0x4);
    reg |= 0x1;
    writel(reg, GPIO3_BASE_ADDR + 0x4);
    reg = readl(GPIO3_BASE_ADDR);
    reg |= 0x1;
    writel(reg, GPIO3_BASE_ADDR);


Thanks,
Alfred.

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss



More information about the Ecos-discuss mailing list