summaryrefslogtreecommitdiff
path: root/tools/rkspi.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/rkspi.c')
-rw-r--r--tools/rkspi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/rkspi.c b/tools/rkspi.c
index 13cc593..69a12f0 100644
--- a/tools/rkspi.c
+++ b/tools/rkspi.c
@@ -14,7 +14,7 @@
#include "rkcommon.h"
enum {
- RKSPI_SPL_HDR_START = RK_CODE1_OFFSET * RK_BLK_SIZE,
+ RKSPI_SPL_HDR_START = RK_INIT_OFFSET * RK_BLK_SIZE,
RKSPI_SPL_START = RKSPI_SPL_HDR_START + 4,
RKSPI_HEADER_LEN = RKSPI_SPL_START,
RKSPI_SECT_LEN = RK_BLK_SIZE * 4,