--- u-boot.ori/common/main.c Thu Nov 27 19:25:30 2003 +++ u-boot/common/main.c Thu Nov 27 19:26:03 2003 @@ -505,7 +505,7 @@ char *s = getenv ("bootretry"); if (s != NULL) - retry_time = (int)simple_strtoul(s, NULL, 10); + retry_time = (int)simple_strtol(s, NULL, 10); else retry_time = CONFIG_BOOT_RETRY_TIME;