Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 80513675 authored by Steve Wise's avatar Steve Wise Committed by Jeff Garzik
Browse files

cxgb3: Allow 64KB firmware images.



Starting with FW version 7.0, the driver needs to allow larger images.

Signed-off-by: default avatarSteve Wise <swise@opengridcomputing.com>
Signed-off-by: default avatarJeff Garzik <jgarzik@redhat.com>
parent ee02fee8
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -683,7 +683,7 @@ enum {
	SF_ERASE_SECTOR = 0xd8,	/* erase sector */
	SF_ERASE_SECTOR = 0xd8,	/* erase sector */


	FW_FLASH_BOOT_ADDR = 0x70000,	/* start address of FW in flash */
	FW_FLASH_BOOT_ADDR = 0x70000,	/* start address of FW in flash */
	FW_VERS_ADDR = 0x77ffc,    /* flash address holding FW version */
	FW_VERS_ADDR = 0x7fffc,    /* flash address holding FW version */
	FW_MIN_SIZE = 8            /* at least version and csum */
	FW_MIN_SIZE = 8            /* at least version and csum */
};
};