diff options
author | Michael Niewöhner <foss@mniewoehner.de> | 2022-01-25 19:46:53 +0100 |
---|---|---|
committer | Nico Huber <nico.h@gmx.de> | 2022-01-26 17:42:21 +0000 |
commit | 5af39c14edb2812e1d3b1aac82e342290d319869 (patch) | |
tree | 9eedf7d6d3036485a1dd148243808434c9150354 /sfdp.c | |
parent | 748943d77460ecfa49d5d1a85a5f58bf99b22f3f (diff) | |
download | flashrom-5af39c14edb2812e1d3b1aac82e342290d319869.tar.gz flashrom-5af39c14edb2812e1d3b1aac82e342290d319869.tar.bz2 flashrom-5af39c14edb2812e1d3b1aac82e342290d319869.zip |
sfdp: drop redundant check of the mandatory table size
Change-Id: I464856612a6d21c682f1d9ad5110fa11a0a276c2
Signed-off-by: Michael Niewöhner <foss@mniewoehner.de>
Reviewed-on: https://review.coreboot.org/c/flashrom/+/61379
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'sfdp.c')
-rw-r--r-- | sfdp.c | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -131,10 +131,6 @@ static int sfdp_fill_flash(struct flashchip *chip, uint8_t *buf, uint16_t len) int j; msg_cdbg("Parsing JEDEC flash parameter table... "); - if (len != 9 * 4 && len != 4 * 4) { - msg_cdbg("%s: len out of spec\n", __func__); - return 1; - } msg_cdbg2("\n"); /* 1. double word */ |