9
0
Fork 0

ARM pcm043, cupid: Fix macro name

Since commit dc9d70e2 the define CCM_PDR4 is called MX35_CCM_PDR4.

sha: Added the same for cupid

Signed-off-by: Christian Hemp <c.hemp@phytec.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Christian Hemp 2012-11-20 08:12:00 +01:00 committed by Sascha Hauer
parent b33114aad1
commit cb85fb8214
2 changed files with 4 additions and 4 deletions

View File

@ -48,10 +48,10 @@ static void __bare_init __naked insdram(void)
uint32_t r;
/* Speed up NAND controller by adjusting the NFC divider */
r = readl(MX35_CCM_BASE_ADDR + CCM_PDR4);
r = readl(MX35_CCM_BASE_ADDR + MX35_CCM_PDR4);
r &= ~(0xf << 28);
r |= 0x1 << 28;
writel(r, MX35_CCM_BASE_ADDR + CCM_PDR4);
writel(r, MX35_CCM_BASE_ADDR + MX35_CCM_PDR4);
/* setup a stack to be able to call imx_nand_load_image() */
arm_setup_stack(STACK_BASE + STACK_SIZE - 12);

View File

@ -46,10 +46,10 @@ static void __bare_init __naked insdram(void)
uint32_t r;
/* Speed up NAND controller by adjusting the NFC divider */
r = readl(MX35_CCM_BASE_ADDR + CCM_PDR4);
r = readl(MX35_CCM_BASE_ADDR + MX35_CCM_PDR4);
r &= ~(0xf << 28);
r |= 0x1 << 28;
writel(r, MX35_CCM_BASE_ADDR + CCM_PDR4);
writel(r, MX35_CCM_BASE_ADDR + MX35_CCM_PDR4);
/* setup a stack to be able to call imx_nand_load_image() */
arm_setup_stack(STACK_BASE + STACK_SIZE - 12);