]> git.kernelconcepts.de Git - karo-tx-redboot.git/blobdiff - packages/hal/arm/mx31/var/v2_0/src/soc_diag.c
unified MX27, MX25, MX37 trees
[karo-tx-redboot.git] / packages / hal / arm / mx31 / var / v2_0 / src / soc_diag.c
index a98c934d348f7b64d549766046a0a51de72321b2..31ded754d0c426545f7af04ca6f76bda5e104698 100644 (file)
@@ -359,8 +359,8 @@ void cyg_hal_plf_serial_putc(void *__ch_data, char c)
 
 #ifdef debug_uart_log_buf
     __log_buf[diag_bp++] = c;
-#endif        
-        
+#endif
+
     CYGARC_HAL_SAVE_GP();
 
     // Wait for Tx FIFO not full
@@ -371,7 +371,7 @@ void cyg_hal_plf_serial_putc(void *__ch_data, char c)
     CYGARC_HAL_RESTORE_GP();
 }
 
-static cyg_bool cyg_hal_plf_serial_getc_nonblock(void* __ch_data, 
+static cyg_bool cyg_hal_plf_serial_getc_nonblock(void* __ch_data,
                                                  cyg_uint8* ch)
 {
     volatile struct mxc_serial* base = ((channel_data_t*)__ch_data)->base;
@@ -407,7 +407,7 @@ static void cyg_hal_plf_serial_write(void* __ch_data, const cyg_uint8* __buf,
     CYGARC_HAL_RESTORE_GP();
 }
 
-static void cyg_hal_plf_serial_read(void* __ch_data, cyg_uint8* __buf, 
+static void cyg_hal_plf_serial_read(void* __ch_data, cyg_uint8* __buf,
                                     cyg_uint32 __len)
 {
     CYGARC_HAL_SAVE_GP();
@@ -418,8 +418,8 @@ static void cyg_hal_plf_serial_read(void* __ch_data, cyg_uint8* __buf,
     CYGARC_HAL_RESTORE_GP();
 }
 
-cyg_bool cyg_hal_plf_serial_getc_timeout(void* __ch_data, 
-                                         cyg_uint8* ch) 
+cyg_bool cyg_hal_plf_serial_getc_timeout(void* __ch_data,
+                                         cyg_uint8* ch)
 {
     int delay_count;
     channel_data_t* chan = (channel_data_t*)__ch_data;
@@ -440,8 +440,8 @@ cyg_bool cyg_hal_plf_serial_getc_timeout(void* __ch_data,
     return res;
 }
 
-static int cyg_hal_plf_serial_control(void *__ch_data, 
-                                      __comm_control_cmd_t __func, ...) 
+static int cyg_hal_plf_serial_control(void *__ch_data,
+                                      __comm_control_cmd_t __func, ...)
 {
     static int irq_state = 0;
     channel_data_t* chan = (channel_data_t*)__ch_data;