summaryrefslogtreecommitdiff
path: root/arch/x86/cpu/coreboot
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2014-11-10 18:00:26 -0700
committerSimon Glass <sjg@chromium.org>2014-11-21 07:24:12 +0100
commit727c1a987147bb55ff41ab62f7e01293a38910b8 (patch)
treed859d062dc842c60c2c941fe38d6467a3319f1d1 /arch/x86/cpu/coreboot
parent003504b6fe2296f581191b77fd2f1e98c4f4720c (diff)
downloadu-boot-imx-727c1a987147bb55ff41ab62f7e01293a38910b8.zip
u-boot-imx-727c1a987147bb55ff41ab62f7e01293a38910b8.tar.gz
u-boot-imx-727c1a987147bb55ff41ab62f7e01293a38910b8.tar.bz2
x86: Replace fill_processor_name() with cpu_get_name()
This implementation has a 'cpu' prefix and returns a pointer to the string, avoiding the need for copying. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'arch/x86/cpu/coreboot')
-rw-r--r--arch/x86/cpu/coreboot/coreboot.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/x86/cpu/coreboot/coreboot.c b/arch/x86/cpu/coreboot/coreboot.c
index 5527183..c9f83b0 100644
--- a/arch/x86/cpu/coreboot/coreboot.c
+++ b/arch/x86/cpu/coreboot/coreboot.c
@@ -72,6 +72,11 @@ void show_boot_progress(int val)
outb(val, 0x80);
}
+int print_cpuinfo(void)
+{
+ return default_print_cpuinfo();
+}
+
int last_stage_init(void)
{
if (gd->flags & GD_FLG_COLD_BOOT)