x86: Replace fill_processor_name() with cpu_get_name()
authorSimon Glass <sjg@chromium.org>
Tue, 11 Nov 2014 01:00:26 +0000 (18:00 -0700)
committerSimon Glass <sjg@chromium.org>
Fri, 21 Nov 2014 06:24:12 +0000 (07:24 +0100)
commit727c1a987147bb55ff41ab62f7e01293a38910b8
treed859d062dc842c60c2c941fe38d6467a3319f1d1
parent003504b6fe2296f581191b77fd2f1e98c4f4720c
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>
arch/x86/cpu/coreboot/coreboot.c
arch/x86/cpu/cpu.c
arch/x86/include/asm/cpu.h
arch/x86/include/asm/u-boot-x86.h