Mercurial > flash_v2
changeset 857:4dcc6006d82f
Fix typo in board initialization
| author | gthomas |
|---|---|
| date | Sun, 23 Mar 2003 01:56:19 +0000 |
| parents | 7b1dfb0c7690 |
| children | a23fa9968a6f |
| files | packages/hal/powerpc/adder/current/ChangeLog packages/hal/powerpc/adder/current/src/hal_aux.c |
| diffstat | 2 files changed, 6 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/packages/hal/powerpc/adder/current/ChangeLog +++ b/packages/hal/powerpc/adder/current/ChangeLog @@ -1,3 +1,7 @@ +2003-03-20 Gary Thomas <gary@mlbassoc.com> + + * src/hal_aux.c (hal_platform_init): Fix SCC2/SCC3 routing. + 2003-03-11 Mark Salter <msalter@redhat.com> * src/redboot_linux_exec.c (do_exec): Call eth_drv_stop as necessary.
--- 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;
