rk3288: Disable JTAG function from sdmmc0 IO
authorCarlo Caione <carlo@endlessm.com>
Mon, 11 Jun 2018 19:00:49 +0000 (20:00 +0100)
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Fri, 20 Jul 2018 23:55:27 +0000 (01:55 +0200)
commit389167c3c4f77f3e67c1a5ef689a58a44837a2f0
treecd14adab6d1f28f41016de009646b13ac066b24d
parent0d4d5fd73cf9e4851e84df09972e928641136314
rk3288: Disable JTAG function from sdmmc0 IO

The GRF_SOC_CON0.grf_force_jtag bit is automatically set at boot and it
is preventing the SDMMC to work correctly. Disable the JTAG function on
the assumption that a working SD has higher priority over JTAG.

Signed-off-by: Carlo Caione <carlo@endlessm.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
arch/arm/mach-rockchip/rk3288-board.c