s5pc110: check u-boot-onenand.bin size
authorKyungmin Park <kyungmin.park@samsung.com>
Sat, 5 Dec 2009 04:30:39 +0000 (13:30 +0900)
committerKyungmin Park <kyungmin.park@samsung.com>
Sat, 5 Dec 2009 04:30:39 +0000 (13:30 +0900)
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
build.sh

index d24f033..cee2860 100755 (executable)
--- a/build.sh
+++ b/build.sh
@@ -44,8 +44,8 @@ check_users
 build_uboot $*
 
 size=`ls -al u-boot-onenand.bin | awk -F' ' '{printf $5}'`
-if [ "$size" -eq "262144" ]; then
-       echo "u-boot-onenand.bin execced the 256KiB -> $size"
+if [ "$size" -ge "262144" ]; then
+       echo "u-boot-onenand.bin execced the 256KiB 262144 -> $size"
        exit
 fi