From db3047c57b9690fc00f7f12e9bf3ac6d5f8e844b Mon Sep 17 00:00:00 2001 From: Angel Pons Date: Fri, 23 Oct 2020 14:56:19 +0200 Subject: nb/intel/haswell/gma.c: Move log message to the right place MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The message was being printed too early, possibly because it was relocated around alongside the rest of the code. Change-Id: I4257f6f0baa1c398aa1df9bd3274458abfaf28a6 Signed-off-by: Angel Pons Reviewed-on: https://review.coreboot.org/c/coreboot/+/46690 Reviewed-by: Michael Niewöhner Reviewed-by: Patrick Rudolph Tested-by: build bot (Jenkins) --- src/northbridge/intel/haswell/gma.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/northbridge/intel/haswell/gma.c b/src/northbridge/intel/haswell/gma.c index 2368e7bf86..dc7b629a2e 100644 --- a/src/northbridge/intel/haswell/gma.c +++ b/src/northbridge/intel/haswell/gma.c @@ -290,8 +290,6 @@ static void gma_setup_panel(struct device *dev) struct northbridge_intel_haswell_config *conf = config_of(dev); u32 reg32; - printk(BIOS_DEBUG, "GT Power Management Init (post VBIOS)\n"); - /* Setup Digital Port Hotplug */ reg32 = gtt_read(PCH_PORT_HOTPLUG); if (!reg32) { @@ -493,7 +491,8 @@ static void gma_func0_init(struct device *dev) pci_dev_init(dev); } - /* Post panel init */ + printk(BIOS_DEBUG, "GT Power Management Init (post VBIOS)\n"); + gma_pm_init_post_vbios(dev); gma_enable_swsci(); -- cgit v1.2.3