]> git.baikalelectronics.ru Git - uboot.git/commit
mkimage: sunxi_egon: refactor for multi-architecture support
authorIcenowy Zheng <icenowy@aosc.io>
Fri, 15 Oct 2021 01:53:05 +0000 (20:53 -0500)
committerAndre Przywara <andre.przywara@arm.com>
Mon, 4 Apr 2022 22:24:17 +0000 (23:24 +0100)
commit25e0180c57b6c65673b6d8924662b91c26c02868
tree670c8620014183b019ebd6f80736c0ca110ff293
parent290943a990f4479016425dfd4092ad289c5c2146
mkimage: sunxi_egon: refactor for multi-architecture support

Refactor some functions in mkimage sunxi_egon type, in order to prepare
for adding support for more CPU architectures (e.g. RISC-V). In
addition, compatibility for operation w/o specified architecture is
kept, in this case the architecture is assumed as ARM.

Reviewed-by: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
Signed-off-by: Samuel Holland <samuel@sholland.org>
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
tools/sunxi_egon.c