U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Johan Jonker <jbx6244@gmail.com>
To: u-boot@0leil.net
Cc: kever.yang@rock-chips.com, sjg@chromium.org, trini@konsulko.com,
	u-boot@lists.u-boot-project.org
Subject: [PATCH v2 10/11] rockchip: tools: add comment section to rkspi.c
Date: Tue, 28 Jul 2026 08:56:52 +0200	[thread overview]
Message-ID: <ca068b46-0a4f-4324-a6c0-ba56f76c6e23@gmail.com> (raw)
In-Reply-To: <734d54aa-6523-4c2b-ba3a-a51b063a340e@gmail.com>

README.rockchip must be removed.
Move the rkspi comment section to rkspi.c

Signed-off-by: Johan Jonker <jbx6244@gmail.com>
---
 tools/rkspi.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/tools/rkspi.c b/tools/rkspi.c
index f2530f7bde34..4f98a60a0692 100644
--- a/tools/rkspi.c
+++ b/tools/rkspi.c
@@ -3,7 +3,11 @@
  * (C) Copyright 2015 Google,  Inc
  * Written by Simon Glass <sjg@chromium.org>
  *
- * See README.rockchip for details of the rkspi format
+ * rkspi.c produces an image consisting of a header and u-boot-spl-dtb.bin.
+ * The resulting image is then spread out so that only the first 2KB of each 4KB
+ * sector is used. The header is the same as with rksd and the maximum size is
+ * also 32KB (before spreading). The image should be written to the start of
+ * SPI flash.
  */

 #include "imagetool.h"
--
2.39.5


  parent reply	other threads:[~2026-07-28  6:56 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-28  6:51 [PATCH v2 00/11] doc: clean up README.rockchip Johan Jonker
2026-07-28  6:53 ` [PATCH v2 01/11] rockchip: scripts: remove rkmux.py Johan Jonker
2026-07-29 13:40   ` Simon Glass
2026-07-28  6:53 ` [PATCH v2 02/11] rockchip: doc: change TPL phrase Johan Jonker
2026-07-29 13:40   ` Simon Glass
2026-07-28  6:54 ` [PATCH v2 03/11] rockchip: doc: add BootROM/MaskROM mode text Johan Jonker
2026-07-29 13:40   ` Simon Glass
2026-07-28  6:54 ` [PATCH v2 04/11] rockchip: doc: remove TODO Johan Jonker
2026-07-29 13:40   ` Simon Glass
2026-07-28  6:55 ` [PATCH v2 05/11] rockchip: doc: remove copyright lines Johan Jonker
2026-07-29 13:40   ` Simon Glass
2026-07-28  6:55 ` [PATCH v2 06/11] rockchip: doc: add more building instructions Johan Jonker
2026-07-29 13:40   ` Simon Glass
2026-07-28  6:56 ` [PATCH v2 07/11] rockchip: doc: add more EMMC program examples Johan Jonker
2026-07-29 13:41   ` Simon Glass
2026-07-28  6:56 ` [PATCH v2 08/11] rockchip: doc: add boot medium layout text Johan Jonker
     [not found]   ` <jbx6244@gmail.com>
2026-07-28 15:33     ` Stefan Monnier
2026-07-28 15:39     ` Stefan Monnier
2026-07-29 13:43   ` Simon Glass
2026-07-28  6:56 ` [PATCH v2 09/11] rockchip: tools: add comment section to rksd.c Johan Jonker
2026-07-29 13:41   ` Simon Glass
2026-07-28  6:56 ` Johan Jonker [this message]
2026-07-29 13:41   ` [PATCH v2 10/11] rockchip: tools: add comment section to rkspi.c Simon Glass
2026-07-28  6:57 ` [PATCH v2 11/11] rockchip: doc: remove README.rockchip Johan Jonker
2026-07-29 13:43   ` Simon Glass
2026-07-29 13:44 ` [v2,00/11] doc: clean up README.rockchip Simon Glass

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ca068b46-0a4f-4324-a6c0-ba56f76c6e23@gmail.com \
    --to=jbx6244@gmail.com \
    --cc=kever.yang@rock-chips.com \
    --cc=sjg@chromium.org \
    --cc=trini@konsulko.com \
    --cc=u-boot@0leil.net \
    --cc=u-boot@lists.u-boot-project.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox