Skip to content
Snippets Groups Projects
Commit cc71eb59 authored by Angel Pons's avatar Angel Pons
Browse files

82802ab.c: Remove duplicated check


Change-Id: I5d511d7ec254bdbd9926e6d8efc308fb2339cb81
Signed-off-by: default avatarAngel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/flashrom/+/38661


Reviewed-by: default avatarIdwer Vollering <vidwer@gmail.com>
Reviewed-by: default avatarEdward O'Callaghan <quasisec@chromium.org>
Reviewed-by: default avatarPhilippe Mathieu-Daudé <f4bug@amsat.org>
Tested-by: default avatarbuild bot (Jenkins) <no-reply@coreboot.org>
parent b07c53d7
No related branches found
No related tags found
No related merge requests found
...@@ -89,9 +89,9 @@ uint8_t wait_82802ab(struct flashctx *flash) ...@@ -89,9 +89,9 @@ uint8_t wait_82802ab(struct flashctx *flash)
chipaddr bios = flash->virtual_memory; chipaddr bios = flash->virtual_memory;
chip_writeb(flash, 0x70, bios); chip_writeb(flash, 0x70, bios);
if ((chip_readb(flash, bios) & 0x80) == 0) { // it's busy
while ((chip_readb(flash, bios) & 0x80) == 0) ; while ((chip_readb(flash, bios) & 0x80) == 0) // it's busy
} ;
status = chip_readb(flash, bios); status = chip_readb(flash, bios);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment