blob: e6da87a5885ca084e4345e9530bb7a61def01ff4 [file] [log] [blame]
Ben Dooksa08ab632008-10-21 14:06:39 +01001# Copyright 2008 Openmoko, Inc.
2# Copyright 2008 Simtec Electronics
3# Ben Dooks <ben@simtec.co.uk>
4#
5# Licensed under GPLv2
6
7config PLAT_S3C64XX
8 bool
9 depends on ARCH_S3C64XX
Ben Dooks7bb56d02008-12-18 22:06:42 +000010 default y
11 select CPU_V6
Ben Dooksa08ab632008-10-21 14:06:39 +010012 select PLAT_S3C
Ben Dooksd9b79fb2008-10-21 14:06:51 +010013 select ARM_VIC
Ben Dooksa08ab632008-10-21 14:06:39 +010014 select NO_IOPORT
15 select ARCH_REQUIRE_GPIOLIB
Ben Dooks8a53bdb2008-10-31 16:14:32 +000016 select S3C_GPIO_TRACK
Ben Dooks21b23662008-10-31 16:14:34 +000017 select S3C_GPIO_PULL_UPDOWN
18 select S3C_GPIO_CFG_S3C24XX
19 select S3C_GPIO_CFG_S3C64XX
Ben Dooksdb616eb2009-08-16 23:54:58 +010020 select S3C_DEV_NAND
Ben Dooks67b3e542009-03-06 19:51:51 +000021 select USB_ARCH_HAS_OHCI
Ben Dooksa08ab632008-10-21 14:06:39 +010022 help
23 Base platform code for any Samsung S3C64XX device
24
25if PLAT_S3C64XX
26
27# Configuration options shared by all S3C64XX implementations
28
Ben Dooksaa64ea32008-10-21 14:06:58 +010029config CPU_S3C6400_INIT
30 bool
31 help
32 Common initialisation code for the S3C6400 that is shared
33 by other CPUs in the series, such as the S3C6410.
34
Ben Dookscf18acf2008-10-21 14:07:02 +010035config CPU_S3C6400_CLOCK
36 bool
37 help
38 Common clock support code for the S3C6400 that is shared
39 by other CPUs in the series, such as the S3C6410.
40
Ben Dooksfa7a7882009-03-10 23:57:26 +000041config S3C64XX_DMA
42 bool "S3C64XX DMA"
43 select S3C_DMA
44
Ben Dooks55132b82008-10-31 16:14:51 +000045# platform specific device setup
46
47config S3C64XX_SETUP_I2C0
48 bool
49 default y
50 help
51 Common setup code for i2c bus 0.
52
53 Note, currently since i2c0 is always compiled, this setup helper
54 is always compiled with it.
55
Ben Dooksf9e2f342008-10-31 16:14:56 +000056config S3C64XX_SETUP_I2C1
57 bool
58 help
59 Common setup code for i2c bus 1.
60
Ben Dooksc7a04012008-11-19 15:41:33 +000061config S3C64XX_SETUP_FB_24BPP
62 bool
63 help
64 Common setup code for S3C64XX with an 24bpp RGB display helper.
65
Ben Dooks4faf68672009-03-25 11:01:24 +000066config S3C64XX_SETUP_SDHCI_GPIO
67 bool
68 help
69 Common setup code for S3C64XX SDHCI GPIO configurations
70
Ben Dooksa08ab632008-10-21 14:06:39 +010071endif