Skip to content
Snippets Groups Projects
Commit 8e5dc6f9 authored by Robin Getz's avatar Robin Getz Committed by Tom Rix
Browse files

Blackfin: use +(filesize) to make sure we are only doing what is necessary

parent e08dbb4f
No related branches found
No related tags found
No related merge requests found
......@@ -160,8 +160,8 @@
"nand write $(loadaddr) 0 0x40000"
# else
# define UBOOT_ENV_UPDATE \
"protect off 0x20000000 0x2003FFFF;" \
"erase 0x20000000 0x2003FFFF;" \
"protect off 0x20000000 +$(filesize);" \
"erase 0x20000000 +$(filesize);" \
"cp.b $(loadaddr) 0x20000000 $(filesize)"
# endif
# define NETWORK_ENV_SETTINGS \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment