]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
tools: mksunxiboot: Use sunxi_image header directly
authorSamuel Holland <samuel@sholland.org>
Wed, 13 Oct 2021 00:35:41 +0000 (19:35 -0500)
committerAndre Przywara <andre.przywara@arm.com>
Mon, 25 Oct 2021 13:49:58 +0000 (14:49 +0100)
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@sholland.org>
Reviewed-by: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
tools/mksunxiboot.c

index a18c9d98bc7d1b814b1e0c775bcfcbc1809ab512..becc36565b7ef4efc7734d00d52c8925045be150 100644 (file)
 #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