summaryrefslogtreecommitdiffstats
path: root/drivers/bios_emulator/x86emu/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/ops.c
parent2d78074d2e806edc380c1464eb9e5df335ece65e (diff)
downloadblackbird-obmc-uboot-002275a3ed8b114885f6702d6d544d0780dfe689.tar.gz
blackbird-obmc-uboot-002275a3ed8b114885f6702d6d544d0780dfe689.zip
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/ops.c')
-rw-r--r--drivers/bios_emulator/x86emu/ops.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/bios_emulator/x86emu/ops.c b/drivers/bios_emulator/x86emu/ops.c
index d334fb5b1c..a77bd9b492 100644
--- a/drivers/bios_emulator/x86emu/ops.c
+++ b/drivers/bios_emulator/x86emu/ops.c
@@ -75,10 +75,12 @@
*
****************************************************************************/
-#include "x86emu/x86emui.h"
+#include <common.h>
#if defined(CONFIG_BIOSEMU)
+#include "x86emu/x86emui.h"
+
/*----------------------------- Implementation ----------------------------*/
/* constant arrays to do several instructions in just one function */
OpenPOWER on IntegriCloud