On 8/27/24 10:28 AM, Alexis Lothoré wrote:
Hi,
@@ -1467,6 +1604,20 @@ static int init_chip(struct net_device *dev)
}
}
+ if (is_wilc3000(wilc->chipid)) {
+ ret = wilc->hif_func->hif_read_reg(wilc, 0x207ac, ®);
Some defines would be nice here instead of hardcoded addresses. I have asked
Ajay about those while working on wilc3000, the meaning is roughly the following:
- 0x000207ac: WILC_3000_BOOTROM_STATUS_REGISTER
- 0x004f0000: WILC_3000_CORTUS_BOOT_REGISTER_2
- 0x71: WILC_CORTUS_BOOT_FROM_IRAM
Fixed in V3, thanks.