On Sun, Aug 19, 2012 at 9:08 AM, Lucas Stach <d...@lynxeye.de> 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 <d...@lynxeye.de>

Acked-by: Simon Glass <s...@chromium.org>

> ---
>  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

Reply via email to