From 3c73c5eb60d0bca4b30a579a84d8e240964223de Mon Sep 17 00:00:00 2001 From: Marek Vasut Date: Sun, 11 Apr 2021 18:30:36 +0200 Subject: [PATCH] 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 --- doc/imx/misc/psb.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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} -- 2.39.5