diff options
author | kevin.morfitt@fearnside-systems.co.uk <kevin.morfitt@fearnside-systems.co.uk> | 2009-11-03 18:08:41 +0900 |
---|---|---|
committer | Minkyu Kang <mk7.kang@samsung.com> | 2009-11-04 14:02:49 +0900 |
commit | 17ab301c93e8e485068966fb0171d3a6af8c0692 (patch) | |
tree | 192f94e952ce4fbcc2b517db7f77f7eb806534bb /drivers | |
parent | 0bf7de838096e804f0cece8f2d94905477381b6e (diff) | |
download | u-boot-imx-17ab301c93e8e485068966fb0171d3a6af8c0692.zip u-boot-imx-17ab301c93e8e485068966fb0171d3a6af8c0692.tar.gz u-boot-imx-17ab301c93e8e485068966fb0171d3a6af8c0692.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 'drivers')
-rw-r--r-- | drivers/i2c/s3c24x0_i2c.c | 4 | ||||
-rw-r--r-- | drivers/mtd/nand/s3c2410_nand.c | 2 | ||||
-rw-r--r-- | drivers/rtc/s3c24x0_rtc.c | 4 | ||||
-rw-r--r-- | drivers/serial/serial_s3c24x0.c | 4 |
4 files changed, 7 insertions, 7 deletions
diff --git a/drivers/i2c/s3c24x0_i2c.c b/drivers/i2c/s3c24x0_i2c.c index 55c6a12..8fecc6e 100644 --- a/drivers/i2c/s3c24x0_i2c.c +++ b/drivers/i2c/s3c24x0_i2c.c @@ -28,9 +28,9 @@ #include <common.h> #if defined(CONFIG_S3C2400) -#include <s3c2400.h> +#include <asm/arch/s3c2400.h> #elif defined(CONFIG_S3C2410) -#include <s3c2410.h> +#include <asm/arch/s3c2410.h> #endif #include <asm/io.h> diff --git a/drivers/mtd/nand/s3c2410_nand.c b/drivers/mtd/nand/s3c2410_nand.c index f2f3e72..9f02dd8 100644 --- a/drivers/mtd/nand/s3c2410_nand.c +++ b/drivers/mtd/nand/s3c2410_nand.c @@ -21,7 +21,7 @@ #include <common.h> #include <nand.h> -#include <s3c2410.h> +#include <asm/arch/s3c2410.h> #include <asm/io.h> #define S3C2410_NFCONF_EN (1<<15) diff --git a/drivers/rtc/s3c24x0_rtc.c b/drivers/rtc/s3c24x0_rtc.c index 1ce34e3..2d78f93 100644 --- a/drivers/rtc/s3c24x0_rtc.c +++ b/drivers/rtc/s3c24x0_rtc.c @@ -31,9 +31,9 @@ #if (defined(CONFIG_CMD_DATE)) #if defined(CONFIG_S3C2400) -#include <s3c2400.h> +#include <asm/arch/s3c2400.h> #elif defined(CONFIG_S3C2410) -#include <s3c2410.h> +#include <asm/arch/s3c2410.h> #endif #include <rtc.h> diff --git a/drivers/serial/serial_s3c24x0.c b/drivers/serial/serial_s3c24x0.c index c2c72e4..914d07c 100644 --- a/drivers/serial/serial_s3c24x0.c +++ b/drivers/serial/serial_s3c24x0.c @@ -20,9 +20,9 @@ #include <common.h> #if defined(CONFIG_S3C2400) || defined(CONFIG_TRAB) -#include <s3c2400.h> +#include <asm/arch/s3c2400.h> #elif defined(CONFIG_S3C2410) -#include <s3c2410.h> +#include <asm/arch/s3c2410.h> #endif DECLARE_GLOBAL_DATA_PTR; |