summaryrefslogtreecommitdiff
path: root/src/mainboard/roda/rk886ex/mainboard.c
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2016-10-07 18:22:44 +0200
committerMartin Roth <martinroth@google.com>2016-11-09 23:09:32 +0100
commitec16e9302bfc362e57e3c5d746dfcaf716537d84 (patch)
treeaea6d890812e71769a76f3f52f7a527ccbf3b707 /src/mainboard/roda/rk886ex/mainboard.c
parent5db945062c3dc083383f1ed1d1c711ae63ad338f (diff)
downloadcoreboot-ec16e9302bfc362e57e3c5d746dfcaf716537d84.tar.xz
mainboard/roda: Use C89 comments style & remove commented code
Change-Id: I4ce2705a8a07d0388bbdb459b63b59fc10a3aa39 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/16929 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/mainboard/roda/rk886ex/mainboard.c')
-rw-r--r--src/mainboard/roda/rk886ex/mainboard.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/mainboard/roda/rk886ex/mainboard.c b/src/mainboard/roda/rk886ex/mainboard.c
index 1959c3251c..c9712db247 100644
--- a/src/mainboard/roda/rk886ex/mainboard.c
+++ b/src/mainboard/roda/rk886ex/mainboard.c
@@ -28,18 +28,6 @@
static void backlight_enable(void)
{
-#if 0
-// Disabled, don't let the X9511 burn out
- int i;
-
- /* P56 is Brightness Up, and it needs a Pulse instead of a
- * Level
- */
- for (i = 0; i < 28; i++) {
- //m3885_gpio(M3885_GPIO_PULSE|M3885_GPIO_SET|M3885_GPIO_P56);
- m3885_gpio(M3885_GPIO_PULSE|M3885_GPIO_TOGGLE|M3885_GPIO_P56);
- }
-#endif
printk(BIOS_DEBUG, "Display I/O: 0x%02x\n", inb(0x60f));
}
@@ -68,7 +56,6 @@ static void mainboard_final(device_t dev)
static void mainboard_enable(device_t dev)
{
/* Configure the MultiKey controller */
- // m3885_configure_multikey();
/* Enable LCD Backlight */
backlight_enable();
@@ -77,7 +64,6 @@ static void mainboard_enable(device_t dev)
outb(inb(0x60f) | (1 << 5), 0x60f);
/* LCD panel type is SIO GPIO40-43 */
- // display_id = inb(0x60f) & 0x0f;
install_intel_vga_int15_handler(GMA_INT15_ACTIVE_LFP_INT_LVDS, GMA_INT15_PANEL_FIT_DEFAULT, GMA_INT15_BOOT_DISPLAY_DEFAULT, 3);
#if DUMP_RUNTIME_REGISTERS