summaryrefslogtreecommitdiff
path: root/cpu/mpc8xx
diff options
context:
space:
mode:
authorwdenk <wdenk>2004-06-30 22:59:18 +0000
committerwdenk <wdenk>2004-06-30 22:59:18 +0000
commite94d2cd9d1dc0f58b18e7c31fc9345129b1a44fb (patch)
tree6d4eb219964b3c24ade460fb736122aef421c0f1 /cpu/mpc8xx
parentc3f4d17e05de2a448320e622e72153706aa0b59e (diff)
downloadu-boot-imx-e94d2cd9d1dc0f58b18e7c31fc9345129b1a44fb.zip
u-boot-imx-e94d2cd9d1dc0f58b18e7c31fc9345129b1a44fb.tar.gz
u-boot-imx-e94d2cd9d1dc0f58b18e7c31fc9345129b1a44fb.tar.bz2
* 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)
Diffstat (limited to 'cpu/mpc8xx')
-rw-r--r--cpu/mpc8xx/lcd.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/cpu/mpc8xx/lcd.c b/cpu/mpc8xx/lcd.c
index 794ca02..882a146 100644
--- a/cpu/mpc8xx/lcd.c
+++ b/cpu/mpc8xx/lcd.c
@@ -1333,9 +1333,11 @@ static void *lcd_logo (void)
#ifdef CONFIG_SPLASH_SCREEN
char *s;
ulong addr;
+ static int do_splash = 1;
- if ((s = getenv("splashimage")) != NULL) {
+ if (do_splash && (s = getenv("splashimage")) != NULL) {
addr = simple_strtoul(s, NULL, 16);
+ do_splash = 0;
if (lcd_display_bitmap (addr, 0, 0) == 0) {
return ((void *)lcd_base);