1
0
Fork 0

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>
utp
kevin.morfitt@fearnside-systems.co.uk 2009-11-03 18:08:41 +09:00 committed by Tom Rix
parent 2d251ccaa9
commit 492fb1fdbc
24 changed files with 31 additions and 31 deletions

View File

@ -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>

View File

@ -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);

View File

@ -27,7 +27,7 @@
#include <common.h>
#include <netdev.h>
#include <s3c2400.h>
#include <asm/arch/s3c2400.h>
DECLARE_GLOBAL_DATA_PTR;

View File

@ -27,7 +27,7 @@
#include <common.h>
#include <netdev.h>
#include <s3c2410.h>
#include <asm/arch/s3c2410.h>
DECLARE_GLOBAL_DATA_PTR;

View File

@ -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>

View File

@ -25,7 +25,7 @@
#include <common.h>
#include <command.h>
#include <s3c2400.h>
#include <asm/arch/s3c2400.h>
#include <rtc.h>
/*

View File

@ -22,7 +22,7 @@
*/
#include <common.h>
#include <s3c2400.h>
#include <asm/arch/s3c2400.h>
#include "rs485.h"
static void rs485_setbrg (void);

View File

@ -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);

View File

@ -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;

View File

@ -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"

View File

@ -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"

View File

@ -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;

View File

@ -32,9 +32,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/proc-armv/ptrace.h>

View File

@ -35,9 +35,9 @@
#include <asm/io.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
#define MPLL 0

View File

@ -37,9 +37,9 @@
#include <asm/io.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
int timer_load_val = 0;

View File

@ -27,9 +27,9 @@
# if defined(CONFIG_S3C2400) || defined(CONFIG_S3C2410)
#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>

View File

@ -39,9 +39,9 @@
#ifdef CONFIG_USB_OHCI
#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>

View File

@ -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>

View File

@ -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)

View File

@ -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>

View File

@ -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;

View File

@ -60,7 +60,7 @@ enum s3c24x0_uarts_nr {
#define S3C2400_MMC_BASE 0x15A00000
/* include common stuff */
#include <s3c24x0.h>
#include <asm/arch/s3c24x0.h>
static inline struct s3c24x0_memctl *s3c24x0_get_base_memctl(void)

View File

@ -66,7 +66,7 @@ enum s3c24x0_uarts_nr {
/* include common stuff */
#include <s3c24x0.h>
#include <asm/arch/s3c24x0.h>
static inline struct s3c24x0_memctl *s3c24x0_get_base_memctl(void)