callback addr as u32 not a void ptr
[my-code/arm.git] / betty / uart.c
index 715509f..da9a3fa 100644 (file)
@@ -13,9 +13,6 @@
 
 void uart0_init(void) {
 
-       /* select pins 0.0 and 0.1 as tx and rx */
-       PINSEL0=(PINSEL0&~(0xf))|0x05;
-
        /* configure uart 0 */
        UART0_FCR=0x07;                 // enable fifo
        UART0_LCR=0x83;                 // set dlab + word length