summaryrefslogtreecommitdiff
path: root/tools/mksunxiboot.c
diff options
context:
space:
mode:
authorSamuel Holland <samuel@sholland.org>2021-10-13 03:35:41 +0300
committerAndre Przywara <andre.przywara@arm.com>2021-10-25 16:49:58 +0300
commita13fa74a8e82d7c1d6c4c4945ae0dc4870a222c9 (patch)
tree67e993e52b9d97d6ed9240fe63593256d92967a7 /tools/mksunxiboot.c
parent00f82fcfba6ceff501bfd8e4fc2adb368f2905ac (diff)
downloadu-boot-a13fa74a8e82d7c1d6c4c4945ae0dc4870a222c9.tar.xz
tools: mksunxiboot: Use sunxi_image header directly
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>
Diffstat (limited to 'tools/mksunxiboot.c')
-rw-r--r--tools/mksunxiboot.c2
1 files changed, 1 insertions, 1 deletions
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