1
0
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:
Jeffy Chen
2015-11-17 14:20:30 +08:00
committed by Simon Glass
parent 6ae5860942
commit 3641339eff
4 changed files with 14 additions and 17 deletions

View File

@@ -10,7 +10,8 @@
enum {
RK_BLK_SIZE = 512,
RK_CODE1_OFFSET = 4,
RK_INIT_OFFSET = 4,
RK_MAX_BOOT_SIZE = 512 << 10,
};
/**