summaryrefslogtreecommitdiff
path: root/board/cobra5272
diff options
context:
space:
mode:
authorMario Six <mario.six@gdsys.cc>2018-01-26 16:43:52 +0300
committerStefan Roese <sr@denx.de>2018-01-29 09:48:59 +0300
commit9dbaebcf9f401c5dcea762e34a3dc8ed10760623 (patch)
treea8902bd5b2d15f2d045fa0935841958c191a2fe3 /board/cobra5272
parentc8a9a82c10e0c55f6cfa71cb174968cb54acfa5d (diff)
downloadu-boot-9dbaebcf9f401c5dcea762e34a3dc8ed10760623.tar.xz
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>
Diffstat (limited to 'board/cobra5272')
-rw-r--r--board/cobra5272/flash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/cobra5272/flash.c b/board/cobra5272/flash.c
index 4fac6880f1..ca27b49a3b 100644
--- a/board/cobra5272/flash.c
+++ b/board/cobra5272/flash.c
@@ -216,7 +216,7 @@ int flash_erase (flash_info_t * info, int s_first, int s_last)
goto outahere;
}
if (chip1 == TMO) {
- rc = ERR_TIMOUT;
+ rc = ERR_TIMEOUT;
goto outahere;
}