Commit e94d2cd9d1dc0f58b18e7c31fc9345129b1a44fb

Authored by wdenk
1 parent c3f4d17e05

* Fix "cls" command when used with splash screen

* Increase NFS download timeout (now 1 min - 10 sec is to short for a
  slow download of a big image)

Showing 4 changed files with 10 additions and 3 deletions Side-by-side Diff

... ... @@ -2,6 +2,11 @@
2 2 Changes since U-Boot 1.1.1:
3 3 ======================================================================
4 4  
  5 +* Fix "cls" command when used with splash screen
  6 +
  7 +* Increase NFS download timeout (now 1 min - 10 sec is to short for a
  8 + slow download of a big image)
  9 +
5 10 * Add "cls" function to MPC823 LCD driver so we can reinitialize the
6 11 display even after showing a bitmap
7 12  
... ... @@ -895,7 +895,7 @@
895 895 If this option is set, the environment is checked for
896 896 a variable "splashimage". If found, the usual display
897 897 of logo, copyright and system information on the LCD
898   - is supressed and the BMP image at the address
  898 + is suppressed and the BMP image at the address
899 899 specified in "splashimage" is loaded instead. The
900 900 console is redirected to the "nulldev", too. This
901 901 allows for a "silent" boot where a splash screen is
... ... @@ -1333,9 +1333,11 @@
1333 1333 #ifdef CONFIG_SPLASH_SCREEN
1334 1334 char *s;
1335 1335 ulong addr;
  1336 + static int do_splash = 1;
1336 1337  
1337   - if ((s = getenv("splashimage")) != NULL) {
  1338 + if (do_splash && (s = getenv("splashimage")) != NULL) {
1338 1339 addr = simple_strtoul(s, NULL, 16);
  1340 + do_splash = 0;
1339 1341  
1340 1342 if (lcd_display_bitmap (addr, 0, 0) == 0) {
1341 1343 return ((void *)lcd_base);
... ... @@ -34,7 +34,7 @@
34 34 #if ((CONFIG_COMMANDS & CFG_CMD_NET) && (CONFIG_COMMANDS & CFG_CMD_NFS))
35 35  
36 36 #define HASHES_PER_LINE 65 /* Number of "loading" hashes per line */
37   -#define NFS_TIMEOUT 10
  37 +#define NFS_TIMEOUT 60
38 38  
39 39 static int fs_mounted = 0;
40 40 static unsigned long rpc_id = 0;