dbb9568626
The DDR FW along with all other FW code that need to be used in bootloader or installed on target are related to the firmware-imx package. This patch does this job as well as fixing the conjugation of NEED*s* in the symbol name. Also take advantage of this patch to make the DDR FW dependant on BR2_PACKAGE_FIRMWARE_IMX. In addition, the BR2_PACKAGE_FIRMWARE_DDRFW_* option was incorrect, as there is no package matching this name. So we rename them to BR2_PACKAGE_FIRMWARE_IMX_*, and add the appropriate Config.in.legacy handling. 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>
45 lines
1.1 KiB
Plaintext
45 lines
1.1 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 and VPU.
|
|
|
|
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_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
|