From 29b37d9f974c0db606b3716298626029bcf9b8b6 Mon Sep 17 00:00:00 2001 From: RichardG867 Date: Thu, 17 Feb 2022 11:29:35 -0300 Subject: [PATCH] Make SST flash not fatal on size mismatch, fixes Shuttle HOT-433A with old Intel flash files --- src/mem/sst_flash.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mem/sst_flash.c b/src/mem/sst_flash.c index 1de5e6e32..bcc3c3aa9 100644 --- a/src/mem/sst_flash.c +++ b/src/mem/sst_flash.c @@ -442,7 +442,7 @@ sst_init(const device_t *info) f = nvr_fopen(flash_path, "rb"); if (f) { if (fread(&(dev->array[0x00000]), 1, dev->size, f) != dev->size) - fatal("Less than %i bytes read from the SST Flash ROM file\n", dev->size); + pclog("Less than %i bytes read from the SST Flash ROM file\n", dev->size); fclose(f); } else dev->dirty = 1; /* It is by definition dirty on creation. */