arch/x86/ebda.c: Move setting up ebda to a BS hook
device.c should not hold arch specific code. Change-Id: I9dfdb905a83916c0e9d298e1c38da89f6bc5e038 Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/c/coreboot/+/64297 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-by: Werner Zeh <werner.zeh@siemens.com>
This commit is contained in:
committed by
Felix Held
parent
82a8d8172c
commit
0a635ab1e8
@@ -12,9 +12,6 @@
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <smp/spinlock.h>
|
||||
#if ENV_X86
|
||||
#include <arch/ebda.h>
|
||||
#endif
|
||||
#include <timer.h>
|
||||
|
||||
/** Pointer to the last device */
|
||||
@@ -566,11 +563,6 @@ void dev_initialize(void)
|
||||
|
||||
printk(BIOS_INFO, "Initializing devices...\n");
|
||||
|
||||
#if ENV_X86
|
||||
/* Ensure EBDA is prepared before Option ROMs. */
|
||||
setup_default_ebda();
|
||||
#endif
|
||||
|
||||
/* First call the mainboard init. */
|
||||
init_dev(&dev_root);
|
||||
|
||||
|
Reference in New Issue
Block a user