mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-30 08:07:59 +00:00
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>
This commit is contained in:
parent
9fd383724c
commit
b2da80384e
2 changed files with 4 additions and 0 deletions
|
@ -47,6 +47,8 @@
|
||||||
*
|
*
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
|
#define __io
|
||||||
|
#include <asm/io.h>
|
||||||
#include <common.h>
|
#include <common.h>
|
||||||
#include "biosemui.h"
|
#include "biosemui.h"
|
||||||
|
|
||||||
|
|
|
@ -41,6 +41,8 @@
|
||||||
*
|
*
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
|
#define __io
|
||||||
|
#include <asm/io.h>
|
||||||
#include <common.h>
|
#include <common.h>
|
||||||
#include "biosemui.h"
|
#include "biosemui.h"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue