[v1,40/43] x86: Drop setup_pcat_compatibility()

Message ID 20200615035738.248710-21-sjg@chromium.org
State New
Headers show
Series
  • x86: Programmatic generation of ACPI tables (Part C)
Related show

Commit Message

Simon Glass June 15, 2020, 3:57 a.m.
This function does not exist anymore. Drop it from the header file.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

 arch/x86/include/asm/u-boot-x86.h | 2 --
 1 file changed, 2 deletions(-)

Comments

Bin Meng June 30, 2020, 8:40 a.m. | #1
Hi Simon,

On Mon, Jun 15, 2020 at 11:58 AM Simon Glass <sjg at chromium.org> wrote:
>
> This function does not exist anymore. Drop it from the header file.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
>  arch/x86/include/asm/u-boot-x86.h | 2 --
>  1 file changed, 2 deletions(-)
>

The function is in zimage.c

./arch/x86/lib/zimage.c:307:void setup_pcat_compatibility(void)
./arch/x86/lib/zimage.c:308:    __attribute__((weak,
alias("__setup_pcat_compatibility")));
./arch/x86/lib/zimage.c:310:void __setup_pcat_compatibility(void)
./arch/x86/lib/zimage.c:327:    setup_pcat_compatibility();

Regards,
Bin

Patch

diff --git a/arch/x86/include/asm/u-boot-x86.h b/arch/x86/include/asm/u-boot-x86.h
index bd3f44014c..d732661f6d 100644
--- a/arch/x86/include/asm/u-boot-x86.h
+++ b/arch/x86/include/asm/u-boot-x86.h
@@ -83,8 +83,6 @@  int default_print_cpuinfo(void);
 /* Set up a UART which can be used with printch(), printhex8(), etc. */
 int setup_internal_uart(int enable);
 
-void setup_pcat_compatibility(void);
-
 void isa_unmap_rom(u32 addr);
 u32 isa_map_rom(u32 bus_addr, int size);