kontron 986lcd-m: Fix compilation if there is no oprom execution at all...
Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5741 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
committed by
Stefan Reinauer
parent
bc8613ecaf
commit
6e523a20ca
@@ -21,7 +21,7 @@
|
|||||||
#include <device/device.h>
|
#include <device/device.h>
|
||||||
#include <console/console.h>
|
#include <console/console.h>
|
||||||
#include <boot/tables.h>
|
#include <boot/tables.h>
|
||||||
#if CONFIG_PCI_OPTION_ROM_RUN_YABEL
|
#if defined(CONFIG_PCI_OPTION_ROM_RUN_YABEL) && CONFIG_PCI_OPTION_ROM_RUN_YABEL
|
||||||
#include <x86emu/x86emu.h>
|
#include <x86emu/x86emu.h>
|
||||||
#endif
|
#endif
|
||||||
#include <pc80/mc146818rtc.h>
|
#include <pc80/mc146818rtc.h>
|
||||||
@@ -34,7 +34,7 @@ int add_mainboard_resources(struct lb_memory *mem)
|
|||||||
return add_northbridge_resources(mem);
|
return add_northbridge_resources(mem);
|
||||||
}
|
}
|
||||||
|
|
||||||
#if CONFIG_PCI_OPTION_ROM_RUN_YABEL
|
#if defined(CONFIG_PCI_OPTION_ROM_RUN_YABEL) && CONFIG_PCI_OPTION_ROM_RUN_YABEL
|
||||||
static int int15_handler(void)
|
static int int15_handler(void)
|
||||||
{
|
{
|
||||||
#define BOOT_DISPLAY_DEFAULT 0
|
#define BOOT_DISPLAY_DEFAULT 0
|
||||||
@@ -228,7 +228,7 @@ static void verb_setup(void)
|
|||||||
|
|
||||||
static void mainboard_enable(device_t dev)
|
static void mainboard_enable(device_t dev)
|
||||||
{
|
{
|
||||||
#if CONFIG_PCI_OPTION_ROM_RUN_YABEL
|
#if defined(CONFIG_PCI_OPTION_ROM_RUN_YABEL) && CONFIG_PCI_OPTION_ROM_RUN_YABEL
|
||||||
/* Install custom int15 handler for VGA OPROM */
|
/* Install custom int15 handler for VGA OPROM */
|
||||||
int15_install();
|
int15_install();
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user