mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-22 15:02:32 +00:00
6918c637b7
With the switch to ZSTD for git clone packaging, hashes have changed so
fixup remaining package hashes that were missed in the inital update.
Fixes: b3c1c57
("treewide: update PKG_MIRROR_HASH to zst")
Signed-off-by: Robert Marko <robimarko@gmail.com>
53 lines
1.4 KiB
Makefile
53 lines
1.4 KiB
Makefile
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
#
|
|
# Copyright 2020 NXP
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=ls-ddr-phy
|
|
PKG_VERSION:=21.08
|
|
PKG_RELEASE:=3
|
|
|
|
PKG_SOURCE_PROTO:=git
|
|
PKG_SOURCE_URL:=https://github.com/NXP/ddr-phy-binary.git
|
|
PKG_SOURCE_VERSION:=LSDK-21.08
|
|
PKG_MIRROR_HASH:=2f9bf4f6b2410e436e4e606f981c71919b1896e4da4f204de483d9f7677a064d
|
|
PKG_BUILD_DEPENDS:=tfa-layerscape/host
|
|
|
|
PKG_LICENSE:=EULA
|
|
PKG_LICENSE_FILES:=NXP-Binary-EULA.txt
|
|
|
|
PKG_FLAGS:=nonshared
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
define Package/layerscape-ddr-phy
|
|
SECTION:=firmware
|
|
CATEGORY:=Firmware
|
|
TITLE:=NXP Layerscape DDR PHY firmware
|
|
DEPENDS:=@TARGET_layerscape
|
|
endef
|
|
|
|
define Build/Compile
|
|
cd $(PKG_BUILD_DIR)/lx2160a/ && \
|
|
fiptool-layerscape create \
|
|
--ddr-immem-udimm-1d ddr4_pmu_train_imem.bin \
|
|
--ddr-immem-udimm-2d ddr4_2d_pmu_train_imem.bin \
|
|
--ddr-dmmem-udimm-1d ddr4_pmu_train_dmem.bin \
|
|
--ddr-dmmem-udimm-2d ddr4_2d_pmu_train_dmem.bin \
|
|
--ddr-immem-rdimm-1d ddr4_rdimm_pmu_train_imem.bin \
|
|
--ddr-immem-rdimm-2d ddr4_rdimm2d_pmu_train_imem.bin \
|
|
--ddr-dmmem-rdimm-1d ddr4_rdimm_pmu_train_dmem.bin \
|
|
--ddr-dmmem-rdimm-2d ddr4_rdimm2d_pmu_train_dmem.bin \
|
|
fip_ddr_all.bin
|
|
endef
|
|
|
|
define Build/InstallDev
|
|
$(INSTALL_DIR) $(STAGING_DIR_IMAGE)
|
|
$(CP) $(PKG_BUILD_DIR)/lx2160a/fip_ddr_all.bin \
|
|
$(STAGING_DIR_IMAGE)/fsl_lx2160a-rdb-fip_ddr_all.bin
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,layerscape-ddr-phy))
|