|
@@ -27,8 +27,6 @@
|
|
|
#include <asm/io.h>
|
|
|
#include <asm/arch/sys_proto.h>
|
|
|
|
|
|
-#define IOMUXGPR (IOMUXC_BASE + 0x008)
|
|
|
-
|
|
|
static u32 mx31_decode_pll(u32 reg, u32 infreq)
|
|
|
{
|
|
|
u32 mfi = GET_PLL_MFI(reg);
|
|
@@ -147,13 +145,13 @@ void mx31_set_gpr(enum iomux_gp_func gp, char en)
|
|
|
{
|
|
|
u32 l;
|
|
|
|
|
|
- l = readl(IOMUXGPR);
|
|
|
+ l = readl(IOMUXC_GPR);
|
|
|
if (en)
|
|
|
l |= gp;
|
|
|
else
|
|
|
l &= ~gp;
|
|
|
|
|
|
- writel(l, IOMUXGPR);
|
|
|
+ writel(l, IOMUXC_GPR);
|
|
|
}
|
|
|
|
|
|
void mxc_setup_weimcs(int cs, const struct mxc_weimcs *weimcs)
|