diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2013-04-01 22:14:14 (GMT) |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2013-04-02 20:23:35 (GMT) |
commit | b2da80384ed197ea17c1d910813e3c105a9c656c (patch) | |
tree | 1c1d4d25a18850ce7c245faffc96609168e06c33 /drivers/bios_emulator/bios.c | |
parent | 9fd383724cf49b5fd787c62169569d870857d611 (diff) | |
download | u-boot-fsl-qoriq-b2da80384ed197ea17c1d910813e3c105a9c656c.tar.xz |
biosemu: include <asm/io.h> header
This makes sure we have inline functions such as inb/outb that
are used in these two files by including the arch-specific
<asm/io.h> header. However the ARM version does not provide the
accessors unless the config symbol __io is also defined so add
that in front of the include.
After this the bios emulator will compile on ARM systems.
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/bios_emulator/bios.c')
-rw-r--r-- | drivers/bios_emulator/bios.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/bios_emulator/bios.c b/drivers/bios_emulator/bios.c index 7cf4879..bcc192f 100644 --- a/drivers/bios_emulator/bios.c +++ b/drivers/bios_emulator/bios.c @@ -41,6 +41,8 @@ * ****************************************************************************/ +#define __io +#include <asm/io.h> #include <common.h> #include "biosemui.h" |