summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Nikolaus Schaller <hns@goldelico.com>2012-07-12 12:37:43 +0200
committerH. Nikolaus Schaller <hns@goldelico.com>2012-07-12 12:37:43 +0200
commit42b02a681f8b4ddd877428ce48ed67a598114bb8 (patch)
treed66ab90de1bd8ff2d6d7013d70c3b89a5450971f
parent19a5e7041fdf94211c72091ecdab1c9cfad59617 (diff)
downloadbootable_bootloader_goldelico_gta04-42b02a681f8b4ddd877428ce48ed67a598114bb8.zip
bootable_bootloader_goldelico_gta04-42b02a681f8b4ddd877428ce48ed67a598114bb8.tar.gz
bootable_bootloader_goldelico_gta04-42b02a681f8b4ddd877428ce48ed67a598114bb8.tar.bz2
increased settling time for systest gpio
-rw-r--r--u-boot/board/goldelico/gta04/systest.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/u-boot/board/goldelico/gta04/systest.c b/u-boot/board/goldelico/gta04/systest.c
index 9afdadb..ece7599 100644
--- a/u-boot/board/goldelico/gta04/systest.c
+++ b/u-boot/board/goldelico/gta04/systest.c
@@ -803,13 +803,13 @@ int gpiotest(void)
omap_set_gpio_direction(gj, 0); // switch to output
udelay(100);
omap_set_gpio_dataout(gj, 0); // set other output to 0
- udelay(100);
+ udelay(300);
valdn=omap_get_gpio_datain(g); // read value of input GPIO under test
omap_set_gpio_dataout(gj, 1); // set other output to 1
- udelay(100);
+ udelay(300);
valup=omap_get_gpio_datain(g); // read value of input GPIO under test
omap_set_gpio_direction(gj, 1); // switch back to input
- udelay(300);
+ udelay(100);
if(valdn == 0 && valup == 1)
{ // our input follows the other in output mode
if(i != j)