From: Marek Vasut Date: Sun, 11 Apr 2021 16:30:36 +0000 (+0200) Subject: doc: imx: psb: Fix missing setexpr arguments X-Git-Url: http://git.dujemihanovic.xyz/login.html?a=commitdiff_plain;h=3c73c5eb60d0bca4b30a579a84d8e240964223de;p=u-boot.git doc: imx: psb: Fix missing setexpr arguments Due to copy-paste error, two of the setexpr arguments were missing. Add the missing arguments. Signed-off-by: Marek Vasut Cc: Peng Fan Cc: Stefano Babic Cc: Ye Li Cc: uboot-imx Reviewed-by: Heinrich Schuchardt --- diff --git a/doc/imx/misc/psb.rst b/doc/imx/misc/psb.rst index 9bb84b4024..71ac09fac8 100644 --- a/doc/imx/misc/psb.rst +++ b/doc/imx/misc/psb.rst @@ -150,7 +150,7 @@ Examples of writing SIT and two copies of bootloader to SD or eMMC: => mmc write ${loadaddr} 0x41 0x1 => dhcp ${loadaddr} flash.bin - => setexpr blkcnt ${filesize} + 0x1ff && setexpr blkcnt + => setexpr blkcnt ${filesize} + 0x1ff && setexpr blkcnt ${blkcnt} / 0x200 => mmc dev 1 => mmc write ${loadaddr} 0x42 ${blkcnt} => mmc write ${loadaddr} 0x1042 ${blkcnt}