From: Álvaro Fernández Rojas Date: Tue, 2 Jun 2020 15:56:31 +0000 (+0200) Subject: bcm63xx: nand: add CFE_WFI_VERSION values for each device X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=824cb78cf33524b335bd51c7241231bf13b48cd1;p=openwrt%2Fstaging%2Fnoltari.git bcm63xx: nand: add CFE_WFI_VERSION values for each device CFE_WFI_VERSION should be defined per device instead of using a generic value. Signed-off-by: Álvaro Fernández Rojas --- 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 \