summaryrefslogtreecommitdiffstats
path: root/src/device/device.c
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2022-05-12 20:39:16 +0200
committerFelix Held <felix-coreboot@felixheld.de>2022-05-17 11:24:12 +0000
commit0a635ab1e875bc96c8c00221659f6e75b4e1db14 (patch)
tree54eb8ca94c8dbc3076db7a6064d352888f4fb39b /src/device/device.c
parent82a8d8172ceef623b78a27bf00b4b9c084623501 (diff)
downloadcoreboot-0a635ab1e875bc96c8c00221659f6e75b4e1db14.tar.gz
coreboot-0a635ab1e875bc96c8c00221659f6e75b4e1db14.tar.bz2
coreboot-0a635ab1e875bc96c8c00221659f6e75b4e1db14.zip
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>
Diffstat (limited to 'src/device/device.c')
-rw-r--r--src/device/device.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/device/device.c b/src/device/device.c
index 8337d5530054..ffda588d631d 100644
--- a/src/device/device.c
+++ b/src/device/device.c
@@ -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);