summaryrefslogtreecommitdiff
path: root/bus.c
diff options
context:
space:
mode:
authorroot <root@fedora-arm.domain.avtechpulse.com>1999-12-31 19:04:30 -0500
committerroot <root@fedora-arm.domain.avtechpulse.com>1999-12-31 19:04:30 -0500
commit7a9dfe8a49b21c82742e13c43670a92de2380871 (patch)
tree07b7b544486e2d4006747754d2926a8fe6f88256 /bus.c
parent59942ea51c6f4c2322d15fbb7a93e98b5f7182e4 (diff)
pullups on all gpmc pins?
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 550ecfc..38298d0 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_DOWN | MODE_0);
- pinmux_configurepin("gpmc_oen_ren", PULL_DOWN | MODE_0);
- pinmux_configurepin("gpmc_wen", PULL_DOWN | MODE_0);
+ 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_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_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_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_data6", PULL_UP | MODE_1);
pinmux_configurepin("lcd_data7", PULL_UP | MODE_1);