# HG changeset patch # User gthomas # Date 1048384579 0 # Node ID 4dcc6006d82f755a0fdc673c5454a6baa108f0c4 # Parent 7b1dfb0c769007d508f64ac2782db7998f52ad39 Fix typo in board initialization diff --git a/packages/hal/powerpc/adder/current/ChangeLog b/packages/hal/powerpc/adder/current/ChangeLog --- a/packages/hal/powerpc/adder/current/ChangeLog +++ b/packages/hal/powerpc/adder/current/ChangeLog @@ -1,3 +1,7 @@ +2003-03-20 Gary Thomas + + * src/hal_aux.c (hal_platform_init): Fix SCC2/SCC3 routing. + 2003-03-11 Mark Salter * src/redboot_linux_exec.c (do_exec): Call eth_drv_stop as necessary. diff --git a/packages/hal/powerpc/adder/current/src/hal_aux.c b/packages/hal/powerpc/adder/current/src/hal_aux.c --- a/packages/hal/powerpc/adder/current/src/hal_aux.c +++ b/packages/hal/powerpc/adder/current/src/hal_aux.c @@ -83,8 +83,8 @@ hal_platform_init(void) volatile EPPC *eppc = (volatile EPPC *)eppc_base(); // Special routing information for CICR - eppc->cpmi_cicr &= 0xFF0000; // Routing bits - eppc->cpmi_cicr |= 0x240000; // SCC2, SCC3 on "normal" bit positions + eppc->cpmi_cicr &= ~0xFF0000; // Routing bits + eppc->cpmi_cicr |= 0x240000; // SCC2, SCC3 on "normal" bit positions eppc->pip_pbpar &= ~0x0000400E; // PB29..30 AS GPIO eppc->pip_pbdir |= 0x0000400E;