Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 162647
b: refs/heads/master
c: a3d9bf1
h: refs/heads/master
i:
  162645: acf8ea2
  162643: e1a81fe
  162639: f4828a8
v: v3
  • Loading branch information
Greg Ungerer committed Sep 15, 2009
1 parent 1495d9f commit 314dbc7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 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: de4cbfb5994465e7c0f4cc545722b1144e8ba717
refs/heads/master: a3d9bf1dfdaf6f7df6c5340521dff1aafe39393f
9 changes: 0 additions & 9 deletions trunk/arch/m68knommu/platform/520x/config.c
Original file line number Diff line number Diff line change
Expand Up @@ -81,15 +81,11 @@ static struct platform_device *m520x_devices[] __initdata = {

/***************************************************************************/

#define INTC0 (MCF_MBAR + MCFICM_INTC0)

static void __init m520x_uart_init_line(int line, int irq)
{
u16 par;
u8 par2;

writeb(0x03, INTC0 + MCFINTC_ICR0 + MCFINT_UART0 + line);

switch (line) {
case 0:
par = readw(MCF_IPSBAR + MCF_GPIO_PAR_UART);
Expand Down Expand Up @@ -128,11 +124,6 @@ static void __init m520x_fec_init(void)
{
u8 v;

/* Unmask FEC interrupts at ColdFire interrupt controller */
writeb(0x4, MCF_IPSBAR + MCFICM_INTC0 + MCFINTC_ICR0 + 36);
writeb(0x4, MCF_IPSBAR + MCFICM_INTC0 + MCFINTC_ICR0 + 40);
writeb(0x4, MCF_IPSBAR + MCFICM_INTC0 + MCFINTC_ICR0 + 42);

/* Set multi-function pins to ethernet mode */
v = readb(MCF_IPSBAR + MCF_GPIO_PAR_FEC);
writeb(v | 0xf0, MCF_IPSBAR + MCF_GPIO_PAR_FEC);
Expand Down

0 comments on commit 314dbc7

Please sign in to comment.