Revision 88eeee0a hw/pflash_cfi02.c
b/hw/pflash_cfi02.c | ||
---|---|---|
524 | 524 |
return ret; |
525 | 525 |
} |
526 | 526 |
|
527 |
pflash_t *pflash_register (target_phys_addr_t base, ram_addr_t off,
|
|
528 |
BlockDriverState *bs,
|
|
529 |
uint32_t sector_len, int nb_blocs, int width,
|
|
530 |
uint16_t id0, uint16_t id1, |
|
531 |
uint16_t id2, uint16_t id3) |
|
527 |
pflash_t *pflash_cfi02_register(target_phys_addr_t base, ram_addr_t off,
|
|
528 |
BlockDriverState *bs, target_ulong sector_len,
|
|
529 |
int nb_blocs, int width,
|
|
530 |
uint16_t id0, uint16_t id1,
|
|
531 |
uint16_t id2, uint16_t id3)
|
|
532 | 532 |
{ |
533 | 533 |
pflash_t *pfl; |
534 | 534 |
int32_t total_len; |
Also available in: Unified diff