summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorAidan MacDonald <amachronic@protonmail.com>2021-04-07 23:24:34 +0100
committerSolomon Peachy <pizza@shaftnet.org>2021-04-09 10:53:36 +0000
commit9847f9c85e08c5d6917e0e57fcc492d35dcb1c44 (patch)
tree1656117183d51d0a3f88e4030ffcee26c23335df /tools
parentc0a823e2ab4fb9ceabdd28f0533354b01adfd395 (diff)
x1000: don't add pointless '1' after SPL signature
I added this because it is present on the FiiO M3K's SPL, but nothing in Ingenic docs suggest this means anything. Just get rid of it; the M3K boots fine without it. Change-Id: I2e480b8c0ada386b0e772db49c0a7ebd32ffc7ea
Diffstat (limited to 'tools')
-rw-r--r--tools/mkspl-x1000.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/mkspl-x1000.c b/tools/mkspl-x1000.c
index e27fe8e25b..1754681d41 100644
--- a/tools/mkspl-x1000.c
+++ b/tools/mkspl-x1000.c
@@ -136,7 +136,6 @@ void do_flash(const uint8_t* spl_code,
uint8_t hdr_buf[SPL_HEADER_SIZE];
memset(hdr_buf, 0, SPL_HEADER_SIZE);
memcpy(hdr_buf, &sig, sizeof(sig));
- hdr_buf[sizeof(sig)] = 1; /* ??? used in the FiiO M3K */
/* create null key */
uint8_t null_key[SPL_KEY_SIZE];