From 6afcbf88073f5a6ff8a6cdeb46ace2cc8b410414 Mon Sep 17 00:00:00 2001 From: Joseph Chen Date: Thu, 2 Apr 2020 19:59:12 +0800 Subject: [PATCH] rockchip: spl: implment write rollback-index Exactly before jumping the next stage. Signed-off-by: Joseph Chen Change-Id: Ib81891ddad474911c0334bb9a370acdcd91603f8 --- arch/arm/mach-rockchip/spl.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/mach-rockchip/spl.c b/arch/arm/mach-rockchip/spl.c index be2654a435..cb370c0625 100644 --- a/arch/arm/mach-rockchip/spl.c +++ b/arch/arm/mach-rockchip/spl.c @@ -10,6 +10,7 @@ #include #include #include +#include #include #ifdef CONFIG_ROCKCHIP_PRELOADER_ATAGS #include @@ -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; +}