summaryrefslogtreecommitdiff
path: root/src/mainboard/starlabs/labtop/mainboard.c
diff options
context:
space:
mode:
authorTim Wawrzynczak <twawrzynczak@chromium.org>2021-06-04 18:34:45 +0000
committerPatrick Georgi <pgeorgi@google.com>2021-06-04 18:52:32 +0000
commitfb1858539f7451317730fda785600c81ec44dfd2 (patch)
tree3e1521c08d35ff708de495f91a233da0af181129 /src/mainboard/starlabs/labtop/mainboard.c
parentfc7900b6b96cdb7044122bc00bbd5c760a069325 (diff)
Revert "src/mainboard: Add Star Labs labtop series"
This reverts commit 2e665eb8daa2963c52092e694a5316dc544a23f5. Reason for revert: Was submitted too early and out-of-order. Change-Id: I119b7a81b849bbe3424d73d5fdf9b55481444686 Signed-off-by: Tim Wawrzynczak <twawrzynczak@chromium.org> Reviewed-on: https://review.coreboot.org/c/coreboot/+/54971 Reviewed-by: Patrick Georgi <pgeorgi@google.com> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Michael Niewöhner <foss@mniewoehner.de> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/starlabs/labtop/mainboard.c')
-rw-r--r--src/mainboard/starlabs/labtop/mainboard.c85
1 files changed, 0 insertions, 85 deletions
diff --git a/src/mainboard/starlabs/labtop/mainboard.c b/src/mainboard/starlabs/labtop/mainboard.c
deleted file mode 100644
index 4fe4af32ad..0000000000
--- a/src/mainboard/starlabs/labtop/mainboard.c
+++ /dev/null
@@ -1,85 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0-only */
-
-#include <smbios.h>
-#include <types.h>
-#include <uuid.h>
-
-#include <ec/starlabs/it8987/ec.h>
-
-/* Override the BIOS version using smbios_mainboard_bios_version() */
-const char *smbios_mainboard_bios_version(void)
-{
- return "6";
-}
-
-/* Get the Embedded Controller firmware version */
-void smbios_ec_revision(uint8_t *ec_major_revision, uint8_t *ec_minor_revision)
-{
- u16 ec_version = it8987_get_version();
-
- *ec_major_revision = ec_version >> 8;
- *ec_minor_revision = ec_version & 0xff;
-}
-
-/* Override smbios_system_manufacturer */
-const char *smbios_system_manufacturer(void)
-{
- return "Star Labs";
-}
-
-/* Override smbios_system_sku */
-const char *smbios_system_sku(void)
-{
-#if CONFIG(BOARD_STARLABS_LABTOP_CML)
- return "L4";
-#else
- return "L3-U";
-#endif
-}
-
-/* Override smbios_mainboard_features_flags */
-u8 smbios_mainboard_feature_flags(void)
-{
- return SMBIOS_FEATURE_FLAG_HOSTING_BOARD | SMBIOS_FEATURE_FLAG_REPLACEABLE;
-}
-
-/* Override smbios_mainboard_location_in_chassis */
-const char *smbios_mainboard_location_in_chassis(void)
-{
- return "Default";
-}
-
-/* Override smbios_mainboard_board_type */
-smbios_board_type smbios_mainboard_board_type(void)
-{
- return SMBIOS_BOARD_TYPE_MOTHERBOARD;
-}
-
-/* Override smbios_mainboard_asset_tag */
-const char *smbios_mainboard_asset_tag(void)
-{
- return "Default";
-}
-
-smbios_enclosure_type smbios_mainboard_enclosure_type(void)
-{
- return SMBIOS_ENCLOSURE_NOTEBOOK;
-}
-
-/* Override smbios_chassis_version */
-const char *smbios_chassis_version(void)
-{
- return smbios_mainboard_version();
-}
-
-/* Override smbios_chassis_serial_number */
-const char *smbios_chassis_serial_number(void)
-{
- return smbios_mainboard_serial_number();
-}
-
-/* Override smbios_chassis_asset_tag */
-const char *smbios_chassis_asset_tag(void)
-{
- return CONFIG_MAINBOARD_SERIAL_NUMBER;
-}