Re: [U-Boot] [PATCH 1/3] tegra20: complete periph_id enum

2012-08-21 Thread Simon Glass
On Sun, Aug 19, 2012 at 9:08 AM, Lucas Stach  wrote:
> Most Tegra boards output the ULPI reference clock on pad DEV2.
>
> Complete the periph_id enum so that we are able to enable this
> clock output circuit.
>
> Signed-off-by: Lucas Stach 

Acked-by: Simon Glass 

> ---
>  arch/arm/cpu/tegra20-common/clock.c   | 1 +
>  arch/arm/include/asm/arch-tegra20/clock.h | 6 ++
>  2 Dateien geändert, 7 Zeilen hinzugefügt(+)
>
> diff --git a/arch/arm/cpu/tegra20-common/clock.c 
> b/arch/arm/cpu/tegra20-common/clock.c
> index 2403874..d9bb851 100644
> --- a/arch/arm/cpu/tegra20-common/clock.c
> +++ b/arch/arm/cpu/tegra20-common/clock.c
> @@ -502,6 +502,7 @@ static int clock_periph_id_isvalid(enum periph_id id)
> case PERIPH_ID_RESERVED81:
> case PERIPH_ID_RESERVED82:
> case PERIPH_ID_RESERVED83:
> +   case PERIPH_ID_RESERVED91:
> printf("Peripheral id %d is reserved\n", id);
> break;
> default:
> diff --git a/arch/arm/include/asm/arch-tegra20/clock.h 
> b/arch/arm/include/asm/arch-tegra20/clock.h
> index ff83bbf..20db9e6 100644
> --- a/arch/arm/include/asm/arch-tegra20/clock.h
> +++ b/arch/arm/include/asm/arch-tegra20/clock.h
> @@ -175,6 +175,12 @@ enum periph_id {
>
> /* 88 */
> PERIPH_ID_CRAM2,
> +   PERIPH_ID_SYNC_CLK_DOUBLER,
> +   PERIPH_ID_CLK_M_DOUBLER,
> +   PERIPH_ID_RESERVED91,
> +   PERIPH_ID_SUS_OUT,
> +   PERIPH_ID_DEV2_OUT,
> +   PERIPH_ID_DEV1_OUT,
>
> PERIPH_ID_COUNT,
> PERIPH_ID_NONE = -1,
> --
> 1.7.11.2
>
> ___
> U-Boot mailing list
> U-Boot@lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] [PATCH 1/3] tegra20: complete periph_id enum

2012-08-20 Thread Stephen Warren
On 08/19/2012 10:08 AM, Lucas Stach wrote:
> Most Tegra boards output the ULPI reference clock on pad DEV2.
> 
> Complete the periph_id enum so that we are able to enable this
> clock output circuit.

Acked-by: Stephen Warren 


___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot