mirror of
https://github.com/linux-sunxi/u-boot-sunxi.git
synced 2024-02-12 11:16:03 +08: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