00cb4267a1
Some SoCs need a HDMI FW for their bootloader, some other require EPDC, SDMA and/or VPU. Instead of trying to "guess" what firmware images need to be installed in firmware-imx.mk, let the Config framework do the job and allow each SoC to pick what firmware they need. Note that this patch should also help introducing an eventual DP FW, as Gary mentioned in a separate thread [1]. [1] http://lists.busybox.net/pipermail/buildroot/2020-May/283181.html Suggested-by: Yann E. MORIN <yann.morin.1998@free.fr> Suggested-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Signed-off-by: Stephane Viau <stephane.viau@oss.nxp.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
73 lines
2.2 KiB
Plaintext
73 lines
2.2 KiB
Plaintext
config BR2_PACKAGE_FIRMWARE_IMX
|
|
bool "firmware-imx"
|
|
depends on BR2_arm || BR2_aarch64 # Only relevant for i.MX
|
|
help
|
|
Firmware blobs for the Freescale i.MX SoCs.
|
|
|
|
It contains blobs for SDMA, VPU, HDMI, EDPC, and DDR
|
|
training.
|
|
|
|
This library is provided by Freescale as-is and doesn't have
|
|
an upstream.
|
|
|
|
if BR2_PACKAGE_FIRMWARE_IMX
|
|
|
|
config BR2_PACKAGE_FIRMWARE_IMX_NEEDS_SDMA_FW
|
|
bool
|
|
default y if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX25_3STACK
|
|
default y if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX27ADS
|
|
default y if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX51
|
|
default y if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX53
|
|
default y if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX6Q
|
|
default y if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX7
|
|
|
|
config BR2_PACKAGE_FIRMWARE_IMX_NEEDS_VPU_FW
|
|
bool
|
|
default y if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX27ADS
|
|
default y if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX51
|
|
default y if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX53
|
|
default y if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX6Q
|
|
default y if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8
|
|
default y if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8X
|
|
|
|
config BR2_PACKAGE_FIRMWARE_IMX_NEEDS_HDMI_FW
|
|
bool
|
|
default y if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8M
|
|
|
|
config BR2_PACKAGE_FIRMWARE_IMX_NEEDS_EPDC_FW
|
|
bool
|
|
default y if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX6Q
|
|
default y if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX6S
|
|
|
|
config BR2_PACKAGE_FIRMWARE_IMX_NEEDS_DDR_FW
|
|
bool
|
|
default y if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8M
|
|
default y if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8MM
|
|
default y if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8MN
|
|
|
|
if BR2_PACKAGE_FIRMWARE_IMX_NEEDS_DDR_FW
|
|
|
|
choice
|
|
bool "DDR training binaries"
|
|
default BR2_PACKAGE_FIRMWARE_IMX_LPDDR4
|
|
help
|
|
Choose the DDR training binaries to be used depending on the
|
|
kind of memory that is available on the target board (DDR4,
|
|
LPDDR4, etc...).
|
|
|
|
config BR2_PACKAGE_FIRMWARE_IMX_LPDDR4
|
|
bool "lpddr4"
|
|
help
|
|
Use LPDDR4 binaries (i.e.: lpddr4_pmu_train_*.bin)
|
|
|
|
config BR2_PACKAGE_FIRMWARE_IMX_DDR4
|
|
bool "DDR4"
|
|
help
|
|
Use DDR4 binaries (i.e.: ddr4_*_201810.bin).
|
|
|
|
endchoice # DDR training FW
|
|
|
|
endif # BR2_PACKAGE_FIRMWARE_IMX_NEEDS_DDR_FW
|
|
|
|
endif # BR2_PACKAGE_FIRMWARE_IMX
|