9
0
Fork 0

loadb: change default download file

The default download device was /dev/mem
Quote Sascha:
"This is a quite dangerous thing. There are
quite some boards out there which have NOR
Flash on 0x0. With a default file of
/dev/mem we would overwrite U-Boot."

Change default device to image.bin

Signed-off-by: Nishanth Menon <x0nishan@ti.com>
This commit is contained in:
Nishanth Menon 2008-08-19 17:39:00 -05:00 committed by Sascha Hauer
parent 580cd4ff28
commit e320ef5f9e
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@
#define BREAK_TYPE 'B'
#define tochar(x) ((char) (((x) + SPACE) & 0xff))
#define untochar(x) ((int) (((x) - SPACE) & 0xff))
#define DEF_FILE "/dev/mem"
#define DEF_FILE "image.bin"
static int ofd; /* output file descriptor */