From 3d9b5a29317b9df63698abbcf743ff4d15b2892a Mon Sep 17 00:00:00 2001 From: "Ronald G. Minnich" Date: Tue, 16 Jul 2013 17:56:20 -0700 Subject: [PATCH] Slippy: remove unneeded code in i915io.c This code is left over from what the VBIOS did; It is redundant. Change-Id: I321c867c81ec8b4d5e10f8b51b872cecb3082d97 Signed-off-by: Ronald G. Minnich Reviewed-on: https://gerrit.chromium.org/gerrit/62290 Reviewed-by: Ronald G. Minnich Commit-Queue: Furquan Shaikh Tested-by: Furquan Shaikh Reviewed-on: http://review.coreboot.org/4380 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi --- src/mainboard/google/slippy/i915io.c | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/src/mainboard/google/slippy/i915io.c b/src/mainboard/google/slippy/i915io.c index 21f5e6cabb..18e0480e13 100644 --- a/src/mainboard/google/slippy/i915io.c +++ b/src/mainboard/google/slippy/i915io.c @@ -40,28 +40,6 @@ void runio(struct intel_dp *dp) { intel_dp_wait_panel_power_control(0xabcd0008); - /* replace with function to write to i2c; in this case, we're still - * unsure of what these i2c sequences do - */ - - auxout = 0<<31 /* i2c */|1<<30|0x0<<28/*W*/|0x50<<8|0x0|0x40005000; - unpack_aux(auxout, &msg[0], 4); - auxout = 0x00000000; - unpack_aux(auxout, &msg[4], 4); - intel_dp_aux_ch(dp, msg, 5, auxin, 0); - - auxout = 0<<31 /* i2c */|0<<30|0x1<<28/*R*/|0x50<<8|0x3|0x10005003; - unpack_aux(auxout, &msg[0], 4); - intel_dp_aux_ch(dp, msg, 4, auxin, 3); - intel_dp_wait_panel_power_control(0xabcd0008); - auxout = 0<<31 /* i2c */|1<<30|0x0<<28/*W*/|0x50<<8|0x0|0x40005000; - unpack_aux(auxout, &msg[0], 4); - auxout = 0x04000000; - unpack_aux(auxout, &msg[4], 4); - intel_dp_aux_ch(dp, msg, 5, auxin, 0); - auxout = 0<<31 /* i2c */|0<<30|0x1<<28/*R*/|0x50<<8|0x3|0x10005003; - unpack_aux(auxout, &msg[0], 4); - /* vbios spins at this point. Some haswell weirdness? */ intel_dp_wait_panel_power_control(0xabcd0008);