s5j: do not use custom types
authorHeesub Shin <heesub.shin@samsung.com>
Mon, 3 Apr 2017 08:41:51 +0000 (17:41 +0900)
committerHeesub Shin <heesub.shin@samsung.com>
Tue, 18 Apr 2017 03:02:06 +0000 (12:02 +0900)
This commit replaces every usage of custom types in S5J with standard
types. For example, 'u32' and 'cycle_t' can be replaced with uint32_t
and unsigned long long respectively.

Change-Id: Ie2ad22aac1552188c67d1ddfdd78d1d62a4b0ad9
Signed-off-by: Heesub Shin <heesub.shin@samsung.com>
os/arch/arm/src/s5j/s5j_pwm.h
os/arch/arm/src/s5j/s5j_serial.h

index e09ec60..4adc5c2 100644 (file)
@@ -131,7 +131,7 @@ struct s5j_pwmtimer_s {
        int irq;
 
        /* Add private data structures if it is needed */
-       cycle_t timer_pclk;                     /* input clock Hz */
+       unsigned long long timer_pclk;          /* input clock Hz */
        int pre_scaler;
        int divider;
        int freq;
index 269962d..8af30f0 100644 (file)
@@ -197,9 +197,9 @@ typedef enum {
 } UART_DCACHE_CTRL;
 
 typedef struct {
-       u32 uBase;
-       u32 nBaudrate;
-       u32 nClock;
+       uint32_t uBase;
+       uint32_t nBaudrate;
+       uint32_t nClock;
 } UART_CONTEXT;
 
 typedef enum uart_baudrate {