mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-10-01 10:41:49 +02:00
sunxi: enable automatic FIT build for 64-bit SoCs
The Allwinner SoCs with 64-bit cores use an ARM Trusted Firmware binary, which needs to be loaded alongside U-Boot proper. Set the respective Kconfig options to let them select this feature and also automatically build the FIT image. Signed-off-by: Andre Przywara <andre.przywara@arm.com> Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com> [Rename Kconfig path to arch/arm/mach-sunxi/Kconfig] Signed-off-by: Jagan Teki <jagan@openedev.com> Reviewed-by: Jagan Teki <jagan@openedev.com>
This commit is contained in:
parent
fdd8098ab7
commit
d29adf8eef
1
Kconfig
1
Kconfig
@ -252,6 +252,7 @@ config SPL_FIT_SOURCE
|
|||||||
config SPL_FIT_GENERATOR
|
config SPL_FIT_GENERATOR
|
||||||
string ".its file generator script for U-Boot FIT image"
|
string ".its file generator script for U-Boot FIT image"
|
||||||
depends on SPL_FIT
|
depends on SPL_FIT
|
||||||
|
default "board/sunxi/mksunxi_fit_atf.sh" if SPL_LOAD_FIT && ARCH_SUNXI
|
||||||
help
|
help
|
||||||
Specifies a (platform specific) script file to generate the FIT
|
Specifies a (platform specific) script file to generate the FIT
|
||||||
source file used to build the U-Boot FIT image file. This gets
|
source file used to build the U-Boot FIT image file. This gets
|
||||||
|
@ -143,12 +143,16 @@ config MACH_SUN50I
|
|||||||
select SUNXI_GEN_SUN6I
|
select SUNXI_GEN_SUN6I
|
||||||
select SUNXI_HIGH_SRAM
|
select SUNXI_HIGH_SRAM
|
||||||
select SUPPORT_SPL
|
select SUPPORT_SPL
|
||||||
|
select FIT
|
||||||
|
select SPL_LOAD_FIT
|
||||||
|
|
||||||
config MACH_SUN50I_H5
|
config MACH_SUN50I_H5
|
||||||
bool "sun50i (Allwinner H5)"
|
bool "sun50i (Allwinner H5)"
|
||||||
select ARM64
|
select ARM64
|
||||||
select MACH_SUNXI_H3_H5
|
select MACH_SUNXI_H3_H5
|
||||||
select SUNXI_HIGH_SRAM
|
select SUNXI_HIGH_SRAM
|
||||||
|
select FIT
|
||||||
|
select SPL_LOAD_FIT
|
||||||
|
|
||||||
endchoice
|
endchoice
|
||||||
|
|
||||||
|
@ -32,6 +32,10 @@
|
|||||||
# define CONFIG_MACH_TYPE_COMPAT_REV 1
|
# define CONFIG_MACH_TYPE_COMPAT_REV 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef CONFIG_ARM64
|
||||||
|
#define CONFIG_BUILD_TARGET "u-boot.itb"
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Serial & console */
|
/* Serial & console */
|
||||||
#define CONFIG_SYS_NS16550_SERIAL
|
#define CONFIG_SYS_NS16550_SERIAL
|
||||||
/* ns16550 reg in the low bits of cpu reg */
|
/* ns16550 reg in the low bits of cpu reg */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user