[PATCH] tools: mksunxiboot: Use sunxi_image header directly

Samuel Holland samuel at sholland.org
Wed Oct 13 02:35:41 CEST 2021


When adding eGON support to mkimage, the struct boot_file_head
definition was moved to its own header. This is the only thing
mksunxiboot needed out of asm/arch/spl.h. Clean up the relative
include by switching to new header.

Signed-off-by: Samuel Holland <samuel at sholland.org>
---
We switched from using mksunxiboot to mkimage in January, so maybe
it is about time to consider dropping this tool?

 tools/mksunxiboot.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/mksunxiboot.c b/tools/mksunxiboot.c
index a18c9d98bc..becc36565b 100644
--- a/tools/mksunxiboot.c
+++ b/tools/mksunxiboot.c
@@ -12,10 +12,10 @@
 #include <stdlib.h>
 #include <string.h>
 #include <errno.h>
+#include <sunxi_image.h>
 #include <sys/types.h>
 #include <sys/stat.h>
 #include "imagetool.h"
-#include "../arch/arm/include/asm/arch-sunxi/spl.h"
 
 #define STAMP_VALUE                     0x5F0A6C39
 
-- 
2.32.0



More information about the U-Boot mailing list