From af90275a41169fa16459ce13b729ab2875199aa1 Mon Sep 17 00:00:00 2001 From: enok71 Date: Wed, 28 Sep 2011 16:55:59 +0200 Subject: TINY_BOOTBLOCK problem-fix on amdk8+amd8111 platforms The hp/dl145_g1 motherboard did not work since commit 1f7d3c5672ec90f8d71907b1a07c8a87fa461047 (svn 6124). That commit added TINY_BOOTBLOCK for amd8111 southbridge. The result was that the boot process stopped very early (no console output whatsoever). The same symptom was reported on other AMDK8 based boards with amd8111 southbridge chips. This commit seems to fix the bug. It adds a bootblock.c under src/northbridge/amd/amdk8 that calls enumerate_ht_chains. Probably the problem was that enum_ht_chains needs to be called before the southbridge bootblock.c function, not after. Change-Id: I74fb892aa39048e2d0e76c081b713f825d67f2d4 Signed-off-by: Oskar Enoksson Reviewed-on: http://review.coreboot.org/235 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi Reviewed-by: Marc Jones --- src/northbridge/amd/amdk8/Kconfig | 4 ++++ src/northbridge/amd/amdk8/bootblock.c | 8 ++++++++ 2 files changed, 12 insertions(+) create mode 100644 src/northbridge/amd/amdk8/bootblock.c (limited to 'src/northbridge/amd') diff --git a/src/northbridge/amd/amdk8/Kconfig b/src/northbridge/amd/amdk8/Kconfig index 418c734047..858041a061 100644 --- a/src/northbridge/amd/amdk8/Kconfig +++ b/src/northbridge/amd/amdk8/Kconfig @@ -45,6 +45,10 @@ config HW_MEM_HOLE_SIZE_AUTO_INC bool default n +config BOOTBLOCK_NORTHBRIDGE_INIT + string + default "northbridge/amd/amdk8/bootblock.c" + config SB_HT_CHAIN_UNITID_OFFSET_ONLY bool default n diff --git a/src/northbridge/amd/amdk8/bootblock.c b/src/northbridge/amd/amdk8/bootblock.c new file mode 100644 index 0000000000..b5395bbd9f --- /dev/null +++ b/src/northbridge/amd/amdk8/bootblock.c @@ -0,0 +1,8 @@ +#include +#include +#include +#include "northbridge/amd/amdk8/early_ht.c" + +static void bootblock_northbridge_init(void) { + enumerate_ht_chain(); +} -- cgit v1.2.3