~jderose/ubuntu/raring/qemu/vde-again

« back to all changes in this revision

Viewing changes to hw/flash.h

  • Committer: Bazaar Package Importer
  • Author(s): Aurelien Jarno, Aurelien Jarno
  • Date: 2009-03-22 10:13:17 UTC
  • mfrom: (1.2.1 upstream) (6.1.1 sid)
  • Revision ID: james.westby@ubuntu.com-20090322101317-iigjtnu5qil35dtb
Tags: 0.10.1-1
[ Aurelien Jarno ]
* New upstream stable release:
  - patches/80_stable-branch.patch: remove.
* debian/control: 
  - Remove depends on proll.
  - Move depends on device-tree-compiler to build-depends.
  - Bump Standards-Version to 3.8.1 (no changes).
* patches/82_qemu-img_decimal.patch: new patch from upstream to make
  qemu-img accept sizes with decimal values (closes: bug#501400).

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
/* pflash_cfi02.c */
12
12
pflash_t *pflash_cfi02_register(target_phys_addr_t base, ram_addr_t off,
13
13
                                BlockDriverState *bs, uint32_t sector_len,
14
 
                                int nb_blocs, int width,
 
14
                                int nb_blocs, int nb_mappings, int width,
15
15
                                uint16_t id0, uint16_t id1,
16
 
                                uint16_t id2, uint16_t id3);
 
16
                                uint16_t id2, uint16_t id3,
 
17
                                uint16_t unlock_addr0, uint16_t unlock_addr1);
17
18
 
18
19
/* nand.c */
19
20
struct nand_flash_s;
34
35
#define NAND_MFR_HYNIX          0xad
35
36
#define NAND_MFR_MICRON         0x2c
36
37
 
 
38
/* onenand.c */
 
39
void onenand_base_update(void *opaque, target_phys_addr_t new);
 
40
void onenand_base_unmap(void *opaque);
 
41
void *onenand_init(uint32_t id, int regshift, qemu_irq irq);
 
42
void *onenand_raw_otp(void *opaque);
 
43
 
37
44
/* ecc.c */
38
45
struct ecc_state_s {
39
46
    uint8_t cp;         /* Column parity */