feat(spi_flash): Add new xmc chip id

This commit is contained in:
C.S.M
2024-09-23 19:06:23 +08:00
parent 0690e53294
commit 75e2d77b26
3 changed files with 11 additions and 8 deletions

View File

@@ -20,7 +20,7 @@ void spi_flash_needs_reset_check(void)
{
// Currently only XMC is suggested to reset when brownout
#if CONFIG_SPI_FLASH_BROWNOUT_RESET_XMC
if ((g_rom_flashchip.device_id >> 16) == 0x20) {
if ((g_rom_flashchip.device_id >> 16) == 0x20 || (g_rom_flashchip.device_id >> 16) == 0x46) {
flash_brownout_needs_reset = true;
}
#endif