summaryrefslogtreecommitdiff
path: root/src/mainboard/lenovo/x230/early_init.c
diff options
context:
space:
mode:
authorBill XIE <persmule@hardenedlinux.org>2020-05-18 21:22:50 +0800
committerAlexander Couzens <lynxis@fe80.eu>2020-05-21 03:05:38 +0000
commitebf1932f23dcacf995064cf1c790568b6914f99a (patch)
tree9d7e2594d01deac525f2ef7cdaab5eed02f52357 /src/mainboard/lenovo/x230/early_init.c
parentcfd78b1500bed6d3d410f984450c45f28b700aa2 (diff)
downloadcoreboot-ebf1932f23dcacf995064cf1c790568b6914f99a.tar.gz
mb/lenovo/x230: Turn X230 into a variant
Other variants would be added later. Change-Id: Ic6af14f0aa7a6f7378048f3c38d5713c18950366 Signed-off-by: Bill XIE <persmule@hardenedlinux.org> Reviewed-on: https://review.coreboot.org/c/coreboot/+/41509 Reviewed-by: Alexander Couzens <lynxis@fe80.eu> Reviewed-by: Nico Huber <nico.h@gmx.de> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/lenovo/x230/early_init.c')
-rw-r--r--src/mainboard/lenovo/x230/early_init.c30
1 files changed, 0 insertions, 30 deletions
diff --git a/src/mainboard/lenovo/x230/early_init.c b/src/mainboard/lenovo/x230/early_init.c
deleted file mode 100644
index 2089ee6bb2..0000000000
--- a/src/mainboard/lenovo/x230/early_init.c
+++ /dev/null
@@ -1,30 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0-only */
-
-#include <cpu/x86/lapic.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, 0, 0 }, /* P0 (left, fan side), OC 0 */
- { 1, 0, 1 }, /* P1 (left touchpad side), OC 1 */
- { 1, 1, 3 }, /* P2: dock, OC 3 */
- { 1, 1, -1 }, /* P3: wwan, no OC */
- { 1, 1, -1 }, /* P4: Wacom tablet on X230t, otherwise empty */
- { 1, 1, -1 }, /* P5: Expresscard, no OC */
- { 0, 0, -1 }, /* P6: Empty */
- { 1, 2, -1 }, /* P7: dock, no OC */
- { 1, 0, -1 },
- { 1, 2, 5 }, /* P9: Right (EHCI debug), OC 5 */
- { 1, 1, -1 }, /* P10: fingerprint reader, no OC */
- { 1, 1, -1 }, /* P11: bluetooth, no OC. */
- { 1, 1, -1 }, /* P12: wlan, no OC */
- { 1, 1, -1 }, /* P13: webcam, no OC */
-};
-
-void mainboard_get_spd(spd_raw_data *spd, bool id_only)
-{
- read_spd (&spd[0], 0x50, id_only);
- read_spd (&spd[2], 0x51, id_only);
-}