summaryrefslogtreecommitdiff
path: root/bus.c
diff options
context:
space:
mode:
authorroot <root@fedora-arm.domain.avtechpulse.com>1999-12-31 19:04:38 -0500
committerroot <root@fedora-arm.domain.avtechpulse.com>1999-12-31 19:04:38 -0500
commit59942ea51c6f4c2322d15fbb7a93e98b5f7182e4 (patch)
treeece37639aec3c2178a321e8e137b99f579b57e85 /bus.c
parentd66e19776c847ba3feddda7b4278c8b394e320c3 (diff)
use same mux options as before
Diffstat (limited to 'bus.c')
-rw-r--r--bus.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/bus.c b/bus.c
index 38298d0..550ecfc 100644
--- a/bus.c
+++ b/bus.c
@@ -178,9 +178,9 @@ static void gpmc_printinfo()
static void gpmc_setup(int chipselect, int accesscycles, int size, bool enablecs, int baseaddress)
{
- pinmux_configurepin("gpmc_csn0", PULL_UP | MODE_0);
- pinmux_configurepin("gpmc_oen_ren", PULL_UP | MODE_0);
- pinmux_configurepin("gpmc_wen", PULL_UP | MODE_0);
+ pinmux_configurepin("gpmc_csn0", PULL_DOWN | MODE_0);
+ pinmux_configurepin("gpmc_oen_ren", PULL_DOWN | MODE_0);
+ pinmux_configurepin("gpmc_wen", PULL_DOWN | MODE_0);
pinmux_configurepin("gpmc_ad7", BIDIR | PULL_UP | MODE_0);
pinmux_configurepin("gpmc_ad6", BIDIR | PULL_UP | MODE_0);
@@ -191,12 +191,12 @@ static void gpmc_setup(int chipselect, int accesscycles, int size, bool enablecs
pinmux_configurepin("gpmc_ad1", BIDIR | PULL_UP | MODE_0);
pinmux_configurepin("gpmc_ad0", BIDIR | PULL_UP | MODE_0);
- pinmux_configurepin("lcd_data0", PULL_UP | MODE_1);
- pinmux_configurepin("lcd_data1", PULL_UP | MODE_1);
- pinmux_configurepin("lcd_data2", PULL_UP | MODE_1);
- pinmux_configurepin("lcd_data3", PULL_UP | MODE_1);
- pinmux_configurepin("lcd_data4", PULL_UP | MODE_1);
- pinmux_configurepin("lcd_data5", PULL_UP | MODE_1);
+ pinmux_configurepin("lcd_data0", PULL_DOWN | MODE_1);
+ pinmux_configurepin("lcd_data1", PULL_DOWN | MODE_1);
+ pinmux_configurepin("lcd_data2", PULL_DOWN | MODE_1);
+ pinmux_configurepin("lcd_data3", PULL_DOWN | MODE_1);
+ pinmux_configurepin("lcd_data4", PULL_DOWN | MODE_1);
+ pinmux_configurepin("lcd_data5", PULL_DOWN | MODE_1);
pinmux_configurepin("lcd_data6", PULL_UP | MODE_1);
pinmux_configurepin("lcd_data7", PULL_UP | MODE_1);