diff options
author | Lucas Stach <dev@lynxeye.de> | 2012-09-25 09:59:12 +0000 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2012-10-15 11:54:06 -0700 |
commit | 3f44e44f33899821c4703c3bd5f9c117bb328e8b (patch) | |
tree | 63938f1a9c0e10ca551376593209fdbc3d29a00a | |
parent | 01ca2865268b1e01ff3e0541e7ac0cc11717963c (diff) | |
download | u-boot-imx-3f44e44f33899821c4703c3bd5f9c117bb328e8b.zip u-boot-imx-3f44e44f33899821c4703c3bd5f9c117bb328e8b.tar.gz u-boot-imx-3f44e44f33899821c4703c3bd5f9c117bb328e8b.tar.bz2 |
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 <dev@lynxeye.de>
Acked-by: Stephen Warren <swarren@wwwdotorg.org>
Acked-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Tom Warren <twarren@nvidia.com>
-rw-r--r-- | arch/arm/cpu/tegra20-common/clock.c | 1 | ||||
-rw-r--r-- | arch/arm/include/asm/arch-tegra20/clock-tables.h | 6 |
2 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/cpu/tegra20-common/clock.c b/arch/arm/cpu/tegra20-common/clock.c index bca777e..a670b07 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 089b3e7..f2b2769 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, |