diff options
author | Bill XIE <persmule@hardenedlinux.org> | 2020-05-18 16:34:37 +0800 |
---|---|---|
committer | Alexander Couzens <lynxis@fe80.eu> | 2020-05-21 02:50:08 +0000 |
commit | cfd78b1500bed6d3d410f984450c45f28b700aa2 (patch) | |
tree | 4a3380312f079f6b5639c0b47411268b4bbf1e06 /src/mainboard/lenovo/x230/variants/x230s/early_init.c | |
parent | 238b10a5f7fb3ca6c4aca37a14f34cafa4306ddf (diff) |
Revert "mainboard/lenovo/x230: Add ThinkPad x230s as a variant"
This reverts commit 6b95507ec5b087658178a325bdc68570bc48bb20, in order
to recommit and review it again.
Change-Id: Id4ddf99200f77016a48d02a8421d080cea492aae
Signed-off-by: Bill XIE <persmule@hardenedlinux.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/41504
Reviewed-by: Alexander Couzens <lynxis@fe80.eu>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/lenovo/x230/variants/x230s/early_init.c')
-rw-r--r-- | src/mainboard/lenovo/x230/variants/x230s/early_init.c | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/src/mainboard/lenovo/x230/variants/x230s/early_init.c b/src/mainboard/lenovo/x230/variants/x230s/early_init.c deleted file mode 100644 index 0b4c084f77..0000000000 --- a/src/mainboard/lenovo/x230/variants/x230s/early_init.c +++ /dev/null @@ -1,49 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ - -/* FIXME: Check if all includes are needed. */ - -#include <stdint.h> -#include <string.h> -#include <timestamp.h> -#include <arch/byteorder.h> -#include <device/mmio.h> -#include <device/pci_ops.h> -#include <device/pnp_ops.h> -#include <console/console.h> -#include <bootblock_common.h> -#include <northbridge/intel/sandybridge/sandybridge.h> -#include <northbridge/intel/sandybridge/raminit_native.h> -#include <southbridge/intel/bd82x6x/pch.h> -#include <southbridge/intel/common/gpio.h> - -const struct southbridge_usb_port mainboard_usb_ports[] = { - { 1, 3, 0 }, - { 1, 3, 1 }, - { 0, 1, 3 }, - { 1, 3, -1 }, - { 0, 1, 2 }, - { 0, 1, -1 }, - { 0, 1, -1 }, - { 0, 1, -1 }, - { 0, 1, -1 }, - { 0, 1, 5 }, - { 1, 1, -1 }, - { 0, 1, -1 }, - { 1, 3, -1 }, - { 1, 1, -1 }, -}; - -void bootblock_mainboard_early_init(void) -{ - pci_write_config16(PCI_DEV(0, 0x1f, 0), 0x82, 0x3f0f); - pci_write_config16(PCI_DEV(0, 0x1f, 0), 0x80, 0x0010); -} - -/* FIXME: Put proper SPD map here. */ -void mainboard_get_spd(spd_raw_data *spd, bool id_only) -{ - read_spd(&spd[0], 0x50, id_only); - read_spd(&spd[1], 0x52, id_only); - read_spd(&spd[2], 0x51, id_only); - read_spd(&spd[3], 0x53, id_only); -} |