[U-Boot] [PATCH 2/5] arm: tegra20: video: ifdef gate hard-coded ugly Tegra20 pin muxing

Stephen Warren swarren at wwwdotorg.org
Thu Aug 20 22:05:13 CEST 2015


On 08/20/2015 05:29 AM, Marcel Ziswiler wrote:
> As a preparatory step make sure the display driver is buildable for
> Tegra30 as well by ifdef gating any hard-coded ugly Tegra20 pin muxing
> stuff.

> diff --git a/drivers/video/tegra.c b/drivers/video/tegra.c

> @@ -215,8 +215,10 @@ static int handle_stage(const void *blob)
>   		break;
>   	case STAGE_PWM:
>   		/* Enable PWM at 15/16 high, 32768 Hz with divider 1 */
> +#ifdef CONFIG_MACH_T20

That option doesn't seem to exist, except in 
arch/arm/include/asm/mach-types.h where I think it's the name of an 
unrelated board. Do you mean CONFIG_TEGRA20, as defined by 
arch/arm/mach-tegra/tegra20/Kconfig?


More information about the U-Boot mailing list