From ee318bb0c12acaed523784df1e886d6103ad1348 Mon Sep 17 00:00:00 2001 From: "qiuyiuestc@gmail.com" Date: Mon, 18 Apr 2011 01:16:58 +0000 Subject: [PATCH] fix micro define error git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1380 bbd45198-f89e-11dd-88c7-29a3b14d5316 --- libcpu/arm/s3c24x0/s3c24x0.h | 12 ++++++------ 1 file 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 -- GitLab