summaryrefslogtreecommitdiff
path: root/tools/rksd.c
diff options
context:
space:
mode:
authorJeffy Chen <jeffy.chen@rock-chips.com>2015-11-17 14:20:30 +0800
committerSimon Glass <sjg@chromium.org>2015-12-01 08:07:22 -0700
commit3641339eff7d45342a5d3443ed7c057c5c62ae29 (patch)
treee6f2b5f2a2de0de5e9192e6bbe8b3eebfcb99ba2 /tools/rksd.c
parent6ae5860942f4eb053e9b8c7e2673eaa7d648082d (diff)
rockchip: Add support for rk's second level loader
The Rockchip boot ROM could load & run an initial spl loader, and continue to load a second level boot-loader(which stored right after the initial loader) when it returns. Modify idblock generation code to support it. Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com> Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/rksd.c')
-rw-r--r--tools/rksd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/rksd.c b/tools/rksd.c
index 30b149dd7b0..f660d562a8e 100644
--- a/tools/rksd.c
+++ b/tools/rksd.c
@@ -14,7 +14,7 @@
#include "rkcommon.h"
enum {
- RKSD_SPL_HDR_START = RK_CODE1_OFFSET * RK_BLK_SIZE,
+ RKSD_SPL_HDR_START = RK_INIT_OFFSET * RK_BLK_SIZE,
RKSD_SPL_START = RKSD_SPL_HDR_START + 4,
RKSD_HEADER_LEN = RKSD_SPL_START,
};