From 5f9fc5ad7efe2840d3170775768fb85686d94869 Mon Sep 17 00:00:00 2001 From: Blue Swirl Date: Mon, 29 Mar 2010 19:23:55 +0000 Subject: Compile pflash_cfi02 only once Push TARGET_WORDS_BIGENDIAN dependency to board level. Signed-off-by: Blue Swirl --- hw/flash.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'hw/flash.h') 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; -- cgit v1.2.3-70-g09d2