mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 00:32:04 +02:00
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>
This commit is contained in:
@@ -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,
|
||||
|
Reference in New Issue
Block a user