* [PATCH] tools: mksunxiboot: Use sunxi_image header directly
@ 2021-10-13 0:35 Samuel Holland
2021-10-14 0:19 ` Andre Przywara
0 siblings, 1 reply; 3+ messages in thread
From: Samuel Holland @ 2021-10-13 0:35 UTC (permalink / raw)
To: u-boot, Jagan Teki, Andre Przywara; +Cc: Samuel Holland
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>
---
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
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] tools: mksunxiboot: Use sunxi_image header directly
2021-10-13 0:35 [PATCH] tools: mksunxiboot: Use sunxi_image header directly Samuel Holland
@ 2021-10-14 0:19 ` Andre Przywara
2021-10-15 4:21 ` Samuel Holland
0 siblings, 1 reply; 3+ messages in thread
From: Andre Przywara @ 2021-10-14 0:19 UTC (permalink / raw)
To: Samuel Holland; +Cc: u-boot, Jagan Teki
On Tue, 12 Oct 2021 19:35:41 -0500
Samuel Holland <samuel@sholland.org> wrote:
> 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>
> ---
> We switched from using mksunxiboot to mkimage in January, so maybe
> it is about time to consider dropping this tool?
Well, is there a reason to remove it? Otherwise I don't see a problem
to keep it around for a while, 9 months is not a terribly long time for
some people.
Cheers,
Andre.
>
> 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
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] tools: mksunxiboot: Use sunxi_image header directly
2021-10-14 0:19 ` Andre Przywara
@ 2021-10-15 4:21 ` Samuel Holland
0 siblings, 0 replies; 3+ messages in thread
From: Samuel Holland @ 2021-10-15 4:21 UTC (permalink / raw)
To: Andre Przywara; +Cc: u-boot, Jagan Teki
On 10/13/21 7:19 PM, Andre Przywara wrote:
> On Tue, 12 Oct 2021 19:35:41 -0500
> Samuel Holland <samuel@sholland.org> wrote:
>
>> 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>
>
>> ---
>> We switched from using mksunxiboot to mkimage in January, so maybe
>> it is about time to consider dropping this tool?
>
> Well, is there a reason to remove it? Otherwise I don't see a problem
> to keep it around for a while, 9 months is not a terribly long time for
> some people.
No, there's not a particular reason. I was reminded that this file still
exists because I tried refactoring some things to isolate SPL code, and
I broke it. Now that it's fixed, leaving it is not too much trouble.
Regards,
Samuel
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-10-15 4:22 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-13 0:35 [PATCH] tools: mksunxiboot: Use sunxi_image header directly Samuel Holland
2021-10-14 0:19 ` Andre Przywara
2021-10-15 4:21 ` Samuel Holland
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.