summaryrefslogtreecommitdiff
path: root/hw/flash.h
diff options
context:
space:
mode:
authorBlue Swirl <blauwirbel@gmail.com>2010-03-29 19:23:55 +0000
committerBlue Swirl <blauwirbel@gmail.com>2010-03-29 19:23:55 +0000
commit5f9fc5ad7efe2840d3170775768fb85686d94869 (patch)
tree894d04b33056b936c6f0e09c6387c7e58bc7825c /hw/flash.h
parent53b67b3052f39b049bc7c79ae1ce132c90098c6c (diff)
downloadqemu-5f9fc5ad7efe2840d3170775768fb85686d94869.tar.gz
Compile pflash_cfi02 only once
Push TARGET_WORDS_BIGENDIAN dependency to board level. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'hw/flash.h')
-rw-r--r--hw/flash.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/flash.h b/hw/flash.h
index 69aef8ce29..d6db46895d 100644
--- a/hw/flash.h
+++ b/hw/flash.h
@@ -14,7 +14,8 @@ pflash_t *pflash_cfi02_register(target_phys_addr_t base, ram_addr_t off,
int nb_blocs, int nb_mappings, int width,
uint16_t id0, uint16_t id1,
uint16_t id2, uint16_t id3,
- uint16_t unlock_addr0, uint16_t unlock_addr1);
+ uint16_t unlock_addr0, uint16_t unlock_addr1,
+ int be);
/* nand.c */
typedef struct NANDFlashState NANDFlashState;