diff options
author | Robin Getz <robin.getz@analog.com> | 2009-07-10 18:37:15 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2009-09-02 04:10:30 -0400 |
commit | 69c6d268a29cf6d61e096d815abf5abf24136f45 (patch) | |
tree | 82ed841c7019d824a01c6b96f06702969736e59e | |
parent | 3aa8b68d80dbcb6829af60485c1e388b39af793d (diff) | |
download | u-boot-imx-69c6d268a29cf6d61e096d815abf5abf24136f45.zip u-boot-imx-69c6d268a29cf6d61e096d815abf5abf24136f45.tar.gz u-boot-imx-69c6d268a29cf6d61e096d815abf5abf24136f45.tar.bz2 |
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>
-rw-r--r-- | include/configs/bfin_adi_common.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/configs/bfin_adi_common.h b/include/configs/bfin_adi_common.h index 1ca2e51..ceb130c 100644 --- a/include/configs/bfin_adi_common.h +++ b/include/configs/bfin_adi_common.h @@ -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 \ |