Hello Raj Astekar, Aaron Durbin, Patrick Rudolph, Angel Pons, Arthur Heymans, Ravishankar Sarawadi, build bot (Jenkins), Nico Huber, Furquan Shaikh,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/36553
to look at the new patch set (#4).
Change subject: soc/intel/tigerlake/acpi: Copy acpi directory from icelake
......................................................................
soc/intel/tigerlake/acpi: Copy acpi directory from icelake
Clone entirely from Icelake
Tiger Lake specific changes will follow in subsequent patches.
1. Modify IP/Controller B:D:F as applicable as per TGP PCH
"The External Design Specification (EDS) is not published yet. It comes
from an authoritative internal source.
The patch has been tested on real hardware."
Change-Id: If967cb5904f543ce21eb6e89421df0e5673d2238
Signed-off-by: Subrata Banik <subrata.banik(a)intel.com>
---
A src/soc/intel/tigerlake/acpi/gpio.asl
A src/soc/intel/tigerlake/acpi/northbridge.asl
A src/soc/intel/tigerlake/acpi/pch_glan.asl
A src/soc/intel/tigerlake/acpi/pch_hda.asl
A src/soc/intel/tigerlake/acpi/pci_irqs.asl
A src/soc/intel/tigerlake/acpi/pcie.asl
A src/soc/intel/tigerlake/acpi/platform.asl
A src/soc/intel/tigerlake/acpi/scs.asl
A src/soc/intel/tigerlake/acpi/serialio.asl
A src/soc/intel/tigerlake/acpi/smbus.asl
A src/soc/intel/tigerlake/acpi/southbridge.asl
A src/soc/intel/tigerlake/acpi/xhci.asl
12 files changed, 1,507 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/53/36553/4
--
To view, visit https://review.coreboot.org/c/coreboot/+/36553
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: If967cb5904f543ce21eb6e89421df0e5673d2238
Gerrit-Change-Number: 36553
Gerrit-PatchSet: 4
Gerrit-Owner: Subrata Banik <subrata.banik(a)intel.com>
Gerrit-Reviewer: Aaron Durbin <adurbin(a)chromium.org>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Furquan Shaikh <furquan(a)google.com>
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: Raj Astekar <raj.astekar(a)intel.com>
Gerrit-Reviewer: Ravishankar Sarawadi <ravishankar.sarawadi(a)intel.com>
Gerrit-Reviewer: Subrata Banik <subrata.banik(a)intel.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-MessageType: newpatchset
Hello Raj Astekar, Aaron Durbin, Patrick Rudolph, Angel Pons, Arthur Heymans, Ravishankar Sarawadi, build bot (Jenkins), Nico Huber, Furquan Shaikh,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/36553
to look at the new patch set (#3).
Change subject: soc/intel/tigerlake/acpi: Copy acpi directory from icelake
......................................................................
soc/intel/tigerlake/acpi: Copy acpi directory from icelake
Clone entirely from Icelake
Tiger Lake specific changes will follow in subsequent patches.
1. Modify IP/Controller B:D:F as applicable as per TGP PCH
"The External Design Specification (EDS) is not published yet. It comes
from an authoritative internal source.
The patch has been tested on real hardware."
Change-Id: If967cb5904f543ce21eb6e89421df0e5673d2238
Signed-off-by: Subrata Banik <subrata.banik(a)intel.com>
---
A src/soc/intel/tigerlake/acpi/gpio.asl
A src/soc/intel/tigerlake/acpi/northbridge.asl
A src/soc/intel/tigerlake/acpi/pch_glan.asl
A src/soc/intel/tigerlake/acpi/pch_hda.asl
A src/soc/intel/tigerlake/acpi/pci_irqs.asl
A src/soc/intel/tigerlake/acpi/pcie.asl
A src/soc/intel/tigerlake/acpi/platform.asl
A src/soc/intel/tigerlake/acpi/scs.asl
A src/soc/intel/tigerlake/acpi/serialio.asl
A src/soc/intel/tigerlake/acpi/smbus.asl
A src/soc/intel/tigerlake/acpi/southbridge.asl
A src/soc/intel/tigerlake/acpi/xhci.asl
12 files changed, 1,507 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/53/36553/3
--
To view, visit https://review.coreboot.org/c/coreboot/+/36553
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: If967cb5904f543ce21eb6e89421df0e5673d2238
Gerrit-Change-Number: 36553
Gerrit-PatchSet: 3
Gerrit-Owner: Subrata Banik <subrata.banik(a)intel.com>
Gerrit-Reviewer: Aaron Durbin <adurbin(a)chromium.org>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Furquan Shaikh <furquan(a)google.com>
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: Raj Astekar <raj.astekar(a)intel.com>
Gerrit-Reviewer: Ravishankar Sarawadi <ravishankar.sarawadi(a)intel.com>
Gerrit-Reviewer: Subrata Banik <subrata.banik(a)intel.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-MessageType: newpatchset
Patrick Georgi has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/36170 )
Change subject: drivers/intel/fsp2_0: Hide the Kconfig option to run FSP-M XIP
......................................................................
Patch Set 9:
(1 comment)
https://review.coreboot.org/c/coreboot/+/36170/5//COMMIT_MSG
Commit Message:
https://review.coreboot.org/c/coreboot/+/36170/5//COMMIT_MSG@9
PS5, Line 9: FSP
> How so?
This seems to be deep in nitpick territory (of course the CPU's capabilities have an influence on what FSP can do), and given that the comment to FSP_M_XIP states that FSP-M is execute-in-place...
--
To view, visit https://review.coreboot.org/c/coreboot/+/36170
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I2086e67d39e88215ee0f124583b810f7df072f80
Gerrit-Change-Number: 36170
Gerrit-PatchSet: 9
Gerrit-Owner: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Michael Niewöhner
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: Subrata Banik <subrata.banik(a)intel.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Aaron Durbin <adurbin(a)chromium.org>
Gerrit-CC: Patrick Georgi <pgeorgi(a)google.com>
Gerrit-CC: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Comment-Date: Wed, 06 Nov 2019 14:05:31 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Aaron Durbin <adurbin(a)chromium.org>
Comment-In-Reply-To: Nico Huber <nico.h(a)gmx.de>
Gerrit-MessageType: comment
Arthur Heymans has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/36165 )
Change subject: drivers/intel/fsp2_0: Move Debug options to "Debugging"
......................................................................
drivers/intel/fsp2_0: Move Debug options to "Debugging"
TODO: Is verify HOBS really 'Debugging' and should this really be
optional?
Change-Id: I8e07c8186baf3d8e91b77c5afb731d26a1abfbaf
Signed-off-by: Arthur Heymans <arthur(a)aheymans.xyz>
---
M src/Kconfig
M src/drivers/intel/fsp2_0/Kconfig
2 files changed, 40 insertions(+), 33 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/65/36165/1
diff --git a/src/Kconfig b/src/Kconfig
index 4c71f28..80efb12 100644
--- a/src/Kconfig
+++ b/src/Kconfig
@@ -1078,6 +1078,46 @@
mainboard code supports this. On supported Intel platforms this works
by changing the settings in the descriptor.bin file.
+config DISPLAY_FSP_CALLS_AND_STATUS
+ bool "Display the FSP calls and status"
+ depends on PLATFORM_USES_FSP2_0
+ default n
+ help
+ Display the FSP call entry point and parameters prior to calling FSP
+ and display the status upon return from FSP.
+
+config DISPLAY_FSP_HEADER
+ bool "Display the FSP header"
+ depends on PLATFORM_USES_FSP2_0
+ default n
+ help
+ Display the FSP header information when the FSP file is found.
+
+config DISPLAY_HOBS
+ bool "Display the hand-off-blocks"
+ depends on PLATFORM_USES_FSP2_0
+ default n
+ help
+ Display the FSP HOBs which are provided for coreboot.
+
+config DISPLAY_UPD_DATA
+ bool "Display UPD data"
+ depends on PLATFORM_USES_FSP2_0
+ default n
+ help
+ Display the user specified product data prior to memory
+ initialization.
+
+config VERIFY_HOBS
+ bool "Verify the FSP hand-off-blocks"
+ depends on PLATFORM_USES_FSP2_0
+ default n
+ help
+ Verify that the HOBs required by coreboot are returned by FSP and
+ that the resource HOBs are in the correct order and position.
+
+
+
endmenu
diff --git a/src/drivers/intel/fsp2_0/Kconfig b/src/drivers/intel/fsp2_0/Kconfig
index 1e84dab..fee5de4 100644
--- a/src/drivers/intel/fsp2_0/Kconfig
+++ b/src/drivers/intel/fsp2_0/Kconfig
@@ -39,32 +39,6 @@
Add the FSP-M and FSP-S binaries to CBFS. Currently coreboot does not
use the FSP-T binary and it is not added.
-config DISPLAY_FSP_CALLS_AND_STATUS
- bool "Display the FSP calls and status"
- default n
- help
- Display the FSP call entry point and parameters prior to calling FSP
- and display the status upon return from FSP.
-
-config DISPLAY_FSP_HEADER
- bool "Display the FSP header"
- default n
- help
- Display the FSP header information when the FSP file is found.
-
-config DISPLAY_HOBS
- bool "Display the hand-off-blocks"
- default n
- help
- Display the FSP HOBs which are provided for coreboot.
-
-config DISPLAY_UPD_DATA
- bool "Display UPD data"
- default n
- help
- Display the user specified product data prior to memory
- initialization.
-
config CPU_MICROCODE_CBFS_LEN
hex "Microcode update region length in bytes"
depends on FSP_CAR
@@ -161,13 +135,6 @@
stack with coreboot/bootloader.
Sync this value with Platform FSP integration guide recommendation.
-config VERIFY_HOBS
- bool "Verify the FSP hand-off-blocks"
- default n
- help
- Verify that the HOBs required by coreboot are returned by FSP and
- that the resource HOBs are in the correct order and position.
-
config RESET_ON_INVALID_RAMSTAGE_CACHE
bool "Reset the system on S3 wake when ramstage cache invalid."
default n
--
To view, visit https://review.coreboot.org/c/coreboot/+/36165
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I8e07c8186baf3d8e91b77c5afb731d26a1abfbaf
Gerrit-Change-Number: 36165
Gerrit-PatchSet: 1
Gerrit-Owner: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-MessageType: newchange
Mathew King has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/36512 )
Change subject: mb/g/drallion: Override smbios enclosure type for drallion
......................................................................
mb/g/drallion: Override smbios enclosure type for drallion
Drallion can be either a clamshell or convertible depending on the
presence of the 360 sensor board. Set the smbios type 3 enclosure type
to either CONVERTIBLE or LAPTOP accordingly.
BUG=b:143701965
TEST='dmidecode -t 3'
Type = Convertible with sensor board connected
Type = Laptop with sensor board disconnected
Change-Id: I766e9a4b22a490bc8252670a06504437e82f72d5
Signed-off-by: Mathew King <mathewk(a)chromium.org>
---
M src/arch/x86/smbios.c
M src/include/smbios.h
M src/mainboard/google/drallion/variants/drallion/Makefile.inc
A src/mainboard/google/drallion/variants/drallion/smbios.c
4 files changed, 31 insertions(+), 4 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/12/36512/1
diff --git a/src/arch/x86/smbios.c b/src/arch/x86/smbios.c
index 5edf3c6..261888f 100644
--- a/src/arch/x86/smbios.c
+++ b/src/arch/x86/smbios.c
@@ -492,7 +492,7 @@
return SMBIOS_BOARD_TYPE_UNKNOWN;
}
-u8 __weak smbios_mainboard_enclosure_type(void)
+smbios_enclosure_type __weak smbios_mainboard_enclosure_type(void)
{
return CONFIG_SMBIOS_ENCLOSURE_TYPE;
}
diff --git a/src/include/smbios.h b/src/include/smbios.h
index ef1c7de..d230fb2 100644
--- a/src/include/smbios.h
+++ b/src/include/smbios.h
@@ -65,7 +65,6 @@
const char *smbios_mainboard_asset_tag(void);
u8 smbios_mainboard_feature_flags(void);
const char *smbios_mainboard_location_in_chassis(void);
-u8 smbios_mainboard_enclosure_type(void);
#define BIOS_CHARACTERISTICS_PCI_SUPPORTED (1 << 7)
#define BIOS_CHARACTERISTICS_PC_CARD (1 << 8)
@@ -319,7 +318,7 @@
u8 eos[2];
} __packed;
-enum {
+typedef enum {
SMBIOS_ENCLOSURE_OTHER = 0x01,
SMBIOS_ENCLOSURE_UNKNOWN = 0x02,
SMBIOS_ENCLOSURE_DESKTOP = 0x03,
@@ -356,7 +355,7 @@
SMBIOS_ENCLOSURE_EMBEDDED_PC = 0x22,
SMBIOS_ENCLOSURE_MINI_PC = 0x23,
SMBIOS_ENCLOSURE_STICK_PC = 0x24,
-};
+} smbios_enclosure_type;
struct smbios_type3 {
u8 type;
@@ -798,5 +797,6 @@
struct smbios_type17 *t);
smbios_board_type smbios_mainboard_board_type(void);
+smbios_enclosure_type smbios_mainboard_enclosure_type(void);
#endif
diff --git a/src/mainboard/google/drallion/variants/drallion/Makefile.inc b/src/mainboard/google/drallion/variants/drallion/Makefile.inc
index ccbcb08..7e4edc1 100644
--- a/src/mainboard/google/drallion/variants/drallion/Makefile.inc
+++ b/src/mainboard/google/drallion/variants/drallion/Makefile.inc
@@ -32,3 +32,5 @@
romstage-y += memory.c
ramstage-y += sku.c
+
+ramstage-y += smbios.c
diff --git a/src/mainboard/google/drallion/variants/drallion/smbios.c b/src/mainboard/google/drallion/variants/drallion/smbios.c
new file mode 100644
index 0000000..f6c8491
--- /dev/null
+++ b/src/mainboard/google/drallion/variants/drallion/smbios.c
@@ -0,0 +1,25 @@
+/*
+ * This file is part of the coreboot project.
+ *
+ * Copyright 2019 Google LLC
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; version 2 of the License.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.See the
+ * GNU General Public License for more details.
+ */
+
+#include <variant/gpio.h>
+#include <gpio.h>
+#include <smbios.h>
+
+smbios_enclosure_type smbios_mainboard_enclosure_type(void)
+{
+ if (gpio_get(SENSOR_DET_360) == 0)
+ return SMBIOS_ENCLOSURE_CONVERTIBLE;
+ return SMBIOS_ENCLOSURE_LAPTOP;
+}
\ No newline at end of file
--
To view, visit https://review.coreboot.org/c/coreboot/+/36512
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I766e9a4b22a490bc8252670a06504437e82f72d5
Gerrit-Change-Number: 36512
Gerrit-PatchSet: 1
Gerrit-Owner: Mathew King <mathewk(a)chromium.org>
Gerrit-MessageType: newchange