From cd396346730a0bae821a66bd183497739de8836f Mon Sep 17 00:00:00 2001 From: Kyungmin Park Date: Sat, 5 Dec 2009 13:30:39 +0900 Subject: [PATCH] s5pc110: check u-boot-onenand.bin size Signed-off-by: Kyungmin Park --- build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.sh b/build.sh index d24f033..cee2860 100755 --- 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 -- 2.7.4