uboot-imx: add support for Kontron OSM-S/BL i.MX8MP
Add mainline U-Boot flavour for Kontron OSM-S/BL i.MX8MP board. Signed-off-by: Martin Schiller <ms@dev.tdt.de>
This commit is contained in:
parent
23cd613f40
commit
1076584bc3
@ -28,6 +28,15 @@ define U-Boot/apalis_imx6
|
||||
BUILD_DEVICES:=toradex_apalis
|
||||
endef
|
||||
|
||||
define U-Boot/kontron-osm-s-mx8mp
|
||||
NAME:=Kontron OSM-S/BL i.MX8MP
|
||||
DEPENDS:=+firmware-imx +trusted-firmware-a-imx8mp
|
||||
ATF:=bl31_imx8mp.bin
|
||||
UBOOT_IMAGE:=flash.bin
|
||||
BUILD_SUBTARGET:=cortexa53
|
||||
BUILD_DEVICES:=kontron_osm-s-imx8mp
|
||||
endef
|
||||
|
||||
define U-Boot/mx6cuboxi
|
||||
NAME:=SolidRun Cubox-i boards
|
||||
UBOOT_IMAGE:=SPL u-boot-dtb.img
|
||||
@ -52,11 +61,18 @@ endef
|
||||
|
||||
UBOOT_TARGETS := \
|
||||
apalis_imx6 \
|
||||
kontron-osm-s-mx8mp \
|
||||
mx6cuboxi \
|
||||
pico-pi-imx7d \
|
||||
wandboard
|
||||
|
||||
ifneq ($(SUBTARGET),cortexa53)
|
||||
UBOOT_MAKE_FLAGS += u-boot.imx
|
||||
else
|
||||
UBOOT_MAKE_FLAGS += \
|
||||
BL31=$(STAGING_DIR_IMAGE)/$(ATF) \
|
||||
BINMAN_INDIRS="$(STAGING_DIR_IMAGE)/firmware-imx $(STAGING_DIR_IMAGE)"
|
||||
endif
|
||||
|
||||
define Build/InstallDev
|
||||
$(INSTALL_DIR) $(STAGING_DIR_IMAGE)
|
||||
@ -65,4 +81,7 @@ define Build/InstallDev
|
||||
)
|
||||
endef
|
||||
|
||||
define Package/u-boot/install/default
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage/U-Boot))
|
||||
|
||||
Loading…
Reference in New Issue
Block a user