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>
Showing
- arch/x86/cpu/coreboot/coreboot.c 5 additions, 0 deletionsarch/x86/cpu/coreboot/coreboot.c
- arch/x86/cpu/cpu.c 10 additions, 12 deletionsarch/x86/cpu/cpu.c
- arch/x86/include/asm/cpu.h 8 additions, 3 deletionsarch/x86/include/asm/cpu.h
- arch/x86/include/asm/u-boot-x86.h 1 addition, 0 deletionsarch/x86/include/asm/u-boot-x86.h
Loading
Please register or sign in to comment