d981a3227e
Several i.MX8 (e.g.: 8M, 8MM, 8MN) support many DDR types (LPDDR4, DDR4, etc.), for which the DDR training is performed in the bootloader. Some boards have LPDDR4 (e.g.: nitrogen8mn) and some others have the DDR4 (e.g.: NXP's reference board EVK). This patch allows the selection of either of the binaries used to train the DDR. Note that DDR and HDMI FW copies are now separated, which makes latter being properly copied only for the relevant SoC (i.MX8MQ). Suggested-by: Gary Bisson <gary.bisson@boundarydevices.com> Signed-off-by: Stephane Viau <stephane.viau@oss.nxp.com> Reviewed-by: Maeva Manuel <maeva.manuel@oss.nxp.com> Reviewed-by: Julien Olivain <julien.olivain@oss.nxp.com> Reviewed-by: Gary Bisson <gary.bisson@boundarydevices.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
35 lines
823 B
Plaintext
35 lines
823 B
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_FREESCALE_IMX_NEED_DDR_FW
|
|
|
|
choice
|
|
bool "DDR training binaries"
|
|
default BR2_PACKAGE_FIRMWARE_DDRFW_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_DDRFW_LPDDR4
|
|
bool "lpddr4"
|
|
help
|
|
Use LPDDR4 binaries (i.e.: lpddr4_pmu_train_*.bin)
|
|
|
|
config BR2_PACKAGE_FIRMWARE_DDRFW_DDR4
|
|
bool "DDR4"
|
|
help
|
|
Use DDR4 binaries (i.e.: ddr4_*_201810.bin).
|
|
|
|
endchoice # DDR training FW
|
|
|
|
endif
|