diff options
| author | [email protected] <[email protected]> | 2011-04-18 01:16:58 +0000 |
|---|---|---|
| committer | [email protected] <[email protected]> | 2011-04-18 01:16:58 +0000 |
| commit | ee318bb0c12acaed523784df1e886d6103ad1348 (patch) | |
| tree | 455915a8193f7f40cff6b0efe19654eeb7eaacc0 | |
| parent | 790fff9db93f717db9f2b58294510d4a9e276dd5 (diff) | |
fix micro define error
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1380 bbd45198-f89e-11dd-88c7-29a3b14d5316
| -rw-r--r-- | libcpu/arm/s3c24x0/s3c24x0.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libcpu/arm/s3c24x0/s3c24x0.h b/libcpu/arm/s3c24x0/s3c24x0.h index 3560c2b92f..c5de9ee396 100644 --- a/libcpu/arm/s3c24x0/s3c24x0.h +++ b/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
|
