diff options
Diffstat (limited to 'chip/npcx/flash.c')
-rw-r--r-- | chip/npcx/flash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chip/npcx/flash.c b/chip/npcx/flash.c index 716be302c8..e889163088 100644 --- a/chip/npcx/flash.c +++ b/chip/npcx/flash.c @@ -605,7 +605,7 @@ int flash_physical_write(int offset, int size, const char *data) int flash_physical_erase(int offset, int size) { - int rv; + int rv = EC_SUCCESS; /* check protection */ if (all_protected) return EC_ERROR_ACCESS_DENIED; |