summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2020-10-23 14:56:19 +0200
committerAngel Pons <th3fanbus@gmail.com>2020-10-24 21:44:05 +0000
commitdb3047c57b9690fc00f7f12e9bf3ac6d5f8e844b (patch)
tree4699c9220978840ce034bc7486bf1de0363912eb
parente153a35029ac6ee5874a9cef45594410aa6e61b8 (diff)
nb/intel/haswell/gma.c: Move log message to the right place
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 <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/46690 Reviewed-by: Michael Niewöhner <foss@mniewoehner.de> Reviewed-by: Patrick Rudolph <siro@das-labor.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r--src/northbridge/intel/haswell/gma.c5
1 files 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();