board/BuR/common: rename "usbupdate" environment to "usbscript"

usbupdate in real does allways load some script from usb-storage and execute
it, on all B&R targets.

So we do following 2 things:
- rename it to what it really does
- move it from boards to common environment

Signed-off-by: Hannes Petermaier <oe5hpm@oevsv.at>
This commit is contained in:
Hannes Petermaier
2015-04-24 14:49:39 +02:00
committed by Tom Rini
parent 4e2a341566
commit 5094befd84
4 changed files with 5 additions and 10 deletions

View File

@@ -214,8 +214,8 @@ int board_late_init(void)
gpio_get_value(PUSH_KEY) && 1 == cnt) {
lcd_position_cursor(1, 8);
lcd_puts(
"updating U-BOOT from USB ... ");
setenv("bootcmd", "run usbupdate");
"starting u-boot script from USB ... ");
setenv("bootcmd", "run usbscript");
cnt = 4;
break;
} else if ((!gpio_get_value(ESC_KEY) &&