diff options
Diffstat (limited to 'c/src/lib/libcpu/powerpc/mpc55xx')
-rw-r--r-- | c/src/lib/libcpu/powerpc/mpc55xx/esci/esci.c | 12 | ||||
-rw-r--r-- | c/src/lib/libcpu/powerpc/mpc55xx/include/dspi.h | 4 | ||||
-rw-r--r-- | c/src/lib/libcpu/powerpc/mpc55xx/include/esci.h | 4 | ||||
-rw-r--r-- | c/src/lib/libcpu/powerpc/mpc55xx/include/mpc55xx.h | 6 | ||||
-rw-r--r-- | c/src/lib/libcpu/powerpc/mpc55xx/include/regs.h | 2 | ||||
-rw-r--r-- | c/src/lib/libcpu/powerpc/mpc55xx/irq/irq.c | 8 | ||||
-rw-r--r-- | c/src/lib/libcpu/powerpc/mpc55xx/misc/copy.S | 4 |
7 files changed, 20 insertions, 20 deletions
diff --git a/c/src/lib/libcpu/powerpc/mpc55xx/esci/esci.c b/c/src/lib/libcpu/powerpc/mpc55xx/esci/esci.c index 8181c65cca..78127de5ad 100644 --- a/c/src/lib/libcpu/powerpc/mpc55xx/esci/esci.c +++ b/c/src/lib/libcpu/powerpc/mpc55xx/esci/esci.c @@ -190,7 +190,7 @@ static int mpc55xx_esci_termios_first_open( int major, int minor, void *arg) } /* Connect TTY */ - e->tty = tty; + e->tty = tty; /* Enable interrupts */ if (MPC55XX_ESCI_USE_INTERRUPTS( e)) { @@ -380,7 +380,7 @@ static int mpc55xx_esci_termios_set_attributes( int minor, const struct termios br = 0; } cr1.B.SBR = br; - + /* Number of data bits */ if ((t->c_cflag & CSIZE) != CS8) { return RTEMS_IO_ERROR; @@ -390,7 +390,7 @@ static int mpc55xx_esci_termios_set_attributes( int minor, const struct termios /* Parity */ cr1.B.PE = (t->c_cflag & PARENB) ? 1 : 0; cr1.B.PT = (t->c_cflag & PARODD) ? 1 : 0; - + /* Stop bits */ if ( t->c_cflag & CSTOPB ) { /* Two stop bits */ @@ -484,11 +484,11 @@ static const rtems_termios_callbacks mpc55xx_esci_termios_callbacks_polled = { rtems_device_driver console_initialize( rtems_device_major_number major, rtems_device_minor_number minor, void *arg) { rtems_status_code sc = RTEMS_SUCCESSFUL; - int console_done = 0; - int termios_do_init = 1; + int console_done = 0; + int termios_do_init = 1; rtems_device_minor_number i = 0; mpc55xx_esci_driver_entry *e = NULL; - + for (i = 0; i < MPC55XX_ESCI_NUMBER; ++i) { e = &mpc55xx_esci_driver_table [i]; sc = rtems_io_register_name ( e->device_name, major, i); diff --git a/c/src/lib/libcpu/powerpc/mpc55xx/include/dspi.h b/c/src/lib/libcpu/powerpc/mpc55xx/include/dspi.h index fd4b7fe414..7134dbe793 100644 --- a/c/src/lib/libcpu/powerpc/mpc55xx/include/dspi.h +++ b/c/src/lib/libcpu/powerpc/mpc55xx/include/dspi.h @@ -18,9 +18,9 @@ * LICENSE in this distribution or at http://www.rtems.com/license/LICENSE. */ -/** +/** * @defgroup mpc55xx_dspi Deserial Serial Peripheral Interface (DSPI) - * + * * @ingroup mpc55xx */ diff --git a/c/src/lib/libcpu/powerpc/mpc55xx/include/esci.h b/c/src/lib/libcpu/powerpc/mpc55xx/include/esci.h index b6df13d332..3066f23a3a 100644 --- a/c/src/lib/libcpu/powerpc/mpc55xx/include/esci.h +++ b/c/src/lib/libcpu/powerpc/mpc55xx/include/esci.h @@ -18,9 +18,9 @@ * LICENSE in this distribution or at http://www.rtems.com/license/LICENSE. */ -/** +/** * @defgroup mpc55xx_esci Enhanced Serial Communication Interface (eSCI). - * + * * @ingroup mpc55xx */ diff --git a/c/src/lib/libcpu/powerpc/mpc55xx/include/mpc55xx.h b/c/src/lib/libcpu/powerpc/mpc55xx/include/mpc55xx.h index 5aa0d9080b..c81e0231e7 100644 --- a/c/src/lib/libcpu/powerpc/mpc55xx/include/mpc55xx.h +++ b/c/src/lib/libcpu/powerpc/mpc55xx/include/mpc55xx.h @@ -22,11 +22,11 @@ * @defgroup mpc55xx BSP for MPC55xx boards */ -/** +/** * @defgroup mpc55xx_config Configuration files - * + * * @ingroup mpc55xx - * + * * Makefiles, configure scripts etc. */ diff --git a/c/src/lib/libcpu/powerpc/mpc55xx/include/regs.h b/c/src/lib/libcpu/powerpc/mpc55xx/include/regs.h index acee4face9..843c3c1c3a 100644 --- a/c/src/lib/libcpu/powerpc/mpc55xx/include/regs.h +++ b/c/src/lib/libcpu/powerpc/mpc55xx/include/regs.h @@ -2809,7 +2809,7 @@ extern "C" { .DADDR = 0, .CDF = { .R = 0 }, .DLAST_SGA = 0, - .BMF = { .R = 0 } + .BMF = { .R = 0 } }; #define EDMA_TCD_BITER_MASK 0x7fff diff --git a/c/src/lib/libcpu/powerpc/mpc55xx/irq/irq.c b/c/src/lib/libcpu/powerpc/mpc55xx/irq/irq.c index 1de4f7e6b3..be766ef5ed 100644 --- a/c/src/lib/libcpu/powerpc/mpc55xx/irq/irq.c +++ b/c/src/lib/libcpu/powerpc/mpc55xx/irq/irq.c @@ -41,7 +41,7 @@ rtems_status_code mpc55xx_intc_get_priority( rtems_vector_number vector, unsigne } else { *priority = MPC55XX_INTC_INVALID_PRIORITY; return RTEMS_INVALID_NUMBER; - } + } } /** @@ -58,7 +58,7 @@ rtems_status_code mpc55xx_intc_set_priority( rtems_vector_number vector, unsigne } } else { return RTEMS_INVALID_NUMBER; - } + } } /** @@ -71,7 +71,7 @@ rtems_status_code mpc55xx_intc_raise_software_irq( rtems_vector_number vector) return RTEMS_SUCCESSFUL; } else { return RTEMS_INVALID_NUMBER; - } + } } /** @@ -84,7 +84,7 @@ rtems_status_code mpc55xx_intc_clear_software_irq( rtems_vector_number vector) return RTEMS_SUCCESSFUL; } else { return RTEMS_INVALID_NUMBER; - } + } } /** diff --git a/c/src/lib/libcpu/powerpc/mpc55xx/misc/copy.S b/c/src/lib/libcpu/powerpc/mpc55xx/misc/copy.S index ef529d6e4b..279620346b 100644 --- a/c/src/lib/libcpu/powerpc/mpc55xx/misc/copy.S +++ b/c/src/lib/libcpu/powerpc/mpc55xx/misc/copy.S @@ -95,7 +95,7 @@ zero_big_data: evstddx r0, r3, r8 addi r8, r8, 32 bdnz zero_big_data - + /* Return */ blr @@ -145,6 +145,6 @@ zero_big_line: dcbz r3, r8 addi r8, r8, 128 bdnz zero_big_line - + /* Return */ blr |