]> git.dujemihanovic.xyz Git - u-boot.git/commit
Move s3c24x0 header files to asm-arm/arch-s3c24x0/
authorkevin.morfitt@fearnside-systems.co.uk <kevin.morfitt@fearnside-systems.co.uk>
Tue, 3 Nov 2009 09:08:41 +0000 (18:08 +0900)
committerTom Rix <Tom.Rix@windriver.com>
Fri, 27 Nov 2009 22:26:12 +0000 (16:26 -0600)
commit492fb1fdbcdd5e21be0b6742c15f76c648f0653b
treef49c1af76281fecc778a0a3712838a556c4bc67d
parent2d251ccaa90997012e0b1f13bf791df2bf03a144
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>
24 files changed:
board/mpl/vcma9/vcma9.c
board/mpl/vcma9/vcma9.h
board/samsung/smdk2400/smdk2400.c
board/samsung/smdk2410/smdk2410.c
board/sbc2410x/sbc2410x.c
board/trab/cmd_trab.c
board/trab/rs485.c
board/trab/rs485.h
board/trab/trab.c
board/trab/trab_fkt.c
board/trab/tsc2000.c
board/trab/vfd.c
cpu/arm920t/s3c24x0/interrupts.c
cpu/arm920t/s3c24x0/speed.c
cpu/arm920t/s3c24x0/timer.c
cpu/arm920t/s3c24x0/usb.c
cpu/arm920t/s3c24x0/usb_ohci.c
drivers/i2c/s3c24x0_i2c.c
drivers/mtd/nand/s3c2410_nand.c
drivers/rtc/s3c24x0_rtc.c
drivers/serial/serial_s3c24x0.c
include/asm-arm/arch-s3c24x0/s3c2400.h [moved from include/s3c2400.h with 99% similarity]
include/asm-arm/arch-s3c24x0/s3c2410.h [moved from include/s3c2410.h with 99% similarity]
include/asm-arm/arch-s3c24x0/s3c24x0.h [moved from include/s3c24x0.h with 100% similarity]