[ARM] 4509/1: S3C: Create initial arch/arm/plat-s3c

Create the initial arch/arm/plat-s3c directory and start
linking it into the arch/arm build heirarchy ready to
receive the generic parts of the S3C24XX support to be
used when adding S3C6400 devices.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

authored by Ben Dooks and committed by Russell King d58153d8 531b617c

+78 -59
+1
arch/arm/Kconfig
··· 432 432 source "arch/arm/mach-omap2/Kconfig" 433 433 434 434 source "arch/arm/plat-s3c24xx/Kconfig" 435 + source "arch/arm/plat-s3c/Kconfig" 435 436 436 437 if ARCH_S3C2410 437 438 source "arch/arm/mach-s3c2400/Kconfig"
+76
arch/arm/plat-s3c/Kconfig
··· 1 + # arch/arm/plat-s3c/Kconfig 2 + # 3 + # Copyright 2007 Simtec Electronics 4 + # 5 + # Licensed under GPLv2 6 + 7 + config PLAT_S3C 8 + bool 9 + depends on ARCH_S3C2410 10 + default y if ARCH_S3C2410 11 + select NO_IOPORT 12 + help 13 + Base platform code for any Samsung S3C device 14 + 15 + comment "Boot options" 16 + 17 + config S3C2410_BOOT_WATCHDOG 18 + bool "S3C2410 Initialisation watchdog" 19 + depends on PLAT_S3C && S3C2410_WATCHDOG 20 + help 21 + Say y to enable the watchdog during the kernel decompression 22 + stage. If the kernel fails to uncompress, then the watchdog 23 + will trigger a reset and the system should restart. 24 + 25 + config S3C2410_BOOT_ERROR_RESET 26 + bool "S3C2410 Reboot on decompression error" 27 + depends on PLAT_S3C 28 + help 29 + Say y here to use the watchdog to reset the system if the 30 + kernel decompressor detects an error during decompression. 31 + 32 + comment "Power management" 33 + 34 + config S3C2410_PM_DEBUG 35 + bool "S3C2410 PM Suspend debug" 36 + depends on PLAT_S3C && PM 37 + help 38 + Say Y here if you want verbose debugging from the PM Suspend and 39 + Resume code. See <file:Documentation/arm/Samsung-S3C24XX/Suspend.txt> 40 + for more information. 41 + 42 + config S3C2410_PM_CHECK 43 + bool "S3C2410 PM Suspend Memory CRC" 44 + depends on PLAT_S3C && PM && CRC32 45 + help 46 + Enable the PM code's memory area checksum over sleep. This option 47 + will generate CRCs of all blocks of memory, and store them before 48 + going to sleep. The blocks are then checked on resume for any 49 + errors. 50 + 51 + Note, this can take several seconds depending on memory size 52 + and CPU speed. 53 + 54 + See <file:Documentation/arm/Samsung-S3C24XX/Suspend.txt> 55 + 56 + config S3C2410_PM_CHECK_CHUNKSIZE 57 + int "S3C2410 PM Suspend CRC Chunksize (KiB)" 58 + depends on PLAT_S3C && PM && S3C2410_PM_CHECK 59 + default 64 60 + help 61 + Set the chunksize in Kilobytes of the CRC for checking memory 62 + corruption over suspend and resume. A smaller value will mean that 63 + the CRC data block will take more memory, but wil identify any 64 + faults with better precision. 65 + 66 + See <file:Documentation/arm/Samsung-S3C24XX/Suspend.txt> 67 + 68 + config S3C2410_LOWLEVEL_UART_PORT 69 + int "S3C2410 UART to use for low-level messages" 70 + depends on PLAT_S3C 71 + default 0 72 + help 73 + Choice of which UART port to use for the low-level messages, 74 + such as the `Uncompressing...` at start time. The value of 75 + this configuration should be between zero and two. The port 76 + must have been initialised by the boot-loader before use.
+1 -59
arch/arm/plat-s3c24xx/Kconfig
··· 10 10 default y if ARCH_S3C2410 11 11 select NO_IOPORT 12 12 help 13 - Base platform code for any Samsung S3C device 13 + Base platform code for any Samsung S3C24XX device 14 14 15 15 if PLAT_S3C24XX 16 16 ··· 25 25 help 26 26 Common power management code for systems that are 27 27 compatible with the Simtec style of power management 28 - 29 - config S3C2410_BOOT_WATCHDOG 30 - bool "S3C2410 Initialisation watchdog" 31 - depends on ARCH_S3C2410 && S3C2410_WATCHDOG 32 - help 33 - Say y to enable the watchdog during the kernel decompression 34 - stage. If the kernel fails to uncompress, then the watchdog 35 - will trigger a reset and the system should restart. 36 - 37 - config S3C2410_BOOT_ERROR_RESET 38 - bool "S3C2410 Reboot on decompression error" 39 - depends on ARCH_S3C2410 40 - help 41 - Say y here to use the watchdog to reset the system if the 42 - kernel decompressor detects an error during decompression. 43 - 44 - config S3C2410_PM_DEBUG 45 - bool "S3C2410 PM Suspend debug" 46 - depends on ARCH_S3C2410 && PM 47 - help 48 - Say Y here if you want verbose debugging from the PM Suspend and 49 - Resume code. See <file:Documentation/arm/Samsung-S3C24XX/Suspend.txt> 50 - for more information. 51 - 52 - config S3C2410_PM_CHECK 53 - bool "S3C2410 PM Suspend Memory CRC" 54 - depends on ARCH_S3C2410 && PM && CRC32 55 - help 56 - Enable the PM code's memory area checksum over sleep. This option 57 - will generate CRCs of all blocks of memory, and store them before 58 - going to sleep. The blocks are then checked on resume for any 59 - errors. 60 - 61 - Note, this can take several seconds depending on memory size 62 - and CPU speed. 63 - 64 - See <file:Documentation/arm/Samsung-S3C24XX/Suspend.txt> 65 - 66 - config S3C2410_PM_CHECK_CHUNKSIZE 67 - int "S3C2410 PM Suspend CRC Chunksize (KiB)" 68 - depends on ARCH_S3C2410 && PM && S3C2410_PM_CHECK 69 - default 64 70 - help 71 - Set the chunksize in Kilobytes of the CRC for checking memory 72 - corruption over suspend and resume. A smaller value will mean that 73 - the CRC data block will take more memory, but wil identify any 74 - faults with better precision. 75 - 76 - See <file:Documentation/arm/Samsung-S3C24XX/Suspend.txt> 77 - 78 - config S3C2410_LOWLEVEL_UART_PORT 79 - int "S3C2410 UART to use for low-level messages" 80 - default 0 81 - help 82 - Choice of which UART port to use for the low-level messages, 83 - such as the `Uncompressing...` at start time. The value of 84 - this configuration should be between zero and two. The port 85 - must have been initialised by the boot-loader before use. 86 28 87 29 config S3C2410_DMA 88 30 bool "S3C2410 DMA support"