diff options
author | Simon Glass <sjg@chromium.org> | 2015-01-27 22:13:39 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2015-02-06 12:07:36 -0700 |
commit | 91785f70b9b7ebfd1a2da4772a8268b36f58fa3d (patch) | |
tree | 648c8dd82f5d7f8a10b0083a631b6c8dfb56d440 /arch/x86/cpu/queensbay/tnc_pci.c | |
parent | 7b02bf3c7dc74ab29e5c5f826cc0cfd141e41f2d (diff) |
x86: mmc: Move common FSP functions into a common file
Since these board functions seem to be the same for all boards which use
FSP, move them into a common file. We can adjust this later if future FSPs
need more flexibility.
This creates a generic PCI MMC device.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Tested-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'arch/x86/cpu/queensbay/tnc_pci.c')
-rw-r--r-- | arch/x86/cpu/queensbay/tnc_pci.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/arch/x86/cpu/queensbay/tnc_pci.c b/arch/x86/cpu/queensbay/tnc_pci.c index 9b0b7253134..6c291f9ee9c 100644 --- a/arch/x86/cpu/queensbay/tnc_pci.c +++ b/arch/x86/cpu/queensbay/tnc_pci.c @@ -44,18 +44,3 @@ void board_pci_setup_hose(struct pci_controller *hose) hose->region_count = 4; } - -int board_pci_post_scan(struct pci_controller *hose) -{ - u32 status; - - /* call into FspNotify */ - debug("Calling into FSP (notify phase INIT_PHASE_PCI): "); - status = fsp_notify(NULL, INIT_PHASE_PCI); - if (status != FSP_SUCCESS) - debug("fail, error code %x\n", status); - else - debug("OK\n"); - - return 0; -} |