This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: Redboot board_misc.c for Freescale mx31
- From: alfred steele <alfred dot jaquez at gmail dot com>
- To: ecos-discuss at ecos dot sourceware dot org
- Date: Sat, 9 May 2009 13:12:08 -0500
- Subject: [ECOS] 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