From: Simon Glass Date: Mon, 21 Jan 2019 21:53:27 +0000 (-0700) Subject: rockchip: Clarify docs on SPI writing X-Git-Url: http://git.dujemihanovic.xyz/img/sics.gif?a=commitdiff_plain;h=6cecc2b556a7b9cddf7c95155f51208f7bea66b1;p=u-boot.git rockchip: Clarify docs on SPI writing We use every second block when creating a SPI image, so update the text to say this explicitly. Signed-off-by: Simon Glass Reviewed-by: Kever Yang Reviewed-by: Philipp Tomsich --- diff --git a/doc/README.rockchip b/doc/README.rockchip index 9542265a83..db5724e073 100644 --- a/doc/README.rockchip +++ b/doc/README.rockchip @@ -262,7 +262,7 @@ To write an image that boots from SPI flash (e.g. for the Haier Chromebook): dd if=out.bin of=out.bin.pad bs=4M conv=sync This converts the SPL image to the required SPI format by adding the Rockchip -header and skipping every 2KB block. Then the U-Boot image is written at +header and skipping every second 2KB block. Then the U-Boot image is written at offset 128KB and the whole image is padded to 4MB which is the SPI flash size. The position of U-Boot is controlled with this setting in U-Boot: