Merge branch 'u-boot-imx/master' into 'u-boot-arm/master'
[glsdk/glsdk-u-boot.git] / include / configs / m28evk.h
index 36ce672361d83bbbd36298b194a5d11b130f581f..688717158b53cc0d209a994dfb80c2875a14973a 100644 (file)
                "if tftp ${update_nand_full_filename} ; then "          \
                "run update_nand_get_fcb_size ; "                       \
                "nand scrub -y 0x0 ${filesize} ; "                      \
-               "nand write.raw ${loadaddr} 0x0 ${update_nand_fcb} ; "  \
+               "nand write.raw ${loadaddr} 0x0 ${fcb_sz} ; "   \
                "setexpr update_off ${loadaddr} + ${update_nand_fcb} ; " \
                "setexpr update_sz ${filesize} - ${update_nand_fcb} ; " \
                "nand write ${update_off} ${update_nand_fcb} ${update_sz} ; " \