x86: Rename board_final_cleanup() to board_final_init()
authorSimon Glass <sjg@chromium.org>
Fri, 17 Jul 2020 03:22:38 +0000 (21:22 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Fri, 17 Jul 2020 06:32:24 +0000 (14:32 +0800)
commit4021ee63882dcfd6dc348ca6dd7dd8f370abef35
tree13bd40223396f6f87d0d859db0e607c788fccb1d
parent22a7396f7f8ae6aac473e16deb7eda4f9efa84b0
x86: Rename board_final_cleanup() to board_final_init()

This function sounds like something that is called when U-Boot is about to
jump to Linux. In fact it is an init function.

Rename it to reduce confusion.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Wolfgang Wallner <wolfgang.wallner@br-automation.com>
arch/x86/cpu/coreboot/coreboot.c
arch/x86/cpu/cpu.c
arch/x86/cpu/efi/app.c
arch/x86/cpu/quark/quark.c
arch/x86/lib/fsp/fsp_common.c