Commit | Line | Data |
---|---|---|
a08ab637 BD |
1 | # Copyright 2008 Openmoko, Inc. |
2 | # Copyright 2008 Simtec Electronics | |
3 | # Ben Dooks <ben@simtec.co.uk> | |
4 | # | |
5 | # Licensed under GPLv2 | |
6 | ||
7 | config PLAT_S3C64XX | |
8 | bool | |
9 | depends on ARCH_S3C64XX | |
7bb56d01 BD |
10 | default y |
11 | select CPU_V6 | |
a08ab637 | 12 | select PLAT_S3C |
d9b79fb5 | 13 | select ARM_VIC |
a08ab637 BD |
14 | select NO_IOPORT |
15 | select ARCH_REQUIRE_GPIOLIB | |
399cae74 | 16 | select SAMSUNG_CLKSRC |
7162ba03 | 17 | select SAMSUNG_IRQ_VIC_TIMER |
51022cf6 | 18 | select SAMSUNG_IRQ_UART |
8a53bdb9 | 19 | select S3C_GPIO_TRACK |
21b23664 BD |
20 | select S3C_GPIO_PULL_UPDOWN |
21 | select S3C_GPIO_CFG_S3C24XX | |
22 | select S3C_GPIO_CFG_S3C64XX | |
db616eb6 | 23 | select S3C_DEV_NAND |
67b3e542 | 24 | select USB_ARCH_HAS_OHCI |
1f323cfd | 25 | select SAMSUNG_GPIOLIB_4BIT |
a08ab637 BD |
26 | help |
27 | Base platform code for any Samsung S3C64XX device | |
28 | ||
29 | if PLAT_S3C64XX | |
30 | ||
31 | # Configuration options shared by all S3C64XX implementations | |
32 | ||
aa64ea3f BD |
33 | config CPU_S3C6400_INIT |
34 | bool | |
35 | help | |
36 | Common initialisation code for the S3C6400 that is shared | |
37 | by other CPUs in the series, such as the S3C6410. | |
38 | ||
cf18acf0 BD |
39 | config CPU_S3C6400_CLOCK |
40 | bool | |
41 | help | |
42 | Common clock support code for the S3C6400 that is shared | |
43 | by other CPUs in the series, such as the S3C6410. | |
44 | ||
fa7a7883 BD |
45 | config S3C64XX_DMA |
46 | bool "S3C64XX DMA" | |
47 | select S3C_DMA | |
48 | ||
55132b8b BD |
49 | # platform specific device setup |
50 | ||
51 | config S3C64XX_SETUP_I2C0 | |
52 | bool | |
53 | default y | |
54 | help | |
55 | Common setup code for i2c bus 0. | |
56 | ||
57 | Note, currently since i2c0 is always compiled, this setup helper | |
58 | is always compiled with it. | |
59 | ||
f9e2f345 BD |
60 | config S3C64XX_SETUP_I2C1 |
61 | bool | |
62 | help | |
63 | Common setup code for i2c bus 1. | |
64 | ||
c7a0401e BD |
65 | config S3C64XX_SETUP_FB_24BPP |
66 | bool | |
67 | help | |
68 | Common setup code for S3C64XX with an 24bpp RGB display helper. | |
69 | ||
4faf6867 BD |
70 | config S3C64XX_SETUP_SDHCI_GPIO |
71 | bool | |
72 | help | |
73 | Common setup code for S3C64XX SDHCI GPIO configurations | |
74 | ||
a08ab637 | 75 | endif |