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:
parent
580cd4ff28
commit
e320ef5f9e
|
@ -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 */
|
||||
|
||||
|
|
Loading…
Reference in New Issue