]> git.dujemihanovic.xyz Git - u-boot.git/commit
x86: fsp: Only FSP2 has INIT_PHASE_END_FIRMWARE
authorBin Meng <bmeng.cn@gmail.com>
Mon, 2 Aug 2021 09:45:22 +0000 (17:45 +0800)
committerBin Meng <bmeng.cn@gmail.com>
Mon, 2 Aug 2021 16:01:38 +0000 (00:01 +0800)
commit33e4ab31a9647b0bacd44b579199eaae239d69e3
treeebfad76d670c371595affa108f166b4551ec935f
parent02541601cbc4adbb9a65b68faa9b8ce14dac7f1d
x86: fsp: Only FSP2 has INIT_PHASE_END_FIRMWARE

For FSP1, there is no such INIT_PHASE_END_FIRMWARE.

Move board_final_cleanup() to fsp2 directory.

Fixes: 7c73cea44290 ("x86: Notify the FSP of the 'end firmware' event")
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Tested on chromebook_coral, chromebook_samus, chromebook_link, minnowmax
Tested-by: Simon Glass <sjg@chromium.org>
arch/x86/lib/fsp/fsp_common.c
arch/x86/lib/fsp2/fsp_common.c