mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-03-14 21:10:27 +01:00
x86: Adjust board_final_cleanup() order
Call board_final_cleanup() before write_tables(), so that anything done in board_final_cleanup() on a normal boot path is also done on an S3 resume path. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> Tested-by: Stefan Roese <sr@denx.de>
This commit is contained in:
parent
95e50dd197
commit
bffd798136
1 changed files with 2 additions and 2 deletions
|
|
@ -205,6 +205,8 @@ __weak void board_final_cleanup(void)
|
|||
|
||||
int last_stage_init(void)
|
||||
{
|
||||
board_final_cleanup();
|
||||
|
||||
#if CONFIG_HAVE_ACPI_RESUME
|
||||
void *wake_vector = acpi_find_wakeup_vector();
|
||||
|
||||
|
|
@ -214,8 +216,6 @@ int last_stage_init(void)
|
|||
|
||||
write_tables();
|
||||
|
||||
board_final_cleanup();
|
||||
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue