summaryrefslogtreecommitdiff
path: root/arch/x86/cpu/queensbay/tnc.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-01-28 05:13:39 (GMT)
committerSimon Glass <sjg@chromium.org>2015-02-06 19:07:36 (GMT)
commit91785f70b9b7ebfd1a2da4772a8268b36f58fa3d (patch)
tree648c8dd82f5d7f8a10b0083a631b6c8dfb56d440 /arch/x86/cpu/queensbay/tnc.c
parent7b02bf3c7dc74ab29e5c5f826cc0cfd141e41f2d (diff)
downloadu-boot-fsl-qoriq-91785f70b9b7ebfd1a2da4772a8268b36f58fa3d.tar.xz
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.c')
-rw-r--r--arch/x86/cpu/queensbay/tnc.c27
1 files changed, 0 insertions, 27 deletions
diff --git a/arch/x86/cpu/queensbay/tnc.c b/arch/x86/cpu/queensbay/tnc.c
index f9b3bfa..30ab725 100644
--- a/arch/x86/cpu/queensbay/tnc.c
+++ b/arch/x86/cpu/queensbay/tnc.c
@@ -43,30 +43,3 @@ int arch_cpu_init(void)
return 0;
}
-
-int print_cpuinfo(void)
-{
- post_code(POST_CPU_INFO);
- return default_print_cpuinfo();
-}
-
-void reset_cpu(ulong addr)
-{
- /* cold reset */
- outb(0x06, PORT_RESET);
-}
-
-void board_final_cleanup(void)
-{
- u32 status;
-
- /* call into FspNotify */
- debug("Calling into FSP (notify phase INIT_PHASE_BOOT): ");
- status = fsp_notify(NULL, INIT_PHASE_BOOT);
- if (status != FSP_SUCCESS)
- debug("fail, error code %x\n", status);
- else
- debug("OK\n");
-
- return;
-}