diff options
author | Ahmad Fatoum <a.fatoum@pengutronix.de> | 2021-03-23 08:50:34 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2021-03-25 13:25:51 +0100 |
commit | d44fdb7d9b8527c758deefc4262fedd6a121ffc6 (patch) | |
tree | 6d8f2c3218d1c745bda59eb6a9120c7ea6dadf3b /arch/x86/boards/x86_generic/generic_pc.c | |
parent | 41fd0332e797c0a3c6a0d9cbf14e7528f2a3209d (diff) | |
download | barebox-d44fdb7d9b8527c758deefc4262fedd6a121ffc6.tar.gz barebox-d44fdb7d9b8527c758deefc4262fedd6a121ffc6.tar.xz |
x86: drop legacy (PC BIOS) boot in favor of EFI
The 16-bit port has experienced bitrot and failed to compile with more
recent linkers for at least a year. Fixing the linker error is insufficient
to restore a barebox that can boot to shell. This continued breakage likely
means that there are no users interested in updating. As new x86 projects
should be using MACH_EFI_GENERIC anyway, retire support for 16-bit legacy
boot (MACH_X86_GENERIC).
Acked-by: Juergen Borleis <jbe@pengutronix.de>
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/x86/boards/x86_generic/generic_pc.c')
-rw-r--r-- | arch/x86/boards/x86_generic/generic_pc.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/arch/x86/boards/x86_generic/generic_pc.c b/arch/x86/boards/x86_generic/generic_pc.c deleted file mode 100644 index 2f1db7aca1..0000000000 --- a/arch/x86/boards/x86_generic/generic_pc.c +++ /dev/null @@ -1,18 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -// SPDX-FileCopyrightText: 2009 Juergen Beisert, Pengutronix - -#include <common.h> -#include <types.h> -#include <driver.h> -#include <init.h> -#include <asm/syslib.h> -#include <linux/err.h> - -static int devices_init(void) -{ - /* extended memory only */ - add_mem_device("ram0", 0x0, bios_get_memsize() << 10, - IORESOURCE_MEM_WRITEABLE); - return 0; -} -device_initcall(devices_init); |