rockchip: Drop call to rockchip_dnl_mode_check() for now
authorSimon Glass <sjg@chromium.org>
Sat, 29 Dec 2018 13:16:41 +0000 (06:16 -0700)
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Fri, 1 Feb 2019 15:59:10 +0000 (16:59 +0100)
This function causes a 5-second delay and stops the display working on
minnie. This code should be in a driver and should only be enabled by
a device-tree property, so that it does not affect devices which do not
have this feature.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
arch/arm/mach-rockchip/boot_mode.c

index f32b3c4..d7997d7 100644 (file)
@@ -61,7 +61,13 @@ int setup_boot_mode(void)
        void *reg = (void *)CONFIG_ROCKCHIP_BOOT_MODE_REG;
        int boot_mode = readl(reg);
 
-       rockchip_dnl_mode_check();
+       /*
+        * This should be handled using a driver-tree property and a suitable
+        * driver which can read the appropriate settings. As it is, this
+        * breaks chromebook_minnie.\
+        *
+        * rockchip_dnl_mode_check();
+        */
 
        boot_mode = readl(reg);
        debug("%s: boot mode 0x%08x\n", __func__, boot_mode);