x86: Drop duplicate definition of zimage_dump()
authorSimon Glass <sjg@chromium.org>
Thu, 6 Mar 2025 00:24:57 +0000 (17:24 -0700)
committerTom Rini <trini@konsulko.com>
Tue, 18 Mar 2025 19:12:15 +0000 (13:12 -0600)
This is now defined in bootm.h so drop the duplicate in the x86 code.

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/x86/include/asm/zimage.h
cmd/x86/zboot.c

index 8b54260..76b2a79 100644 (file)
@@ -71,14 +71,6 @@ struct zboot_state {
 
 extern struct zboot_state state;
 
-/**
- * zimage_dump() - Dump information about a zimage
- *
- * @base_ptr: Pointer to the boot parameters
- * @show_cmdline: true to show the kernel command line
- */
-void zimage_dump(struct boot_params *base_ptr, bool show_cmdline);
-
 /**
  * zboot_load() - Load a zimage
  *
index 3035172..40f67a7 100644 (file)
@@ -7,6 +7,7 @@
 
 #define LOG_CATEGORY   LOGC_BOOT
 
+#include <bootm.h>
 #include <command.h>
 #include <mapmem.h>
 #include <vsprintf.h>