]> code.ossystems Code Review - bsp/u-boot.git/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)
committerOtavio Salvador <otavio@ossystems.com.br>
Mon, 11 Sep 2017 19:53:26 +0000 (16:53 -0300)
commite4a4d913e9034171146fd55b5f6e09298fd42b49
treeff9b5cfd6c8850c32b23cdb56a0fabc0b9ef3d3b
parent57ea8c60e408e7ed0a64861a17a8c16c9c828290
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>
(cherry picked from commit c7430d7d5efc45666476dab0da97466cb8ccff8e)
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