summaryrefslogtreecommitdiff
path: root/drivers/bios_emulator/x86emu/prim_ops.c
diff options
context:
space:
mode:
authorMichal Simek <Monstr@seznam.cz>2007-08-16 08:54:10 +0200
committerWolfgang Denk <wd@denx.de>2007-08-16 11:55:27 +0200
commit002275a3ed8b114885f6702d6d544d0780dfe689 (patch)
treedc2622e4db94f68769ef5b4bba07655ac42731bc /drivers/bios_emulator/x86emu/prim_ops.c
parent2d78074d2e806edc380c1464eb9e5df335ece65e (diff)
downloadu-boot-imx-002275a3ed8b114885f6702d6d544d0780dfe689.zip
u-boot-imx-002275a3ed8b114885f6702d6d544d0780dfe689.tar.gz
u-boot-imx-002275a3ed8b114885f6702d6d544d0780dfe689.tar.bz2
Bios emulator - fix microblaze toolchain problem
microblaze CPU have problem with bios_emulator code. Microblaze toolchain doesn't support PRAGMA PACK. Signed-off-by: Michal Simek <monstr@monstr.eu>
Diffstat (limited to 'drivers/bios_emulator/x86emu/prim_ops.c')
-rw-r--r--drivers/bios_emulator/x86emu/prim_ops.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/bios_emulator/x86emu/prim_ops.c b/drivers/bios_emulator/x86emu/prim_ops.c
index c1152ea..2a254a4 100644
--- a/drivers/bios_emulator/x86emu/prim_ops.c
+++ b/drivers/bios_emulator/x86emu/prim_ops.c
@@ -97,11 +97,14 @@
*
****************************************************************************/
+#include <common.h>
+
#define PRIM_OPS_NO_REDEFINE_ASM
-#include "x86emu/x86emui.h"
#if defined(CONFIG_BIOSEMU)
+#include "x86emu/x86emui.h"
+
/*------------------------- Global Variables ------------------------------*/
static u32 x86emu_parity_tab[8] =