From 9847f9c85e08c5d6917e0e57fcc492d35dcb1c44 Mon Sep 17 00:00:00 2001 From: Aidan MacDonald Date: Wed, 7 Apr 2021 23:24:34 +0100 Subject: 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 --- tools/mkspl-x1000.c | 1 - 1 file changed, 1 deletion(-) 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]; -- cgit v1.2.3