mirror of
https://github.com/Stichting-MINIX-Research-Foundation/u-boot.git
synced 2025-09-07 10:57:55 -04:00
Blackfin: use +(filesize) to make sure we are only doing what is necessary
Signed-off-by: Robin Getz <robin.getz@analog.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
parent
e08dbb4f20
commit
8e5dc6f986
@ -160,8 +160,8 @@
|
|||||||
"nand write $(loadaddr) 0 0x40000"
|
"nand write $(loadaddr) 0 0x40000"
|
||||||
# else
|
# else
|
||||||
# define UBOOT_ENV_UPDATE \
|
# define UBOOT_ENV_UPDATE \
|
||||||
"protect off 0x20000000 0x2003FFFF;" \
|
"protect off 0x20000000 +$(filesize);" \
|
||||||
"erase 0x20000000 0x2003FFFF;" \
|
"erase 0x20000000 +$(filesize);" \
|
||||||
"cp.b $(loadaddr) 0x20000000 $(filesize)"
|
"cp.b $(loadaddr) 0x20000000 $(filesize)"
|
||||||
# endif
|
# endif
|
||||||
# define NETWORK_ENV_SETTINGS \
|
# define NETWORK_ENV_SETTINGS \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user