cfi_command_val() is only used within OpenOCD.
 
Symbols
loading...
Files
loading...

cfi_command_val() function

Syntax

static uint32_t cfi_command_val(struct flash_bank *bank,     uint8_t cmd);

Arguments

bank

cmd

References

LocationReferrerText
cfi.c:1096
static uint32_t cfi_command_val(struct flash_bank *bank, uint8_t cmd)
cfi.c:1284cfi_intel_write_block()
write_command_val = cfi_command_val(bank, 0x40);
cfi.c:1285cfi_intel_write_block()
busy_pattern_val = cfi_command_val(bank, 0x80);
cfi.c:1286cfi_intel_write_block()
error_pattern_val = cfi_command_val(bank, 0x7e);
cfi.c:1535cfi_spansion_write_block_mips()
buf_set_u32(reg_params[3].value, 0, 32, cfi_command_val(bank, 0xA0));
cfi.c:1536cfi_spansion_write_block_mips()
buf_set_u32(reg_params[4].value, 0, 32, cfi_command_val(bank, 0x80));
cfi.c:1914cfi_spansion_write_block()
buf_set_u32(reg_params[3].value, 0, 32, cfi_command_val(bank, 0xA0));
cfi.c:1915cfi_spansion_write_block()
buf_set_u32(reg_params[4].value, 0, 32, cfi_command_val(bank, 0x80));

Call Tree

Functions calling cfi_command_val()
Functions called by cfi_command_val()
cfi_command_val()
Data read by cfi_command_val()
cfi_command_val()
Type of cfi_command_val()
cfi_command_val()
uint8_t
uint32_t
all items filtered out