diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2008-12-23 13:06:37 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2008-12-23 13:06:37 -0500 |
commit | 40321fd21c1eb1fb1886eea73b5f87c5e41ff2fb (patch) | |
tree | 0d949c487ba15c4c8198a69cd7b8c0cdb5773af4 /arch/arm/mach-pxa/gumstix.c | |
parent | d83a12a40915774332cec625856c2e7ba9033e15 (diff) | |
parent | 3b24f30c4f678cfab5c6d090af9559fefa37cc41 (diff) |
Merge branch 'for-rmk' of git://git.kernel.org/pub/scm/linux/kernel/git/ycmiao/pxa-linux-2.6 into devel
Conflicts:
arch/arm/mach-pxa/am200epd.c
arch/arm/mach-pxa/ezx.c
Diffstat (limited to 'arch/arm/mach-pxa/gumstix.c')
-rw-r--r-- | arch/arm/mach-pxa/gumstix.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/arm/mach-pxa/gumstix.c b/arch/arm/mach-pxa/gumstix.c index 06bc6674b015..e296ce11658c 100644 --- a/arch/arm/mach-pxa/gumstix.c +++ b/arch/arm/mach-pxa/gumstix.c | |||
@@ -186,6 +186,20 @@ static unsigned long gumstix_pin_config[] __initdata = { | |||
186 | GPIO8_MMC_CS0, | 186 | GPIO8_MMC_CS0, |
187 | }; | 187 | }; |
188 | 188 | ||
189 | int __attribute__((weak)) am200_init(void) | ||
190 | { | ||
191 | return 0; | ||
192 | } | ||
193 | |||
194 | static void __init carrier_board_init(void) | ||
195 | { | ||
196 | /* | ||
197 | * put carrier/expansion board init here if | ||
198 | * they cannot be detected programatically | ||
199 | */ | ||
200 | am200_init(); | ||
201 | } | ||
202 | |||
189 | static void __init gumstix_init(void) | 203 | static void __init gumstix_init(void) |
190 | { | 204 | { |
191 | pxa2xx_mfp_config(ARRAY_AND_SIZE(gumstix_pin_config)); | 205 | pxa2xx_mfp_config(ARRAY_AND_SIZE(gumstix_pin_config)); |
@@ -194,6 +208,7 @@ static void __init gumstix_init(void) | |||
194 | gumstix_udc_init(); | 208 | gumstix_udc_init(); |
195 | gumstix_mmc_init(); | 209 | gumstix_mmc_init(); |
196 | (void) platform_add_devices(devices, ARRAY_SIZE(devices)); | 210 | (void) platform_add_devices(devices, ARRAY_SIZE(devices)); |
211 | carrier_board_init(); | ||
197 | } | 212 | } |
198 | 213 | ||
199 | MACHINE_START(GUMSTIX, "Gumstix") | 214 | MACHINE_START(GUMSTIX, "Gumstix") |