diff options
-rw-r--r-- | hw/ast-bmc/ast-sf-ctrl.c | 1 | ||||
-rw-r--r-- | libflash/libflash.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/hw/ast-bmc/ast-sf-ctrl.c b/hw/ast-bmc/ast-sf-ctrl.c index bf42d32..bc877d7 100644 --- a/hw/ast-bmc/ast-sf-ctrl.c +++ b/hw/ast-bmc/ast-sf-ctrl.c @@ -693,6 +693,7 @@ static int ast_sf_setup(struct spi_flash_ctrl *ctrl, uint32_t *tsize) case 0xc22018: /* MX25L12835F */ case 0xc22019: /* MX25L25635F */ case 0xc2201a: /* MX66L51235F */ + case 0xc2201b: /* MX66L1G45G */ return ast_sf_setup_macronix(ct, info); case 0xef4018: /* W25Q128BV */ return ast_sf_setup_winbond(ct, info); diff --git a/libflash/libflash.c b/libflash/libflash.c index cf679a5..9bdc7d6 100644 --- a/libflash/libflash.c +++ b/libflash/libflash.c @@ -31,6 +31,7 @@ static const struct flash_info flash_info[] = { { 0xc22018, 0x01000000, FL_ERASE_ALL | FL_CAN_4B, "Macronix MXxxL12835F"}, { 0xc22019, 0x02000000, FL_ERASE_ALL | FL_CAN_4B, "Macronix MXxxL25635F"}, { 0xc2201a, 0x04000000, FL_ERASE_ALL | FL_CAN_4B, "Macronix MXxxL51235F"}, + { 0xc2201b, 0x08000000, FL_ERASE_ALL | FL_CAN_4B, "Macronix MX66L1G45G"}, { 0xef4018, 0x01000000, FL_ERASE_ALL, "Winbond W25Q128BV" }, { 0xef4019, 0x02000000, FL_ERASE_ALL | FL_ERASE_64K | FL_CAN_4B | FL_ERASE_BULK, |