This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Redboot board_misc.c for Freescale mx31


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]