the following patch was just integrated into master:
commit e0334e82960aa72c602686f1f8a840002bc3a73a
Author: Martin Roth <martinroth(a)google.com>
Date: Tue Aug 11 09:05:42 2015 -0600
AMD ROMSIG: Only check location if ROMSIG is used
The location of the AMD ROMSIG binary was being checked and warnings
were being printed even when the ROMSIG file wasn't being used.
These false warnings are avoided by moving the warnings into the
block where the CBFS file for the ROMSIG is generated.
Change-Id: Ie44a2ad97ff3b15df6dc9b8166992de6ed837997
Signed-off-by: Martin Roth <martinroth(a)google.com>
Reviewed-on: http://review.coreboot.org/11161
Tested-by: build bot (Jenkins)
Reviewed-by: Paul Menzel <paulepanter(a)users.sourceforge.net>
Reviewed-by: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
See http://review.coreboot.org/11161 for details.
-gerrit
Martin Roth (martinroth(a)google.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/11273
-gerrit
commit f4bbfaae66d2267edf91cff03e61dbd57cd7f269
Author: Martin Roth <martinroth(a)google.com>
Date: Tue Aug 18 14:30:27 2015 -0600
util/kconfig: add olddefconfig target
There doesn't seem to have been an olddefconfig target in the coreboot
version of the Kconfig makefile. It's listed in the .PHONY, but it
doesn't seem like it's ever been there. This is useful for expanding
a miniconfig saved with 'make savedefconfig'.
Change-Id: I3798f8469135b58d32da68d4b0e434ab5351b501
Signed-off-by: Martin Roth <martinroth(a)google.com>
---
util/kconfig/Makefile | 3 +++
1 file changed, 3 insertions(+)
diff --git a/util/kconfig/Makefile b/util/kconfig/Makefile
index ab74113..243f763 100644
--- a/util/kconfig/Makefile
+++ b/util/kconfig/Makefile
@@ -97,6 +97,9 @@ else
$< --defconfig=$(KBUILD_DEFCONFIG) $(Kconfig)
endif
+olddefconfig: $(objk)/conf
+ $< --olddefconfig $(Kconfig)
+
%_defconfig: $(objk)/conf
$< --defconfig=configs/$@ $(Kconfig)
Martin Roth (martinroth(a)google.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/11269
-gerrit
commit 246777ed4498cdff37d1275c1a01b896939fca5e
Author: Martin Roth <martinroth(a)google.com>
Date: Tue Aug 18 15:48:44 2015 -0600
broadwell/raminit.c: Only use MRC functions when available
Put a guard on the calls to mrc_cache_get_current and
mrc_cache_stash_data so they only get called when they're getting
built into the binary.
These calls are in soc/intel/common/cache.c which gets included
by the makefile with the lines:
romstage-$(CONFIG_CACHE_MRC_SETTINGS) += mrc_cache.c
ramstage-$(CONFIG_CACHE_MRC_SETTINGS) += mrc_cache.c
Change-Id: Ia0a446e70bac4b292fef7f8b3fcea09992a4e397
Signed-off-by: Martin Roth <martinroth(a)google.com>
---
src/soc/intel/broadwell/romstage/raminit.c | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/src/soc/intel/broadwell/romstage/raminit.c b/src/soc/intel/broadwell/romstage/raminit.c
index 82c88cb..ea14e2b 100644
--- a/src/soc/intel/broadwell/romstage/raminit.c
+++ b/src/soc/intel/broadwell/romstage/raminit.c
@@ -55,7 +55,8 @@ void raminit(struct pei_data *pei_data)
if (recovery_mode_enabled()) {
/* Recovery mode does not use MRC cache */
printk(BIOS_DEBUG, "Recovery mode: not using MRC cache.\n");
- } else if (!mrc_cache_get_current(&cache)) {
+ } else if ((IS_ENABLED(CONFIG_CACHE_MRC_SETTINGS)) &&
+ (!mrc_cache_get_current(&cache))) {
/* MRC cache found */
pei_data->saved_data_size = cache->size;
pei_data->saved_data = &cache->data[0];
@@ -121,7 +122,9 @@ void raminit(struct pei_data *pei_data)
printk(BIOS_DEBUG, "MRC data at %p %d bytes\n", pei_data->data_to_save,
pei_data->data_to_save_size);
- if (pei_data->data_to_save != NULL && pei_data->data_to_save_size > 0)
+ if ((IS_ENABLED(CONFIG_CACHE_MRC_SETTINGS)) &&
+ (pei_data->data_to_save != NULL &&
+ pei_data->data_to_save_size > 0))
mrc_cache_stash_data(pei_data->data_to_save,
pei_data->data_to_save_size);
the following patch was just integrated into master:
commit 5cac25e6b2331a559394a3e3f636c4a6a80c58ac
Author: Timothy Pearson <tpearson(a)raptorengineeringinc.com>
Date: Fri Aug 14 16:31:14 2015 -0500
northbridge/amd/amdfam10: Redirect legacy VGA memory access to MMIO
Commit 27baa32 (cpu/amd/model_10xxx: Do not initialize SMM memory if
SMM is disabled) deactivated TSeg SMRAM, which had the side effect
of routing legacy VGA memory access to DRAM. Restore the correct
MMIO mapping via the MMIO configuration registers.
TEST: Booted KGPE-D16 with nVidia 7300LE card and verified proper VGA
functionality.
Change-Id: Ie4b7c0b2d6f9a02af9a022565fe514119513190a
Signed-off-by: Timothy Pearson <tpearson(a)raptorengineeringinc.com>
Reviewed-on: http://review.coreboot.org/11240
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
See http://review.coreboot.org/11240 for details.
-gerrit