rockchip: spl: implment write rollback-index

Exactly before jumping the next stage.

Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: Ib81891ddad474911c0334bb9a370acdcd91603f8
This commit is contained in:
Joseph Chen 2020-04-02 19:59:12 +08:00 committed by Jianhong Chen
parent 7a1370759d
commit 6afcbf8807
1 changed files with 10 additions and 0 deletions

View File

@ -10,6 +10,7 @@
#include <key.h>
#include <ram.h>
#include <spl.h>
#include <optee_include/OpteeClientInterface.h>
#include <asm/arch/bootrom.h>
#ifdef CONFIG_ROCKCHIP_PRELOADER_ATAGS
#include <asm/arch/rk_atags.h>
@ -295,3 +296,12 @@ void spl_next_stage(struct spl_image_info *spl)
}
}
#endif
int spl_board_prepare_for_jump(struct spl_image_info *spl_image)
{
#if CONFIG_SPL_FIT_ROLLBACK_PROTECT
/* TODO */
printf("spl fit: rollback protect not implement\n");
#endif
return 0;
}