tegra: Add missing tegra124 peripherals
authorSimon Glass <sjg@chromium.org>
Fri, 5 Jun 2015 20:39:39 +0000 (14:39 -0600)
committerTom Warren <twarren@nvidia.com>
Tue, 9 Jun 2015 16:56:14 +0000 (09:56 -0700)
There are some missing entries in the tables. Add them.

Signed-off-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Tom Warren <twarren@nvidia.com>
arch/arm/include/asm/arch-tegra124/clock-tables.h
arch/arm/mach-tegra/tegra124/clock.c

index 7005855999579819f4df14415521b6be62e4395d..3c67e72afe89ddb82ec8ebb78e150f1141a98b0e 100644 (file)
@@ -285,12 +285,12 @@ enum periph_id {
        /* 184 */
        PERIPH_ID_GPU,
        PERIPH_ID_AMX1,
-       PERIPH_ID_X_RESERVED26,
-       PERIPH_ID_X_RESERVED27,
-       PERIPH_ID_X_RESERVED28,
-       PERIPH_ID_X_RESERVED29,
-       PERIPH_ID_X_RESERVED30,
-       PERIPH_ID_X_RESERVED31,
+       PERIPH_ID_AFC5,
+       PERIPH_ID_AFC4,
+       PERIPH_ID_AFC3,
+       PERIPH_ID_AFC2,
+       PERIPH_ID_AFC1,
+       PERIPH_ID_AFC0,
 
        PERIPH_ID_COUNT,
        PERIPH_ID_NONE = -1,
index 2d17550f733688c33dd752988670b4794f3d3b90..b9558484b0709ed6098af8f504737d79f8bc6dfa 100644 (file)
@@ -475,7 +475,7 @@ static s8 periph_id_to_internal_id[PERIPH_ID_COUNT] = {
        PERIPHC_ACTMON,
 
        /* 120 */
-       NONE(EXTPERIPH1),
+       PERIPHC_EXTPERIPH1,
        NONE(EXTPERIPH2),
        NONE(EXTPERIPH3),
        NONE(OOB),