Peter Lemenkov has uploaded a new patch set (#13) to the change originally created by Nicolas Reinecke. ( https://review.coreboot.org/c/coreboot/+/11791 )
Change subject: [WIP]mainboard/lenovo/t410: Add new port
......................................................................
[WIP]mainboard/lenovo/t410: Add new port
The port is based on the x201 / t410s.
2537-vg5 / i5, no discrete gpu
Tested and working:
* Native raminit
* Native gfxinit
* Booting Seabios 1.11.1
* Booting from EHCI
* Running GNU/Linux 4.13.5
* No errors in dmesg
* EHCI debug on the devices left side, bottom-right
* Keyboard
* Fn keys (Mute, Volume, Mic)
* Touchpad
* TPM
* Ethernet
* Wifi
* Sound
* USB
Testing in progress.
Untested:
* VGA
* Displayport
* Ethernet
Bugs:
* Linux hangs in 2 out of 3 attempts when booting from USB
* S3 resume is broken.
TODOs:
* Hide internal PCI devices
Depends on:
1. Change-Id: Idd4986f39f21cb53cb019d0893d40fed94c6505b
Details for flashing externally:
1. Disconnect all power
2. Connect the external flasher
3. Connect the power cord (This fixes internal power control)
4. Remove the power cord
Change-Id: Id9d872e643dd242e925bfb46d18076e6ad100995
Signed-off-by: Nicolas Reinecke <nr(a)das-labor.org>
---
A src/mainboard/lenovo/t410/Kconfig
A src/mainboard/lenovo/t410/Kconfig.name
A src/mainboard/lenovo/t410/Makefile.inc
A src/mainboard/lenovo/t410/acpi/dock.asl
A src/mainboard/lenovo/t410/acpi/ec.asl
A src/mainboard/lenovo/t410/acpi/gpe.asl
A src/mainboard/lenovo/t410/acpi/platform.asl
A src/mainboard/lenovo/t410/acpi/superio.asl
A src/mainboard/lenovo/t410/acpi_tables.c
A src/mainboard/lenovo/t410/board_info.txt
A src/mainboard/lenovo/t410/cmos.default
A src/mainboard/lenovo/t410/cmos.layout
A src/mainboard/lenovo/t410/devicetree.cb
A src/mainboard/lenovo/t410/dock.c
A src/mainboard/lenovo/t410/dock.h
A src/mainboard/lenovo/t410/dsdt.asl
A src/mainboard/lenovo/t410/gpio.c
A src/mainboard/lenovo/t410/hda_verb.c
A src/mainboard/lenovo/t410/mainboard.c
A src/mainboard/lenovo/t410/romstage.c
A src/mainboard/lenovo/t410/smi.h
A src/mainboard/lenovo/t410/smihandler.c
A src/mainboard/lenovo/t410/thermal.h
23 files changed, 1,976 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/91/11791/13
--
To view, visit https://review.coreboot.org/c/coreboot/+/11791
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Id9d872e643dd242e925bfb46d18076e6ad100995
Gerrit-Change-Number: 11791
Gerrit-PatchSet: 13
Gerrit-Owner: Nicolas Reinecke <nr(a)das-labor.org>
Gerrit-Reviewer: Alexander Couzens <lynxis(a)fe80.eu>
Gerrit-Reviewer: Martin Roth <martinroth(a)google.com>
Gerrit-Reviewer: Nicolas Reinecke <nr(a)das-labor.org>
Gerrit-Reviewer: Patrick Georgi <pgeorgi(a)google.com>
Gerrit-Reviewer: Patrick Rudolph <patrick.rudolph(a)9elements.com>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Eloy
Gerrit-CC: HAOUAS Elyes <ehaouas(a)noos.fr>
Gerrit-CC: Okashi Odayakana <brianblevins316(a)gmail.com>
Gerrit-CC: Peter Lemenkov <lemenkov(a)gmail.com>
Gerrit-MessageType: newpatchset
Jacob Garber has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/32249
Change subject: nb/intel/sandybridge: Set uninitialized run length
......................................................................
nb/intel/sandybridge: Set uninitialized run length
If the entire array is zero, then the length of the
longest zero run is the length of the array itself.
Found-by: Coverity Scan, CID 1229715
Signed-off-by: Jacob Garber <jgarber1(a)ualberta.ca>
Change-Id: Id23292087b14182448d70117915fb044e9c579f7
---
M src/northbridge/intel/sandybridge/raminit_common.c
1 file changed, 1 insertion(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/49/32249/1
diff --git a/src/northbridge/intel/sandybridge/raminit_common.c b/src/northbridge/intel/sandybridge/raminit_common.c
index 55df03b..5ffb0d8 100644
--- a/src/northbridge/intel/sandybridge/raminit_common.c
+++ b/src/northbridge/intel/sandybridge/raminit_common.c
@@ -1142,6 +1142,7 @@
ret.middle = sz / 2;
ret.start = 0;
ret.end = sz;
+ ret.length = sz;
ret.all = 1;
return ret;
}
--
To view, visit https://review.coreboot.org/c/coreboot/+/32249
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Id23292087b14182448d70117915fb044e9c579f7
Gerrit-Change-Number: 32249
Gerrit-PatchSet: 1
Gerrit-Owner: Jacob Garber <jgarber1(a)ualberta.ca>
Gerrit-MessageType: newchange
You-Cheng Syu has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/32120
Change subject: google/kukui: Configure AP_IN_SLEEP_L correctly.
......................................................................
google/kukui: Configure AP_IN_SLEEP_L correctly.
This pin should be set to its alternative function SRCLKENA0 instead of
GPIO, so that SPM can control it.
BUG=b:113367227
BRANCH=none
TEST=1. Boot. Run 'powerinfo' in EC console and see power state in S0.
2. Run 'powerd_dbus_suspend --wakeup_timeout=10', and then
run 'powerinfo' in EC console and see power state in S3.
3. Wait until AP resume.
4. Run 'powerinfo' in EC console and see power state back to S0.
Change-Id: I0a7e34f95381dec17eb6d166d6552c12e021bd9a
Signed-off-by: You-Cheng Syu <youcheng(a)google.com>
---
M src/mainboard/google/kukui/early_init.c
1 file changed, 1 insertion(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/20/32120/1
diff --git a/src/mainboard/google/kukui/early_init.c b/src/mainboard/google/kukui/early_init.c
index a16a335..1193bb3 100644
--- a/src/mainboard/google/kukui/early_init.c
+++ b/src/mainboard/google/kukui/early_init.c
@@ -32,8 +32,7 @@
setup_chromeos_gpios();
- /* Declare we are in S0 */
- gpio_output(AP_IN_SLEEP_L, 1);
+ gpio_set_mode(AP_IN_SLEEP_L, PAD_SRCLKENA0_FUNC_SRCLKENA0);
mtk_spi_init(CONFIG_DRIVER_TPM_SPI_BUS, SPI_PAD0_MASK, 1 * MHz);
gpio_eint_configure(CR50_IRQ, IRQ_TYPE_EDGE_RISING);
--
To view, visit https://review.coreboot.org/c/coreboot/+/32120
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I0a7e34f95381dec17eb6d166d6552c12e021bd9a
Gerrit-Change-Number: 32120
Gerrit-PatchSet: 1
Gerrit-Owner: You-Cheng Syu <youcheng(a)google.com>
Gerrit-MessageType: newchange
Tim Wawrzynczak has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/32216
Change subject: hatch: Add ACPI support for BT reset functionality
......................................................................
hatch: Add ACPI support for BT reset functionality
Expose the BT_DISABLE_L signal in Hatch's devicetree, on both
USB2 port 5 and 10.
BUG=b:123293169
BRANCH=none
TEST=compiles, verified kernel is able to find the reset-gpio
Change-Id: I6e4d9786e44f12da71533b6740fdd390f3a57e40
Signed-off-by: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
---
M src/mainboard/google/hatch/variants/baseboard/devicetree.cb
1 file changed, 2 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/16/32216/1
diff --git a/src/mainboard/google/hatch/variants/baseboard/devicetree.cb b/src/mainboard/google/hatch/variants/baseboard/devicetree.cb
index 2f1120a..7dd41a2 100644
--- a/src/mainboard/google/hatch/variants/baseboard/devicetree.cb
+++ b/src/mainboard/google/hatch/variants/baseboard/devicetree.cb
@@ -131,6 +131,7 @@
chip drivers/usb/acpi
register "desc" = ""Discrete bluetooth""
register "type" = "UPC_TYPE_INTERNAL"
+ register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_C14)"
device usb 2.4 on end
end
chip drivers/usb/acpi
@@ -146,6 +147,7 @@
chip drivers/usb/acpi
register "desc" = ""Integrated CnVi bluetooth""
register "type" = "UPC_TYPE_INTERNAL"
+ register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_C14)"
device usb 2.9 on end
end
chip drivers/usb/acpi
--
To view, visit https://review.coreboot.org/c/coreboot/+/32216
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I6e4d9786e44f12da71533b6740fdd390f3a57e40
Gerrit-Change-Number: 32216
Gerrit-PatchSet: 1
Gerrit-Owner: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Gerrit-MessageType: newchange