[PATCH] x86: Make default_print_cpuinfo be a weak alias for print_cpuinfo

Simon Glass sjg at chromium.org
Fri Oct 18 01:12:20 CEST 2024


While a few SoCs have a unique print_cpuinfo function, a number of them
just use default_print_cpuinfo. Make default_print_cpuinfo have a weak
alias to provie print_cpuinfo.

Signed-off-by: Tom Rini <trini at konsulko.com>
---
This will make re-using arch/x86/cpu/efi/ as a generic set of support
code for U-Boot as EFI payload/app a little bit easier.

Cc: Simon Glass <sjg at chromium.org>
Cc: Bin Meng <bmeng.cn at gmail.com>
---
 arch/x86/cpu/coreboot/coreboot.c             | 5 -----
 arch/x86/cpu/cpu.c                           | 2 ++
 arch/x86/cpu/efi/app.c                       | 5 -----
 arch/x86/cpu/efi/payload.c                   | 5 -----
 arch/x86/cpu/slimbootloader/slimbootloader.c | 5 -----
 arch/x86/cpu/tangier/tangier.c               | 5 -----
 6 files changed, 2 insertions(+), 25 deletions(-)

Applied to u-boot-dm, thanks!


More information about the U-Boot mailing list