Revision 88eeee0a hw/pflash_cfi01.c
b/hw/pflash_cfi01.c | ||
---|---|---|
483 | 483 |
return ret; |
484 | 484 |
} |
485 | 485 |
|
486 |
pflash_t *pflash_register (target_phys_addr_t base, ram_addr_t off,
|
|
487 |
BlockDriverState *bs,
|
|
488 |
target_ulong sector_len, int nb_blocs, int width,
|
|
489 |
uint16_t id0, uint16_t id1, |
|
490 |
uint16_t id2, uint16_t id3) |
|
486 |
pflash_t *pflash_cfi01_register(target_phys_addr_t base, ram_addr_t off,
|
|
487 |
BlockDriverState *bs, target_ulong sector_len,
|
|
488 |
int nb_blocs, int width,
|
|
489 |
uint16_t id0, uint16_t id1,
|
|
490 |
uint16_t id2, uint16_t id3)
|
|
491 | 491 |
{ |
492 | 492 |
pflash_t *pfl; |
493 | 493 |
target_long total_len; |
Also available in: Unified diff