Martin Roth (gaumless(a)gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/7633
-gerrit
commit 1a31a9e3241199d2cd7e981b3128ed7ce8b5c4e3
Author: Martin Roth <martin.roth(a)se-eng.com>
Date: Tue Dec 2 21:51:03 2014 -0700
fsp_baytrail: Allow selection of USB controller by get_option
It was requested to be able to update XHCI vs EHCI via get_option,
so I've added it here for minnow max. This could get moved to the
chipset_fsp_util.c file later, but I'm adding it here for now.
More checking needs to be added to this:
- Are both controllers enabled in devicetree? If not, we don't want
to allow the switch.
Change-Id: I4d8d2229cb9fa0cd9068701454b28ffac6d8e767
Signed-off-by: Martin Roth <martin.roth(a)se-eng.com>
---
src/mainboard/intel/minnowmax/cmos.layout | 6 +++++-
src/mainboard/intel/minnowmax/romstage.c | 11 +++++++++++
2 files changed, 16 insertions(+), 1 deletion(-)
diff --git a/src/mainboard/intel/minnowmax/cmos.layout b/src/mainboard/intel/minnowmax/cmos.layout
index a668188..c7dc88d 100644
--- a/src/mainboard/intel/minnowmax/cmos.layout
+++ b/src/mainboard/intel/minnowmax/cmos.layout
@@ -85,7 +85,8 @@ entries
# coreboot config options: southbridge
408 1 e 1 nmi
409 2 e 7 power_on_after_fail
-#411 5 r 0 unused
+411 2 e 8 use_xhci_over_ehci
+#413 3 r 0 unused
# MRC Scrambler Seed values
896 32 r 0 mrc_scrambler_seed
@@ -133,6 +134,9 @@ enumerations
7 0 Disable
7 1 Enable
7 2 Keep
+8 0 EHCI
+8 1 XHCI
+8 2 Default
# -----------------------------------------------------------------
checksums
diff --git a/src/mainboard/intel/minnowmax/romstage.c b/src/mainboard/intel/minnowmax/romstage.c
index af63cab..a144722 100644
--- a/src/mainboard/intel/minnowmax/romstage.c
+++ b/src/mainboard/intel/minnowmax/romstage.c
@@ -21,6 +21,8 @@
#include <baytrail/romstage.h>
#include <drivers/intel/fsp/fsp_util.h>
+#include <pc80/mc146818rtc.h>
+#include <console/console.h>
#include "chip.h"
/**
@@ -54,6 +56,7 @@ void late_mainboard_romstage_entry()
void romstage_fsp_rt_buffer_callback(FSP_INIT_RT_BUFFER *FspRtBuffer)
{
UPD_DATA_REGION *UpdData = FspRtBuffer->Common.UpdDataRgnPtr;
+ u8 use_xhci = UpdData->PcdEnableXhci;
/*
* Minnow Max Board : 1GB SKU uses 2Gb density memory
@@ -65,5 +68,13 @@ void romstage_fsp_rt_buffer_callback(FSP_INIT_RT_BUFFER *FspRtBuffer)
UpdData->PcdMemoryParameters.DIMMDensity
+= (DIMM_DENSITY_4G_BIT - DIMM_DENSITY_2G_BIT);
+ /* Update XHCI UPD value if required */
+ get_option(&use_xhci, "use_xhci_over_ehci");
+ if ((use_xhci < 2) && (use_xhci != UpdData->PcdEnableXhci)) {
+ UpdData->PcdEnableXhci = use_xhci;
+ printk(FSP_INFO_LEVEL, "Xhci updated from CMOS:\t\t\t%s\n",
+ UpdData->PcdEnableXhci?"Enabled":"Disabled");
+ }
+
return;
}
the following patch was just integrated into master:
commit a234f45601e6e85a5179ec9cc446f070b86f425b
Author: Patrick Georgi <pgeorgi(a)google.com>
Date: Wed Dec 3 11:20:51 2014 +0100
build system: fix alignment function
It seriously miscomputed alignment values, always
off-by-one, and off-by-an-alignment for aligned
values.
Change-Id: Ide3477d09d34d7728cb0666bb30dd9f7a3f1056d
Reported-by: Dave Frodin <dave.frodin(a)se-eng.com>
Signed-off-by: Patrick Georgi <pgeorgi(a)google.com>
Reviewed-on: http://review.coreboot.org/7635
Tested-by: build bot (Jenkins)
Reviewed-by: Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
Reviewed-by: Dave Frodin <dave.frodin(a)se-eng.com>
See http://review.coreboot.org/7635 for details.
-gerrit
the following patch was just integrated into master:
commit b6435610f579bc53022ec9719f03bb3d75e4594a
Author: Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
Date: Tue Dec 2 21:04:13 2014 +1100
mainboard/hp/pavilion_m6_1035dx: Remove HUDSON_LEGACY_FREE
The Embedded Controller sits behind the LPC bridge and so needs
LPC decodes to be enabled.
Remove the LPC decode enable out of agesawrapper.c. The enable
is in fact done in: 'VOID FchInitResetLpcProgram(IN VOID *FchDataPtr)'
which writes the magic '0xFF03FFD5' to register 0x44 of the PCI 14.3
LPC Bridge to enable LPC decodes when HUDSON_LEGACY_FREE is not defined.
Change-Id: Ia487d21faa0fceb2557dbce14ef8822116fada91
Signed-off-by: Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
Reviewed-on: http://review.coreboot.org/7628
Reviewed-by: Kyösti Mälkki <kyosti.malkki(a)gmail.com>
Tested-by: build bot (Jenkins)
See http://review.coreboot.org/7628 for details.
-gerrit
the following patch was just integrated into master:
commit 29635415a6fadbd9d7bc9b7738babe67f0702db3
Author: Paul Menzel <paulepanter(a)users.sourceforge.net>
Date: Fri Oct 24 01:15:10 2014 +0200
util/cbmem: Print name instead of ID of CBMEM_ID_SMM_SAVE_SPACE
Commit b4b9eb39 (x86: provide infrastructure to backup default SMM
region) introduced the new CBMEM type `CBMEM_ID_SMM_SAVE_SPACE`, but
did not add its name `SMM BACKUP` to the utility `cbmem`, causing the
following output, when running `cbmem` on a system making
use of `BACKUP_DEFAULT_SMM_REGION`.
7. 07e9acee 7f7e5000 00010000
Fix that by adding the name `SMM BACKUP` to the struct
`cbmem_id_to_name`.
Change-Id: Ib24088c07af4daf6b7d8d5854283b5faa2ad6503
Signed-off-by: Paul Menzel <paulepanter(a)users.sourceforge.net>
Reviewed-on: http://review.coreboot.org/7176
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <pgeorgi(a)google.com>
See http://review.coreboot.org/7176 for details.
-gerrit
Edward O'Callaghan (eocallaghan(a)alterapraxis.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/7629
-gerrit
commit 155a4fab8093ad1bfe7ee20dae1797fa47e55542
Author: Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
Date: Tue Dec 2 22:56:17 2014 +1100
mainboard/lenovo/g505s/Kconfig: Toggle some menuconfig options
kconfig has a few options on by default that we /do not/ want on
and some off that we /do/ want. Toggle these.
Change-Id: Idc53738dad6fe48a04d0d872c008e198a9bb3af9
Signed-off-by: Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
---
src/mainboard/lenovo/g505s/Kconfig | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/src/mainboard/lenovo/g505s/Kconfig b/src/mainboard/lenovo/g505s/Kconfig
index fc3a6ac..efa356b 100644
--- a/src/mainboard/lenovo/g505s/Kconfig
+++ b/src/mainboard/lenovo/g505s/Kconfig
@@ -35,6 +35,7 @@ config BOARD_SPECIFIC_OPTIONS # dummy
select BOARD_ROMSIZE_KB_4096
select GFXUMA
select UDELAY_LAPIC
+ select NO_UART_ON_SUPERIO
config MAINBOARD_DIR
string
@@ -68,4 +69,23 @@ config VGA_BIOS_ID
string
default "1002,990b"
+# # NOTE !!! #
+# Disable blobs by-default on board
+config HUDSON_IMC_FWM
+ bool
+ default n
+config HUDSON_XHCI_FWM
+ bool
+ default n
+config HUDSON_XHCI_ENABLE
+ bool
+ default n
+# # NOTE !!! #
+
+# Board does not have a SuperIO UART for serial
+# uses EHCI debug port instead!
+config USBDEBUG
+ bool
+ default y
+
endif # BOARD_LENOVO_G505S
the following patch was just integrated into master:
commit d743e0daf3de88077068c47712d4e5bf12a1732c
Author: Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
Date: Tue Dec 2 19:35:28 2014 +1100
mainboard/lenovo/g505s/Kconfig: Remove HUDSON_LEGACY_FREE
The Embedded Controller sits behind the LPC bridge and so needs
LPC decodes to be enabled.
Remove the LPC decode enable out of agesawrapper.c. The enable
is in fact done in: 'VOID FchInitResetLpcProgram(IN VOID *FchDataPtr)'
which writes the magic '0xFF03FFD5' to register 0x44 of the PCI 14.3
LPC Bridge to enable LPC decodes when HUDSON_LEGACY_FREE is not defined.
Change-Id: I0b4e99cc0d6f89f0261f26ee61b8c175a373c730
Signed-off-by: Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
Reviewed-on: http://review.coreboot.org/7625
Reviewed-by: Kyösti Mälkki <kyosti.malkki(a)gmail.com>
Tested-by: build bot (Jenkins)
See http://review.coreboot.org/7625 for details.
-gerrit