diff options
author | kevin.morfitt@fearnside-systems.co.uk <kevin.morfitt@fearnside-systems.co.uk> | 2009-11-03 18:08:41 +0900 |
---|---|---|
committer | Tom Rix <Tom.Rix@windriver.com> | 2009-11-27 16:26:12 -0600 |
commit | 492fb1fdbcdd5e21be0b6742c15f76c648f0653b (patch) | |
tree | f49c1af76281fecc778a0a3712838a556c4bc67d /board | |
parent | 2d251ccaa90997012e0b1f13bf791df2bf03a144 (diff) | |
download | u-boot-imx-492fb1fdbcdd5e21be0b6742c15f76c648f0653b.zip u-boot-imx-492fb1fdbcdd5e21be0b6742c15f76c648f0653b.tar.gz u-boot-imx-492fb1fdbcdd5e21be0b6742c15f76c648f0653b.tar.bz2 |
Move s3c24x0 header files to asm-arm/arch-s3c24x0/
This patch moves the s3c24x0 header files from include/ to
include/asm-arm/arch-s3c24x0/.
checkpatch.pl showed 2 errors and 3 warnings. The 2 errors were both due
to a non-UTF8 character in David M?ller's name:
ERROR: Invalid UTF-8, patch and commit message should be encoded in UTF-8
#489: FILE: include/asm-arm/arch-s3c24x0/s3c2410.h:3:
+ * David M?ller ELSOFT AG Switzerland. d.mueller@elsoft.ch
As David's name correctly contains a non-UTF8 character I haven't fixed
these errors.
The 3 warnings were all because of the use of 'volatile' in s3c24x0.h:
WARNING: Use of volatile is usually wrong: see Documentation/volatile-considered-harmful.txt
#673: FILE: include/asm-arm/arch-s3c24x0/s3c24x0.h:35:
+typedef volatile u8 S3C24X0_REG8;
+typedef volatile u16 S3C24X0_REG16;
+typedef volatile u32 S3C24X0_REG32;
I'll fix these errors in another patch.
Tested by running MAKEALL for ARM8 targets and ensuring there were no new
errors or warnings.
Signed-off-by: Kevin Morfitt <kevin.morfitt@fearnside-systems.co.uk>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Diffstat (limited to 'board')
-rw-r--r-- | board/mpl/vcma9/vcma9.c | 2 | ||||
-rw-r--r-- | board/mpl/vcma9/vcma9.h | 2 | ||||
-rw-r--r-- | board/samsung/smdk2400/smdk2400.c | 2 | ||||
-rw-r--r-- | board/samsung/smdk2410/smdk2410.c | 2 | ||||
-rw-r--r-- | board/sbc2410x/sbc2410x.c | 2 | ||||
-rw-r--r-- | board/trab/cmd_trab.c | 2 | ||||
-rw-r--r-- | board/trab/rs485.c | 2 | ||||
-rw-r--r-- | board/trab/rs485.h | 2 | ||||
-rw-r--r-- | board/trab/trab.c | 2 | ||||
-rw-r--r-- | board/trab/trab_fkt.c | 2 | ||||
-rw-r--r-- | board/trab/tsc2000.c | 2 | ||||
-rw-r--r-- | board/trab/vfd.c | 2 |
12 files changed, 12 insertions, 12 deletions
diff --git a/board/mpl/vcma9/vcma9.c b/board/mpl/vcma9/vcma9.c index 4d8b579..f3bd288 100644 --- a/board/mpl/vcma9/vcma9.c +++ b/board/mpl/vcma9/vcma9.c @@ -27,7 +27,7 @@ #include <common.h> #include <netdev.h> -#include <s3c2410.h> +#include <asm/arch/s3c2410.h> #include <stdio_dev.h> #include <i2c.h> diff --git a/board/mpl/vcma9/vcma9.h b/board/mpl/vcma9/vcma9.h index f46e0e4..9f32808 100644 --- a/board/mpl/vcma9/vcma9.h +++ b/board/mpl/vcma9/vcma9.h @@ -25,7 +25,7 @@ * Global routines used for VCMA9 *****************************************************************************/ -#include <s3c2410.h> +#include <asm/arch/s3c2410.h> extern int mem_test(unsigned long start, unsigned long ramsize,int mode); diff --git a/board/samsung/smdk2400/smdk2400.c b/board/samsung/smdk2400/smdk2400.c index 42bf008..be0c70a 100644 --- a/board/samsung/smdk2400/smdk2400.c +++ b/board/samsung/smdk2400/smdk2400.c @@ -27,7 +27,7 @@ #include <common.h> #include <netdev.h> -#include <s3c2400.h> +#include <asm/arch/s3c2400.h> DECLARE_GLOBAL_DATA_PTR; diff --git a/board/samsung/smdk2410/smdk2410.c b/board/samsung/smdk2410/smdk2410.c index fde7730..a8cf287 100644 --- a/board/samsung/smdk2410/smdk2410.c +++ b/board/samsung/smdk2410/smdk2410.c @@ -27,7 +27,7 @@ #include <common.h> #include <netdev.h> -#include <s3c2410.h> +#include <asm/arch/s3c2410.h> DECLARE_GLOBAL_DATA_PTR; diff --git a/board/sbc2410x/sbc2410x.c b/board/sbc2410x/sbc2410x.c index 7452c1f..6768c02 100644 --- a/board/sbc2410x/sbc2410x.c +++ b/board/sbc2410x/sbc2410x.c @@ -30,7 +30,7 @@ #include <common.h> #include <netdev.h> -#include <s3c2410.h> +#include <asm/arch/s3c2410.h> #if defined(CONFIG_CMD_NAND) #include <linux/mtd/nand.h> diff --git a/board/trab/cmd_trab.c b/board/trab/cmd_trab.c index 04a3607..a01ffcc 100644 --- a/board/trab/cmd_trab.c +++ b/board/trab/cmd_trab.c @@ -25,7 +25,7 @@ #include <common.h> #include <command.h> -#include <s3c2400.h> +#include <asm/arch/s3c2400.h> #include <rtc.h> /* diff --git a/board/trab/rs485.c b/board/trab/rs485.c index 7d5c0a2..f402c59 100644 --- a/board/trab/rs485.c +++ b/board/trab/rs485.c @@ -22,7 +22,7 @@ */ #include <common.h> -#include <s3c2400.h> +#include <asm/arch/s3c2400.h> #include "rs485.h" static void rs485_setbrg (void); diff --git a/board/trab/rs485.h b/board/trab/rs485.h index 9f0a5b9..4a2d83f 100644 --- a/board/trab/rs485.h +++ b/board/trab/rs485.h @@ -24,7 +24,7 @@ #ifndef _RS485_H_ #define _RS485_H_ -#include <s3c2400.h> +#include <asm/arch/s3c2400.h> int rs485_init (void); int rs485_getc (void); diff --git a/board/trab/trab.c b/board/trab/trab.c index ea782a9..f8836ff 100644 --- a/board/trab/trab.c +++ b/board/trab/trab.c @@ -26,7 +26,7 @@ #include <common.h> #include <netdev.h> #include <malloc.h> -#include <s3c2400.h> +#include <asm/arch/s3c2400.h> #include <command.h> DECLARE_GLOBAL_DATA_PTR; diff --git a/board/trab/trab_fkt.c b/board/trab/trab_fkt.c index dc2a8d7..940e12f 100644 --- a/board/trab/trab_fkt.c +++ b/board/trab/trab_fkt.c @@ -26,7 +26,7 @@ #include <common.h> #include <exports.h> #include <timestamp.h> -#include <s3c2400.h> +#include <asm/arch/s3c2400.h> #include "tsc2000.h" #include "rs485.h" diff --git a/board/trab/tsc2000.c b/board/trab/tsc2000.c index fc501a8..f757202 100644 --- a/board/trab/tsc2000.c +++ b/board/trab/tsc2000.c @@ -26,7 +26,7 @@ */ #include <common.h> -#include <s3c2400.h> +#include <asm/arch/s3c2400.h> #include <asm/io.h> #include <div64.h> #include "tsc2000.h" diff --git a/board/trab/vfd.c b/board/trab/vfd.c index d5ad5bb..8d9a057 100644 --- a/board/trab/vfd.c +++ b/board/trab/vfd.c @@ -37,7 +37,7 @@ #include <stdarg.h> #include <linux/types.h> #include <stdio_dev.h> -#include <s3c2400.h> +#include <asm/arch/s3c2400.h> DECLARE_GLOBAL_DATA_PTR; |