summaryrefslogtreecommitdiff
path: root/drivers/bios_emulator/bios.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/bios.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/bios.c')
-rw-r--r--drivers/bios_emulator/bios.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/bios_emulator/bios.c b/drivers/bios_emulator/bios.c
index 7aa1bfb2e..70e9ce1 100644
--- a/drivers/bios_emulator/bios.c
+++ b/drivers/bios_emulator/bios.c
@@ -41,9 +41,12 @@
*
****************************************************************************/
-#include "biosemui.h"
+#include <common.h>
#if defined(CONFIG_BIOSEMU)
+
+#include "biosemui.h"
+
/*----------------------------- Implementation ----------------------------*/
/****************************************************************************