Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 331435
b: refs/heads/master
c: 98d9696
h: refs/heads/master
i:
  331433: e86e06e
  331431: c89ee3d
v: v3
  • Loading branch information
Greg Ungerer committed Sep 27, 2012
1 parent 48f2922 commit 0199794
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f2f41c68eabfb32574f9088135480618206dd432
refs/heads/master: 98d9696b38df7d477be34fccd4abb2aae02987c8
8 changes: 8 additions & 0 deletions trunk/arch/m68k/include/asm/m523xsim.h
Original file line number Diff line number Diff line change
Expand Up @@ -189,8 +189,16 @@
/*
* Pin Assignment
*/
#define MCFGPIO_PAR_AD (MCF_IPSBAR + 0x100040)
#define MCFGPIO_PAR_BUSCTL (MCF_IPSBAR + 0x100042)
#define MCFGPIO_PAR_BS (MCF_IPSBAR + 0x100044)
#define MCFGPIO_PAR_CS (MCF_IPSBAR + 0x100045)
#define MCFGPIO_PAR_SDRAM (MCF_IPSBAR + 0x100046)
#define MCFGPIO_PAR_FECI2C (MCF_IPSBAR + 0x100047)
#define MCFGPIO_PAR_UART (MCF_IPSBAR + 0x100048)
#define MCFGPIO_PAR_QSPI (MCF_IPSBAR + 0x10004A)
#define MCFGPIO_PAR_TIMER (MCF_IPSBAR + 0x10004C)
#define MCFGPIO_PAR_ETPU (MCF_IPSBAR + 0x10004E)

/*
* DMA unit base addresses.
Expand Down
8 changes: 1 addition & 7 deletions trunk/arch/m68k/platform/coldfire/m523x.c
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,8 @@ static void __init m523x_qspi_init(void)

static void __init m523x_fec_init(void)
{
u16 par;
u8 v;

/* Set multi-function pins to ethernet use */
par = readw(MCF_IPSBAR + 0x100082);
writew(par | 0xf00, MCF_IPSBAR + 0x100082);
v = readb(MCF_IPSBAR + 0x100078);
writeb(v | 0xc0, MCF_IPSBAR + 0x100078);
writeb(readb(MCFGPIO_PAR_FECI2C) | 0xf0, MCFGPIO_PAR_FECI2C);
}

/***************************************************************************/
Expand Down

0 comments on commit 0199794

Please sign in to comment.