rockchip: board: place board_quiesce_devices() at the bottom
Being convenient for other functions to be called. Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I1a02a150cf66ccf3dfc4be3621ad62829c3e6eb5
This commit is contained in:
parent
89d8b5fba1
commit
189c0d68bd
|
|
@ -469,22 +469,6 @@ void arch_preboot_os(uint32_t bootm_state)
|
|||
hotkey_run(HK_CLI_OS_PRE);
|
||||
}
|
||||
|
||||
void board_quiesce_devices(void *images)
|
||||
{
|
||||
hotkey_run(HK_CMDLINE);
|
||||
hotkey_run(HK_CLI_OS_GO);
|
||||
|
||||
#ifdef CONFIG_ROCKCHIP_PRELOADER_ATAGS
|
||||
/* Destroy atags makes next warm boot safer */
|
||||
atags_destroy();
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_FIT_ROLLBACK_PROTECT
|
||||
/* TODO */
|
||||
printf("fit: rollback protect not implement\n");
|
||||
#endif
|
||||
}
|
||||
|
||||
void enable_caches(void)
|
||||
{
|
||||
icache_enable();
|
||||
|
|
@ -857,3 +841,19 @@ void board_fit_image_post_process(void **p_image, size_t *p_size)
|
|||
#endif
|
||||
}
|
||||
#endif
|
||||
|
||||
void board_quiesce_devices(void *images)
|
||||
{
|
||||
hotkey_run(HK_CMDLINE);
|
||||
hotkey_run(HK_CLI_OS_GO);
|
||||
|
||||
#ifdef CONFIG_ROCKCHIP_PRELOADER_ATAGS
|
||||
/* Destroy atags makes next warm boot safer */
|
||||
atags_destroy();
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_FIT_ROLLBACK_PROTECT
|
||||
/* TODO */
|
||||
printf("fit: rollback protect not implement\n");
|
||||
#endif
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue