From 824cb78cf33524b335bd51c7241231bf13b48cd1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81lvaro=20Fern=C3=A1ndez=20Rojas?= Date: Tue, 2 Jun 2020 17:56:31 +0200 Subject: [PATCH] bcm63xx: nand: add CFE_WFI_VERSION values for each device MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit CFE_WFI_VERSION should be defined per device instead of using a generic value. Signed-off-by: Álvaro Fernández Rojas --- target/linux/bcm63xx/image/bcm63xx_nand.mk | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/target/linux/bcm63xx/image/bcm63xx_nand.mk b/target/linux/bcm63xx/image/bcm63xx_nand.mk index 7dff893e4f..a42c469197 100644 --- a/target/linux/bcm63xx/image/bcm63xx_nand.mk +++ b/target/linux/bcm63xx/image/bcm63xx_nand.mk @@ -28,7 +28,7 @@ define Device/bcm63xx-nand CFE_RAM_FILE := CFE_RAM_JFFS2_NAME := CFE_RAM_JFFS2_PAD := - CFE_WFI_VERSION := 0x5731 + CFE_WFI_VERSION := CFE_WFI_CHIP_ID = 0x$$(CHIP_ID) CFE_WFI_FLASH_TYPE := CFE_WFI_FLAGS := @@ -59,6 +59,7 @@ define Device/comtrend_vr-3032u SUBPAGESIZE := 512 VID_HDR_OFFSET := 2048 DEVICE_PACKAGES += $(USB2_PACKAGES) + CFE_WFI_VERSION := 0x5731 CFE_WFI_FLASH_TYPE := 3 endef TARGET_DEVICES += comtrend_vr-3032u @@ -76,6 +77,7 @@ define Device/comtrend_vg-8050 SUBPAGESIZE := 512 VID_HDR_OFFSET := 2048 DEVICE_PACKAGES += $(USB2_PACKAGES) + CFE_WFI_VERSION := 0x5731 CFE_WFI_FLASH_TYPE := 3 endef TARGET_DEVICES += comtrend_vg-8050 @@ -115,6 +117,7 @@ define Device/netgear_dgnd3700-v2 BLOCKSIZE := 16k PAGESIZE := 512 DEVICE_PACKAGES += $(B43_PACKAGES) $(USB2_PACKAGES) + CFE_WFI_VERSION := 0x5731 CFE_WFI_FLASH_TYPE := 2 endef TARGET_DEVICES += netgear_dgnd3700-v2 @@ -134,6 +137,7 @@ define Device/sercomm_ad1018 VID_HDR_OFFSET := 2048 DEVICE_PACKAGES += $(B43_PACKAGES) $(USB2_PACKAGES) CFE_WFI_FLASH_TYPE := 3 + CFE_WFI_VERSION := 0x5731 SERCOMM_PID := \ 30 30 30 30 30 30 30 31 34 31 35 31 35 33 30 30 \ 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 \