mirror of
https://github.com/fail0verflow/switch-coreboot.git
synced 2025-05-04 01:39:18 -04:00
Added needed usleeps so program would work.
This commit is contained in:
parent
59e0591bee
commit
5538c4953b
1 changed files with 2 additions and 0 deletions
|
@ -105,7 +105,9 @@ int probe_28sf040 (struct flashchip * flash)
|
|||
usleep(10);
|
||||
|
||||
*bios = READ_ID;
|
||||
usleep(10);
|
||||
id1 = *(unsigned char *) bios;
|
||||
usleep(10);
|
||||
id2 = *(unsigned char *) (bios + 0x01);
|
||||
|
||||
*bios = RESET;
|
||||
|
|
Loading…
Add table
Reference in a new issue