summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);