2 * Copyright (C) 2014, Bin Meng <bmeng.cn@gmail.com>
4 * SPDX-License-Identifier: GPL-2.0+
11 #include <asm/processor.h>
12 #include <asm/fsp/fsp_support.h>
14 int print_cpuinfo(void)
16 post_code(POST_CPU_INFO);
17 return default_print_cpuinfo();
20 int board_pci_post_scan(struct pci_controller *hose)
24 /* call into FspNotify */
25 debug("Calling into FSP (notify phase INIT_PHASE_PCI): ");
26 status = fsp_notify(NULL, INIT_PHASE_PCI);
27 if (status != FSP_SUCCESS)
28 debug("fail, error code %x\n", status);
35 void board_final_cleanup(void)
39 /* call into FspNotify */
40 debug("Calling into FSP (notify phase INIT_PHASE_BOOT): ");
41 status = fsp_notify(NULL, INIT_PHASE_BOOT);
42 if (status != FSP_SUCCESS)
43 debug("fail, error code %x\n", status);
50 int x86_fsp_init(void)
52 if (!gd->arch.hob_list)
53 fsp_init(CONFIG_FSP_TEMP_RAM_ADDR, BOOT_FULL_CONFIG, NULL);