diff options
author | Simon Glass <sjg@chromium.org> | 2014-11-10 18:00:26 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2014-11-21 07:24:12 +0100 |
commit | 727c1a987147bb55ff41ab62f7e01293a38910b8 (patch) | |
tree | d859d062dc842c60c2c941fe38d6467a3319f1d1 /arch/x86/cpu/coreboot/coreboot.c | |
parent | 003504b6fe2296f581191b77fd2f1e98c4f4720c (diff) | |
download | u-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/coreboot.c')
-rw-r--r-- | arch/x86/cpu/coreboot/coreboot.c | 5 |
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) |