summaryrefslogtreecommitdiff
path: root/cpu/pxa/cpu.c
diff options
context:
space:
mode:
authorMarkus Klotzbücher <Markus Klotzbümk@pollux.(none)>2006-02-07 20:04:48 +0100
committerMarkus Klotzbücher <mk@pollux.(none)>2006-02-07 20:04:48 +0100
commite0269579a5b546b8f4e9ede82dc1cc3fa3796e02 (patch)
tree0ac8cf5589a58887a22afd25a4fb4abdc288f643 /cpu/pxa/cpu.c
parent57cac1fa547fa590fe4b7992619b9f26417014c3 (diff)
This is the first commit for the u-boot zylonite port. The following has be
done so far: * created zylonite board dir (based on lubbock) * extended some - but not all pxa sources and headers for Intel Monahans support (CONFIG_CPU_MONAHANS) * created Makefile zylonite target + MAKEALL entry * added some debug nonsense, remove later, grep for mk@tbd Status: compiles (eldk-4.0), and can be started with BDI, but runs forever and doesn't halt at breakpoints. Hmmm...
Diffstat (limited to 'cpu/pxa/cpu.c')
-rw-r--r--cpu/pxa/cpu.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/cpu/pxa/cpu.c b/cpu/pxa/cpu.c
index d1551ddc3..445ba1875 100644
--- a/cpu/pxa/cpu.c
+++ b/cpu/pxa/cpu.c
@@ -143,6 +143,7 @@ int dcache_status (void)
return 0; /* always off */
}
+#ifndef CONFIG_CPU_MONAHANS
void set_GPIO_mode(int gpio_mode)
{
int gpio = gpio_mode & GPIO_MD_MASK_NR;
@@ -160,3 +161,5 @@ void set_GPIO_mode(int gpio_mode)
gafr = GAFR(gpio) & ~(0x3 << (((gpio) & 0xf)*2));
GAFR(gpio) = gafr | (fn << (((gpio) & 0xf)*2));
}
+#endif /* CONFIG_CPU_MONAHANS */
+