bool crc_match;
        const u8 *p;
 
-       struct flash_comp gen3_flash_types[] = {
+       static const struct flash_comp gen3_flash_types[] = {
                { BE3_ISCSI_PRIMARY_IMAGE_START, OPTYPE_ISCSI_ACTIVE,
                        BE3_COMP_MAX_SIZE, IMAGE_FIRMWARE_ISCSI},
                { BE3_REDBOOT_START, OPTYPE_REDBOOT,
                        BE3_PHY_FW_COMP_MAX_SIZE, IMAGE_FIRMWARE_PHY}
        };
 
-       struct flash_comp gen2_flash_types[] = {
+       static const struct flash_comp gen2_flash_types[] = {
                { BE2_ISCSI_PRIMARY_IMAGE_START, OPTYPE_ISCSI_ACTIVE,
                        BE2_COMP_MAX_SIZE, IMAGE_FIRMWARE_ISCSI},
                { BE2_REDBOOT_START, OPTYPE_REDBOOT,