summaryrefslogtreecommitdiff
path: root/arch/arm/mach-rockchip
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2018-12-29 06:16:41 -0700
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>2019-02-01 16:59:10 +0100
commit0d968ceb1ff63b0d220a571f438f0d5fe6350e88 (patch)
tree98e434739df3d5c00b71c5006fdf3e99c129b3a3 /arch/arm/mach-rockchip
parent2d0c01b8f0adbaf7437ef0f4fcd01763190f40e7 (diff)
rockchip: Drop call to rockchip_dnl_mode_check() for now
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>
Diffstat (limited to 'arch/arm/mach-rockchip')
-rw-r--r--arch/arm/mach-rockchip/boot_mode.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/arch/arm/mach-rockchip/boot_mode.c b/arch/arm/mach-rockchip/boot_mode.c
index f32b3c4ce5..d7997d71e3 100644
--- a/arch/arm/mach-rockchip/boot_mode.c
+++ b/arch/arm/mach-rockchip/boot_mode.c
@@ -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);