]> git.dujemihanovic.xyz Git - u-boot.git/commit
biosemu: include <asm/io.h> header
authorLinus Walleij <linus.walleij@linaro.org>
Mon, 1 Apr 2013 22:14:14 +0000 (22:14 +0000)
committerTom Rini <trini@ti.com>
Tue, 2 Apr 2013 20:23:35 +0000 (16:23 -0400)
commitb2da80384ed197ea17c1d910813e3c105a9c656c
tree1c1d4d25a18850ce7c245faffc96609168e06c33
parent9fd383724cf49b5fd787c62169569d870857d611
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>
drivers/bios_emulator/besys.c
drivers/bios_emulator/bios.c