From 2b5eb3712350d65d3eacb3ae468aae5e846b27b3 Mon Sep 17 00:00:00 2001 From: Blue Swirl Date: Tue, 30 Mar 2010 17:36:23 +0000 Subject: Compile most PPC devices only once Make byte swapping unconditional since PPC is big endian. Signed-off-by: Blue Swirl --- hw/unin_pci.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'hw/unin_pci.c') diff --git a/hw/unin_pci.c b/hw/unin_pci.c index a4866f475b..f0a773d6ad 100644 --- a/hw/unin_pci.c +++ b/hw/unin_pci.c @@ -121,9 +121,7 @@ static void unin_data_write(ReadWriteHandler *handler, pcibus_t addr, uint32_t val, int len) { UNINState *s = container_of(handler, UNINState, data_handler); -#ifdef TARGET_WORDS_BIGENDIAN val = qemu_bswap_len(val, len); -#endif UNIN_DPRINTF("write addr %" FMT_PCIBUS " len %d val %x\n", addr, len, val); pci_data_write(s->host_state.bus, unin_get_config_reg(s->host_state.config_reg, addr), @@ -140,9 +138,7 @@ static uint32_t unin_data_read(ReadWriteHandler *handler, unin_get_config_reg(s->host_state.config_reg, addr), len); UNIN_DPRINTF("read addr %" FMT_PCIBUS " len %d val %x\n", addr, len, val); -#ifdef TARGET_WORDS_BIGENDIAN val = qemu_bswap_len(val, len); -#endif return val; } -- cgit 1.4.1