mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-09 03:21:51 +00:00
flash: Fix spelling of "ERR_TIMOUT"
checkpatch.pl complains about the spelling of ERR_TIMOUT. Since the error is only used in a handful of files, we rename the error to ERR_TIMEOUT. Signed-off-by: Mario Six <mario.six@gdsys.cc> Signed-off-by: Stefan Roese <sr@denx.de>
This commit is contained in:
parent
c8a9a82c10
commit
9dbaebcf9f
5 changed files with 9 additions and 9 deletions
|
@ -112,7 +112,7 @@ addr2info (ulong addr)
|
|||
* and no protected sectors are hit.
|
||||
* Returns:
|
||||
* ERR_OK 0 - OK
|
||||
* ERR_TIMOUT 1 - write timeout
|
||||
* ERR_TIMEOUT 1 - write timeout
|
||||
* ERR_NOT_ERASED 2 - Flash not erased
|
||||
* ERR_PROTECTED 4 - target range includes protected sectors
|
||||
* ERR_INVAL 8 - target address not in Flash memory
|
||||
|
@ -185,7 +185,7 @@ void flash_perror (int err)
|
|||
switch (err) {
|
||||
case ERR_OK:
|
||||
break;
|
||||
case ERR_TIMOUT:
|
||||
case ERR_TIMEOUT:
|
||||
puts ("Timeout writing to Flash\n");
|
||||
break;
|
||||
case ERR_NOT_ERASED:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue