From: Lucas Stach Date: Tue, 25 Sep 2012 09:59:12 +0000 (+0000) Subject: tegra20: complete periph_id enum X-Git-Tag: v2013.01-rc1~230 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=3f44e44f33899821c4703c3bd5f9c117bb328e8b;p=u-boot tegra20: complete periph_id enum 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: Stephen Warren Acked-by: Simon Glass Signed-off-by: Tom Warren --- diff --git a/arch/arm/cpu/tegra20-common/clock.c b/arch/arm/cpu/tegra20-common/clock.c index bca777e830..a670b07465 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-tables.h b/arch/arm/include/asm/arch-tegra20/clock-tables.h index 089b3e7bfa..f2b276908b 100644 --- a/arch/arm/include/asm/arch-tegra20/clock-tables.h +++ b/arch/arm/include/asm/arch-tegra20/clock-tables.h @@ -165,6 +165,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,