the following patch was just integrated into master:
commit b4ad1757f0c56de513e6db34b7879d5e6b0e0aab
Author: Mathias Krause <mathias.krause(a)secunet.com>
Date: Tue Dec 20 10:28:26 2016 +0100
linux_load: set init_size boot parameter
Recent Linux kernels (v4.7+) require the boot loader to copy over the
init_size boot parameter, too. We also miss to copy the loadflags.
Fix that to comply to the boot protocol v2.10+.
This fixes booting kernels v4.7 and later.
Change-Id: Ie68d44caedc481c368c63420376caedbdb9a93b5
Signed-off-by: Mathias Krause <mathias.krause(a)secunet.com>
Reviewed-on: https://review.coreboot.org/17927
Tested-by: build bot (Jenkins)
Reviewed-by: Nico Huber <nico.h(a)gmx.de>
See https://review.coreboot.org/17927 for details.
-gerrit
Subrata Banik (subrata.banik(a)intel.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/17956
-gerrit
commit b991c6a682c0c5913421d37fec7c296d8d7211a3
Author: Subrata Banik <subrata.banik(a)intel.com>
Date: Fri Dec 23 16:42:55 2016 +0530
soc/intel/skylake: Initialize LPSS UART based on DRIVERS_UART_8250MEM_32
pch_uart_init and base address assignment should be done
based on DRIVERS_UART_8250MEM_32 config selection. Enabling
legacy UART for debug on RVP does not require additional UART2
programming.
TEST=Build and boot SKL RVP to have serial log through legacy UART.
Change-Id: Iea4f204275c6eb78646f510a7097f7cf8470b576
Signed-off-by: Subrata Banik <subrata.banik(a)intel.com>
---
src/soc/intel/skylake/bootblock/bootblock.c | 2 ++
src/soc/intel/skylake/uart_debug.c | 2 ++
2 files changed, 4 insertions(+)
diff --git a/src/soc/intel/skylake/bootblock/bootblock.c b/src/soc/intel/skylake/bootblock/bootblock.c
index 93a031f..9bfa8b1 100644
--- a/src/soc/intel/skylake/bootblock/bootblock.c
+++ b/src/soc/intel/skylake/bootblock/bootblock.c
@@ -29,8 +29,10 @@ void bootblock_soc_early_init(void)
bootblock_cpu_init();
pch_early_iorange_init();
+#if IS_ENABLED(CONFIG_DRIVERS_UART_8250MEM_32)
if (IS_ENABLED(CONFIG_UART_DEBUG))
pch_uart_init();
+#endif
}
void bootblock_soc_init(void)
diff --git a/src/soc/intel/skylake/uart_debug.c b/src/soc/intel/skylake/uart_debug.c
index f3d576b..e52f717 100644
--- a/src/soc/intel/skylake/uart_debug.c
+++ b/src/soc/intel/skylake/uart_debug.c
@@ -18,9 +18,11 @@
#include <soc/iomap.h>
#include <soc/serialio.h>
+#if IS_ENABLED(CONFIG_DRIVERS_UART_8250MEM_32)
uintptr_t uart_platform_base(int idx)
{
/* Same base address for all debug port usage. In reality UART2
* is currently only supported. */
return UART_DEBUG_BASE_ADDRESS;
}
+#endif
the following patch was just integrated into master:
commit c2973d196d1224a1253478dc29d5f8fa004eaab8
Author: Furquan Shaikh <furquan(a)chromium.org>
Date: Tue Nov 29 22:07:42 2016 -0800
spi: Get rid of SPI_ATOMIC_SEQUENCING
SPI_ATOMIC_SEQUENCING was added to accomodate spi flash controllers with
the ability to perform tx and rx of flash command and response at the
same time. Instead of introducing this notion at SPI flash driver layer,
clean up the interface to SPI used by flash.
Flash uses a command-response kind of communication. Thus, even though
SPI is duplex, flash command needs to be sent out on SPI bus and then
flash response should be received on the bus. Some specialized x86
flash controllers are capable of handling command and response in a
single transaction.
In order to support all the varied cases:
1. Add spi_xfer_vector that takes as input a vector of SPI operations
and calls back into SPI controller driver to process these operations.
2. In order to accomodate flash command-response model, use two vectors
while calling into spi_xfer_vector -- one with dout set to
non-NULL(command) and other with din set to non-NULL(response).
3. For specialized SPI flash controllers combine two successive vectors
if the transactions look like a command-response pair.
4. Provide helper functions for common cases like supporting only 2
vectors at a time, supporting n vectors at a time, default vector
operation to cycle through all SPI op vectors one by one.
BUG=chrome-os-partner:59832
BRANCH=None
TEST=Compiles successfully
Change-Id: I4c9e78c585ad95c40c0d5af078ff8251da286236
Signed-off-by: Furquan Shaikh <furquan(a)chromium.org>
Reviewed-on: https://review.coreboot.org/17681
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin(a)chromium.org>
See https://review.coreboot.org/17681 for details.
-gerrit
the following patch was just integrated into master:
commit 42cfdf5184b3e94805958a3368f2e049c09119ac
Author: Furquan Shaikh <furquan(a)chromium.org>
Date: Wed Dec 21 10:58:26 2016 -0800
soc/intel/skylake: Use the new SPI driver interface
1. Define controller for fast SPI.
2. Separate out functions that are specific to SPI and flash
controller in different files.
BUG=chrome-os-partner:59832
BRANCh=None
TEST=Compiles successfully for chell and eve.
Change-Id: I2fe0ef937297297339d4ea19dc37d3061caaa80c
Signed-off-by: Furquan Shaikh <furquan(a)chromium.org>
Reviewed-on: https://review.coreboot.org/17933
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin(a)chromium.org>
See https://review.coreboot.org/17933 for details.
-gerrit
Martin Roth (martinroth(a)google.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/17941
-gerrit
commit 15e9d8849134e8fe5da6e0e83114e203a4bcff64
Author: Martin Roth <martinroth(a)google.com>
Date: Thu Dec 22 10:54:55 2016 -0700
util/lint: Add check for the signed-off-by line
Gerrit will let you submit a patch without a signed-off-by line,
although I believe it can't actually be merged. Instead of catching
it either manually, or when the patch is attempting to be merged,
catch this in the jenkins builder.
Change-Id: I80161befa157266dd4e3209839a06ff398aab6bb
Signed-off-by: Martin Roth <martinroth(a)google.com>
---
util/lint/lint-stable-020-signed-off-by | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/util/lint/lint-stable-020-signed-off-by b/util/lint/lint-stable-020-signed-off-by
new file mode 100755
index 0000000..5bdce10
--- /dev/null
+++ b/util/lint/lint-stable-020-signed-off-by
@@ -0,0 +1,23 @@
+#!/bin/sh
+# This file is part of the coreboot project.
+#
+# Copyright 2015 Google Inc.
+#
+# 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, or (at your option)
+# any later version.
+#
+# 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.
+#
+# DESCR: Check for a signed-off-by line on the latest git commit
+
+# This test is mainly for the jenkins server
+if [ -n "$(command -v git)" ] && [ -d .git ]; then
+ if [ -z "$(git log -n 1 | grep '[[:space:]]\+Signed-off-by: ')" ]; then
+ echo "No Signed-off-by line in commit message"
+ fi
+fi
the following patch was just integrated into master:
commit 45e11aa0a573aba1e4d8ae8dcd2cc87a8ca87dab
Author: Matt DeVillier <matt.devillier(a)gmail.com>
Date: Sun Dec 18 11:59:58 2016 -0600
Add/Combine Broadwell Chromebooks using variant board scheme
Combine existing boards google/auron_paine and google/samus with new
ChromeOS devices auron_yuna, gandof and lulu, using their common
reference board (auron) as a base.
Chromium sources used:
firmware-yuna-6301.59.B 6ed8b9d [CHERRY-PICK: broadwell: Update to...]
firmware-gandof-6301.155.B 666f34f [gandof: modify power limiting for...]
firmware-lulu-6301.136.B 8811714 [lulu: update RAMID table]
Additionally, some minor cleanup/changes were made:
- I2C devices set to use level (vs edge) interrupt triggering
- HDA verb entries use simplified macro entry format
- correct FADT table header version
- remove unused ACPI device entries / .asl file(s)
- clean up ACPI code (e.g., trackpad on Lulu)
- adjust _CID for trackpad on Lulu in order to not load non-functional
Windows driver (does not affect Linux)
- remove unused header includes (multiple/various)
- correct I2C addresses used for SMBIOS device entries
- correct misc typos etc
The existing auron_paine samus boards are removed.
Variant setup modeled after google/slippy
Change-Id: I53436878d141715eb18b8ea5043d71e6e8728fe8
Signed-off-by: Matt DeVillier <matt.devillier(a)gmail.com>
Reviewed-on: https://review.coreboot.org/17917
Tested-by: build bot (Jenkins)
Reviewed-by: Martin Roth <martinroth(a)google.com>
See https://review.coreboot.org/17917 for details.
-gerrit
the following patch was just integrated into master:
commit 0148fcb4e1d1c4e43cd21e7b28a65afd762daa6d
Author: Matt DeVillier <matt.devillier(a)gmail.com>
Date: Sat Dec 17 17:13:23 2016 -0600
Combine Broadwell Chromeboxes using variant board scheme
Combine existing boards google/guado, rikku, and tidus using
their common reference board google/jecht as a base.
Additional changes besides simple consolidation include:
- simplify power LED functions
- simplify HDA verb definitions using azelia macros
- use common SoC functions to generate FADT table
- correct FADT table header version
- remove unused haswell_pci_irqs.asl
- remove unused header includes (various)
- set sane default fan speed (0x4d) for all variants
Variant setup modeled after google/beltino
Change-Id: I77a2dffe9601734916a33fd04ead98016ad0bc4b
Signed-off-by: Matt DeVillier <matt.devillier(a)gmail.com>
Reviewed-on: https://review.coreboot.org/17913
Tested-by: build bot (Jenkins)
Reviewed-by: Martin Roth <martinroth(a)google.com>
See https://review.coreboot.org/17913 for details.
-gerrit