]> git.sur5r.net Git - u-boot/commit
ipu_common: Let the MX6 IPU clock be calculated in run-time
authorFabio Estevam <fabio.estevam@nxp.com>
Wed, 6 Sep 2017 16:49:31 +0000 (13:49 -0300)
committerAnatolij Gustschin <agust@denx.de>
Mon, 11 Sep 2017 10:46:51 +0000 (12:46 +0200)
commitc7430d7d5efc45666476dab0da97466cb8ccff8e
tree98e093b1fd5208be2690cd483684b9f20e0c8840
parent584f316f115df52fd09a6cf699b29dcf824b4da5
ipu_common: Let the MX6 IPU clock be calculated in run-time

MX6Q/QP IPU operates at 264MHz and MX6DL IPU at 198MHz.

When running a SPL target, which supports multiple MX6 variants we cannot
properly setup the IPU clock frequency via CONFIG_IPUV3_CLK option as
such decision is done in build-time currently.

Remove the CONFIG_IPUV3_CLK option and let the IPU clock frequency be
configured in run-time on mx6.

Reported-by: Eric Nelson <eric@nelint.com>
Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Reviewed-by: Eric Nelson <eric@nelint.com>
Reviewed-by: Stefano Babic <sbabic@denx.de>
[agust: fixed #endif in cgtqmx6eval.h]
Signed-off-by: Anatolij Gustschin <agust@denx.de>
22 files changed:
drivers/video/ipu_common.c
include/configs/advantech_dms-ba16.h
include/configs/apalis_imx6.h
include/configs/aristainetos-common.h
include/configs/cgtqmx6eval.h
include/configs/cm_fx6.h
include/configs/colibri_imx6.h
include/configs/embestmx6boards.h
include/configs/ge_bx50v3.h
include/configs/gw_ventana.h
include/configs/imx6-engicam.h
include/configs/m53evk.h
include/configs/mx51evk.h
include/configs/mx53cx9020.h
include/configs/mx53loco.h
include/configs/mx6cuboxi.h
include/configs/mx6sabre_common.h
include/configs/nitrogen6x.h
include/configs/novena.h
include/configs/tbs2910.h
include/configs/wandboard.h
scripts/config_whitelist.txt