the following patch was just integrated into master:
commit 7b45d07cff5827f1014cd704f746b729edbf5c7b
Author: Alexander Couzens <lynxis(a)fe80.eu>
Date: Fri Dec 4 18:39:20 2015 +0100
SeaBIOS: remove VERSION variable in coreboot Makefile
SeaBIOS dropped support of VERSION variable and
is reproducible without it.
Change-Id: Iea1dc20e18aa5c274060e3cd55cd9e95086a602d
Signed-off-by: Alexander Couzens <lynxis(a)fe80.eu>
Reviewed-on: https://review.coreboot.org/12645
Tested-by: build bot (Jenkins)
Reviewed-by: Martin Roth <martinroth(a)google.com>
Reviewed-by: Kevin O'Connor <kevin(a)koconnor.net>
See https://review.coreboot.org/12645 for details.
-gerrit
the following patch was just integrated into master:
commit 864b48daf053265257e56d44142db2e27b84c873
Author: Patrick Georgi <patrick(a)georgi-clan.de>
Date: Fri Dec 4 16:52:18 2015 +0100
build system: add dependencies for GRUB2 and FILO
Make sure the build system knows how to start building the various
integrated payloads we support.
Change-Id: I2128d09c78795e0a41b055975e9f7052e3d951ee
Signed-off-by: Patrick Georgi <patrick(a)georgi-clan.de>
Reviewed-on: https://review.coreboot.org/12641
Reviewed-by: Alexander Couzens <lynxis(a)fe80.eu>
Tested-by: build bot (Jenkins)
Reviewed-by: Martin Roth <martinroth(a)google.com>
See https://review.coreboot.org/12641 for details.
-gerrit
the following patch was just integrated into master:
commit ec90adb2e71b9e654cc1007143aa450c3996b4a8
Author: Patrick Georgi <pgeorgi(a)chromium.org>
Date: Fri Dec 4 17:45:19 2015 +0100
build system: Drop useless variable and dependency
We don't need COREBOOT_ROM_DEPENDENCIES anymore because the dependencies
are taken care of by the cbfs-files mechanism. REFCODE_BLOB also doesn't
need to be an explicit dependency.
Change-Id: I3f32cce79683e57a174724179bc2ac59a8cdda94
Signed-off-by: Patrick Georgi <pgeorgi(a)chromium.org>
Reviewed-on: https://review.coreboot.org/12648
Tested-by: build bot (Jenkins)
Reviewed-by: Alexander Couzens <lynxis(a)fe80.eu>
See https://review.coreboot.org/12648 for details.
-gerrit
Jonathan A. Kollasch (jakllsch(a)kollasch.net) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/10983
-gerrit
commit bc9eb5c57dad8b2adfdfea67bbf67caac1601957
Author: Jonathan A. Kollasch <jakllsch(a)kollasch.net>
Date: Mon Jul 20 07:43:32 2015 -0500
amdfam10/northbridge: fix amdfam10_scan_chain()
Fixes two issues introduced recently:
- The subordinate bus limit was reduced from essentially unlimited
(0xfc) to 0 additional busses. This caused config space of
subordinate busses of a non-primary HT IO chain to become
unrouted (and thus invisible) during initial scan.
Introduced in I41aeb80121f120641b65759c8502150ce89caa30 and
I297de09dcf93511acece4441593ef958a390fddb and reinforced in
subsequent related changes.
- The HTcap+0x14 register is *not* the same on K8 and 10h. 10h
has isochronous HT link buffer controls where K8 had bus numbers.
Introduced in I41aeb80121f120641b65759c8502150ce89caa30
These two issues resulted in the non-primary IO chain not having
resources allocated to subordinate busses due to the devices being
invisible during initial scan, and for MMIO accesses to devices on
the base bus of the non-primary chain to stall the whole machine,
presumably due to invalid HT buffer allocations.
Change-Id: I7a1f51bd91ab3dae6ed1c447209b36003830f3dc
Signed-off-by: Jonathan A. Kollasch <jakllsch(a)kollasch.net>
---
src/northbridge/amd/amdfam10/northbridge.c | 13 +++++--------
1 file changed, 5 insertions(+), 8 deletions(-)
diff --git a/src/northbridge/amd/amdfam10/northbridge.c b/src/northbridge/amd/amdfam10/northbridge.c
index c8bf8fa..0c061d1 100644
--- a/src/northbridge/amd/amdfam10/northbridge.c
+++ b/src/northbridge/amd/amdfam10/northbridge.c
@@ -160,7 +160,6 @@ static void set_vga_enable_reg(u32 nodeid, u32 linkn)
}
typedef enum {
- HT_ROUTE_CLOSE,
HT_ROUTE_SCAN,
HT_ROUTE_FINAL,
} scan_state;
@@ -185,13 +184,7 @@ static void ht_route_link(struct bus *link, scan_state mode)
*/
busses = pci_read_config32(link->dev, link->cap + 0x14);
busses &= ~(0xff << 8);
- busses |= parent->secondary & 0xff;
- if (mode == HT_ROUTE_CLOSE)
- busses |= 0xff << 8;
- else if (mode == HT_ROUTE_SCAN)
- busses |= ((u32) link->secondary & 0xff) << 8;
- else if (mode == HT_ROUTE_FINAL)
- busses |= ((u32) link->secondary & 0xff) << 8;
+ busses |= ((u32) link->secondary & 0xff) << 8;
pci_write_config32(link->dev, link->cap + 0x14, busses);
if (mode == HT_ROUTE_FINAL) {
@@ -251,6 +244,7 @@ static void amd_g34_fixup(struct bus *link, device_t dev)
static void amdfam10_scan_chain(struct bus *link)
{
unsigned int next_unitid;
+ uint16_t sub;
/* See if there is an available configuration space mapping
* register in function 1.
@@ -266,7 +260,10 @@ static void amdfam10_scan_chain(struct bus *link)
ht_route_link(link, HT_ROUTE_SCAN);
/* set the config map space */
+ sub = link->subordinate;
+ link->subordinate = 0xfc;
set_config_map_reg(link);
+ link->subordinate = sub;
/* Now we can scan all of the subordinate busses i.e. the
* chain on the hypertranport link
Patrick Georgi (pgeorgi(a)google.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/12648
-gerrit
commit 60113bba517cc20ba8dab6072e57282f841a785a
Author: Patrick Georgi <pgeorgi(a)chromium.org>
Date: Fri Dec 4 17:45:19 2015 +0100
build system: Drop useless variable and dependency
We don't need COREBOOT_ROM_DEPENDENCIES anymore because the dependencies
are taken care of by the cbfs-files mechanism. REFCODE_BLOB also doesn't
need to be an explicit dependency.
Change-Id: I3f32cce79683e57a174724179bc2ac59a8cdda94
Signed-off-by: Patrick Georgi <pgeorgi(a)chromium.org>
---
Makefile.inc | 4 +---
payloads/external/Makefile.inc | 13 -------------
2 files changed, 1 insertion(+), 16 deletions(-)
diff --git a/Makefile.inc b/Makefile.inc
index 4bccefb..6a553fb 100644
--- a/Makefile.inc
+++ b/Makefile.inc
@@ -599,8 +599,6 @@ $(objcbfs)/%.elf: $(objcbfs)/%.debug
# Build the final rom image
###########################################################################
-COREBOOT_ROM_DEPENDENCIES:=
-
extract_nth=$(subst *,$(spc),$(patsubst -%-,%,$(word $(1), $(subst |,- -,-$(2)-))))
cbfs-add-cmd = \
@@ -658,7 +656,7 @@ $(REFCODE_BLOB): $(RMODTOOL)
$(RMODTOOL) -i $(CONFIG_REFCODE_BLOB_FILE) -o $@
endif
-$(obj)/coreboot.rom: $(obj)/coreboot.pre $(objcbfs)/ramstage.elf $(CBFSTOOL) $$(call strip_quotes,$$(COREBOOT_ROM_DEPENDENCIES)) $$(INTERMEDIATE) $(REFCODE_BLOB)
+$(obj)/coreboot.rom: $(obj)/coreboot.pre $(objcbfs)/ramstage.elf $(CBFSTOOL) $$(INTERMEDIATE)
@printf " CBFS $(subst $(obj)/,,$(@))\n"
# The full ROM may be larger than the CBFS part, so create an empty
# file (filled with \377 = 0xff) and copy the CBFS image over it.
diff --git a/payloads/external/Makefile.inc b/payloads/external/Makefile.inc
index 47a4964..d15c398 100644
--- a/payloads/external/Makefile.inc
+++ b/payloads/external/Makefile.inc
@@ -15,19 +15,6 @@
## GNU General Public License for more details.
##
-ifeq ($(CONFIG_PAYLOAD_ELF),y)
-COREBOOT_ROM_DEPENDENCIES+=$(CONFIG_PAYLOAD_FILE)
-endif
-ifeq ($(CONFIG_PAYLOAD_SEABIOS),y)
-COREBOOT_ROM_DEPENDENCIES+=seabios
-endif
-ifeq ($(CONFIG_PAYLOAD_FILO),y)
-COREBOOT_ROM_DEPENDENCIES+=filo
-endif
-ifeq ($(CONFIG_PAYLOAD_GRUB2),y)
-COREBOOT_ROM_DEPENDENCIES+=grub2
-endif
-
######################################################################
# set up payload config and version files for later inclusion
ifeq ($(CONFIG_PAYLOAD_SEABIOS),y)