summaryrefslogtreecommitdiff
path: root/hw/flash.h
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2010-12-03 01:39:22 +0100
committerAnthony Liguori <aliguori@us.ibm.com>2011-04-22 14:41:43 -0500
commit51db57f7e8ef46743cb3380bfd430d3ee1877866 (patch)
tree9624e8ea86a9340bfb1d9268ff0c62b1f768b155 /hw/flash.h
parent38cb3aa9b4d5b9085ff4635415b6d3c673e2dc7d (diff)
nand: pin values are uint8_t
Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'hw/flash.h')
-rw-r--r--hw/flash.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/flash.h b/hw/flash.h
index d7d103e66f..c22e1a922c 100644
--- a/hw/flash.h
+++ b/hw/flash.h
@@ -21,8 +21,8 @@ pflash_t *pflash_cfi02_register(target_phys_addr_t base, ram_addr_t off,
typedef struct NANDFlashState NANDFlashState;
NANDFlashState *nand_init(int manf_id, int chip_id);
void nand_done(NANDFlashState *s);
-void nand_setpins(NANDFlashState *s,
- int cle, int ale, int ce, int wp, int gnd);
+void nand_setpins(NANDFlashState *s, uint8_t cle, uint8_t ale,
+ uint8_t ce, uint8_t wp, uint8_t gnd);
void nand_getpins(NANDFlashState *s, int *rb);
void nand_setio(NANDFlashState *s, uint8_t value);
uint8_t nand_getio(NANDFlashState *s);