]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - cpu/sh4/watchdog.c
Merge commit 'wd/master'
[karo-tx-uboot.git] / cpu / sh4 / watchdog.c
index 04723a74627c4ae4e6fa78cd8ddd7cf55279e580..346e21714fd9a1bd199c7c1cbfd078427b1aacec 100644 (file)
@@ -32,12 +32,12 @@ static void cnt_write (unsigned char value){
        while (csr_read() & (1 << 5)) {
                /* delay */
        }
-       *((volatile unsigned short *)(WDT_BASE + 0x00)) 
+       *((volatile unsigned short *)(WDT_BASE + 0x00))
                = ((unsigned short) value) | 0x5A00;
 }
 
 static void csr_write (unsigned char value){
-       *((volatile unsigned short *)(WDT_BASE + 0x04)) 
+       *((volatile unsigned short *)(WDT_BASE + 0x04))
                = ((unsigned short) value) | 0xA500;
 }
 
@@ -48,5 +48,3 @@ void reset_cpu (unsigned long ignored)
 {
        while(1);
 }
-
-