cfi: fix release build warnings
Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
This commit is contained in:
parent
0535531d27
commit
8684bd1342
|
@ -1663,8 +1663,8 @@ static int cfi_spansion_write_block(struct flash_bank *bank, uint8_t *buffer,
|
||||||
return ERROR_TARGET_RESOURCE_NOT_AVAILABLE;
|
return ERROR_TARGET_RESOURCE_NOT_AVAILABLE;
|
||||||
}
|
}
|
||||||
|
|
||||||
int target_code_size;
|
int target_code_size = 0;
|
||||||
const uint32_t *target_code_src;
|
const uint32_t *target_code_src = NULL;
|
||||||
|
|
||||||
switch (bank->bus_width)
|
switch (bank->bus_width)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue