From 74fade43ee6563505b29484ac5cf8c860a766650 Mon Sep 17 00:00:00 2001 From: "Ronald G. Minnich" Date: Tue, 1 Oct 2013 10:46:35 -0700 Subject: Peppy/Haswell: move more support functions from mainboard to the intel i915 driver Move (and rename to make it clearer) the function that computes display parameters from the dpcd and edid. Change-Id: Idfbb56fd312b23c742c52abca1a34ae117a8fece Signed-off-by: Ronald G. Minnich Reviewed-on: https://chromium-review.googlesource.com/171366 Reviewed-by: Furquan Shaikh Reviewed-by: Ronald Minnich Tested-by: Ronald Minnich Commit-Queue: Ronald Minnich (cherry picked from commit 8f2b3bafee7cb05db8fae1c52fc9e1ee64e5e35d) Signed-off-by: Isaac Christensen Reviewed-on: http://review.coreboot.org/6768 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich Reviewed-by: Edward O'Callaghan --- src/mainboard/google/slippy/gma.c | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'src/mainboard/google/slippy') diff --git a/src/mainboard/google/slippy/gma.c b/src/mainboard/google/slippy/gma.c index 1e199128b9..f3316f4a47 100644 --- a/src/mainboard/google/slippy/gma.c +++ b/src/mainboard/google/slippy/gma.c @@ -214,21 +214,6 @@ void dp_init_dim_regs(struct intel_dp *dp) printk(BIOS_SPEW, "dp->flags = 0x%08x\n", dp->flags); } -int intel_dp_bw_code_to_link_rate(u8 link_bw); - -int intel_dp_bw_code_to_link_rate(u8 link_bw) -{ - switch (link_bw) { - case DP_LINK_BW_1_62: - default: - return 162000; - case DP_LINK_BW_2_7: - return 270000; - case DP_LINK_BW_5_4: - return 540000; - } -} - void mainboard_train_link(struct intel_dp *intel_dp) { u8 read_val; -- cgit v1.2.3