diff options
author | Jeffy Chen <jeffy.chen@rock-chips.com> | 2015-11-17 14:20:30 +0800 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2015-12-01 08:07:22 -0700 |
commit | 3641339eff7d45342a5d3443ed7c057c5c62ae29 (patch) | |
tree | e6f2b5f2a2de0de5e9192e6bbe8b3eebfcb99ba2 /tools/rkspi.c | |
parent | 6ae5860942f4eb053e9b8c7e2673eaa7d648082d (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/rkspi.c')
-rw-r--r-- | tools/rkspi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/rkspi.c b/tools/rkspi.c index 13cc5932795..69a12f02e29 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, |