Browse Source

fix micro define error

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1380 bbd45198-f89e-11dd-88c7-29a3b14d5316
qiuyiuestc@gmail.com 14 years ago
parent
commit
ee318bb0c1
1 changed files with 6 additions and 6 deletions
  1. 6 6
      libcpu/arm/s3c24x0/s3c24x0.h

+ 6 - 6
libcpu/arm/s3c24x0/s3c24x0.h

@@ -131,14 +131,14 @@ extern "C" {
 
 // NAND flash
 #define NFCONF     (*(volatile unsigned *)0x4e000000)      //NAND Flash configuration
-#define NFCMD      (*(volatile U8 *)0x4e000004)            //NADD Flash command
-#define NFADDR     (*(volatile U8 *)0x4e000008)            //NAND Flash address
-#define NFDATA     (*(volatile U8 *)0x4e00000c)            //NAND Flash data
+#define NFCMD      (*(volatile unsigned *)0x4e000004)            //NADD Flash command
+#define NFADDR     (*(volatile unsigned *)0x4e000008)            //NAND Flash address
+#define NFDATA     (*(volatile unsigned *)0x4e00000c)            //NAND Flash data
 #define NFSTAT     (*(volatile unsigned *)0x4e000010)      //NAND Flash operation status
 #define NFECC      (*(volatile unsigned *)0x4e000014)      //NAND Flash ECC
-#define NFECC0     (*(volatile U8  *)0x4e000014)
-#define NFECC1     (*(volatile U8  *)0x4e000015)
-#define NFECC2     (*(volatile U8  *)0x4e000016)
+#define NFECC0     (*(volatile unsigned *)0x4e000014)
+#define NFECC1     (*(volatile unsigned *)0x4e000015)
+#define NFECC2     (*(volatile unsigned *)0x4e000016)
 
 // UART
 #define U0BASE     (*(volatile unsigned *)0x50000000) //UART 0 Line control