package/freescale-imx: Add option for DDR FW need
Only some i.MX8 needs a DDR training firmware (8M, 8MM, 8MN). Some other i.MX8 (QuadMax, QuadXPlus) rely on system controller for that task. Suggested-by: Julien Olivain <julien.olivain@oss.nxp.com> Signed-off-by: Stephane Viau <stephane.viau@oss.nxp.com> Reviewed-by: Gary Bisson <gary.bisson@boundarydevices.com> [yann.morin.1998@free.fr: - use the new variable to drive the firmware installation ] Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
parent
20a9f7b921
commit
6bb7f3b810
@ -45,12 +45,15 @@ config BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8
|
||||
|
||||
config BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8M
|
||||
bool "imx8m"
|
||||
select BR2_PACKAGE_FREESCALE_IMX_NEED_DDR_FW
|
||||
|
||||
config BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8MM
|
||||
bool "imx8mm"
|
||||
select BR2_PACKAGE_FREESCALE_IMX_NEED_DDR_FW
|
||||
|
||||
config BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8MN
|
||||
bool "imx8mn"
|
||||
select BR2_PACKAGE_FREESCALE_IMX_NEED_DDR_FW
|
||||
|
||||
config BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8X
|
||||
bool "imx8x"
|
||||
@ -96,6 +99,9 @@ config BR2_PACKAGE_FREESCALE_IMX_HAS_VIV_GPU
|
||||
BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8MN || \
|
||||
BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8X
|
||||
|
||||
config BR2_PACKAGE_FREESCALE_IMX_NEED_DDR_FW
|
||||
bool
|
||||
|
||||
source "package/freescale-imx/imx-alsa-plugins/Config.in"
|
||||
source "package/freescale-imx/imx-codec/Config.in"
|
||||
source "package/freescale-imx/imx-kobs/Config.in"
|
||||
|
@ -18,7 +18,7 @@ define FIRMWARE_IMX_EXTRACT_CMDS
|
||||
$(call FREESCALE_IMX_EXTRACT_HELPER,$(FIRMWARE_IMX_DL_DIR)/$(FIRMWARE_IMX_SOURCE))
|
||||
endef
|
||||
|
||||
ifeq ($(BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8M)$(BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8MM)$(BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8MN),y)
|
||||
ifeq ($(BR2_PACKAGE_FREESCALE_IMX_NEED_DDR_FW),y)
|
||||
FIRMWARE_IMX_INSTALL_IMAGES = YES
|
||||
FIRMWARE_IMX_DDRFW_DIR = $(@D)/firmware/ddr/synopsys
|
||||
define FIRMWARE_IMX_PREPARE_LPDDR4_FW
|
||||
|
Loading…
Reference in New Issue
Block a user