[PATCH] fixup! tegra: add Tegra3 to relevant lowlevel functions

Sascha Hauer s.hauer at pengutronix.de
Thu Feb 27 04:42:27 EST 2014


On Thu, Feb 27, 2014 at 09:49:46AM +0100, Lucas Stach wrote:
> Signed-off-by: Lucas Stach <dev at lynxeye.de>
> ---
> This got messed up while applying. You may want to
> squash this in while the original patch still sits
> in -next.

Just did that.

Sascha

> ---
>  arch/arm/mach-tegra/include/mach/lowlevel.h | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/arch/arm/mach-tegra/include/mach/lowlevel.h b/arch/arm/mach-tegra/include/mach/lowlevel.h
> index 11d930b..cc346a0 100644
> --- a/arch/arm/mach-tegra/include/mach/lowlevel.h
> +++ b/arch/arm/mach-tegra/include/mach/lowlevel.h
> @@ -78,6 +78,8 @@ enum tegra_chiptype tegra_get_chiptype(void)
>  	switch ((hidrev & HIDREV_CHIPID_MASK) >> HIDREV_CHIPID_SHIFT) {
>  	case 0x20:
>  		return TEGRA20;
> +	case 0x30:
> +		return TEGRA30;
>  	default:
>  		return TEGRA_UNK_REV;
>  	}
> @@ -89,8 +91,6 @@ int tegra_get_num_cores(void)
>  	switch (tegra_get_chiptype()) {
>  	case TEGRA20:
>  		return 2;
> -	case 0x30:
> -		return TEGRA30;
>  	case TEGRA30:
>  		return 4;
>  	default:
> -- 
> 1.8.5.3
> 
> 
> _______________________________________________
> barebox mailing list
> barebox at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list