From patchwork Tue Feb 17 22:29:47 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 440737 X-Patchwork-Delegate: twarren@nvidia.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 792821401DD for ; Wed, 18 Feb 2015 09:31:58 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id E71914B6A9; Tue, 17 Feb 2015 23:31:28 +0100 (CET) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id naXTmYLoA_Z6; Tue, 17 Feb 2015 23:31:28 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 4A0274B748; Tue, 17 Feb 2015 23:31:04 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 095BE4B672 for ; Tue, 17 Feb 2015 23:30:15 +0100 (CET) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9zSZni5ETUSu for ; Tue, 17 Feb 2015 23:30:14 +0100 (CET) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from mail-ig0-f202.google.com (mail-ig0-f202.google.com [209.85.213.202]) by theia.denx.de (Postfix) with ESMTPS id 2935B4B676 for ; Tue, 17 Feb 2015 23:30:11 +0100 (CET) Received: by mail-ig0-f202.google.com with SMTP id a13so11703567igq.1 for ; Tue, 17 Feb 2015 14:30:10 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=O4JHDaJqL7sJJ2Kq3YL7f5DP0g6nuZNMkwBiddFchkg=; b=EedrgZX8ysZtyh6Uj98xHPvCktfre+eJJejEBWnbo73Qvw/W078AHw8Db18ssm5AuH En5mAPhr0hUBEO2OBntHeXXhIGdu6jWDRmJMe5/TwYLVjSd8DHOAru41U0DnUT256+2C PbepjPlZkcjHk3WGkVvH8Zeht3RzwEkUcWcOnRSkM/6NcxMhaSrcH2tspvg/WCRL73V0 Gz7IWCq4BN7U58HhHrfyU/c2vPubj1EK//VUBa5lUUqAJT6KtUVln0FZ/JPi9Bqk1Oxx WC+wUVG8jnMRck+TDzS/LdzKra9QRVK3VCmbxkVRkr4ZT4xlulksLbCsXyb33LnfaKCm 0mYg== X-Gm-Message-State: ALoCoQnSH/DuoTWzfA+QVtQngDcW/rpqK9YYZhdk3d9SWDo8kWv4fEEkH7UpDYrrH5Kj+HvMdWRk X-Received: by 10.42.209.12 with SMTP id ge12mr16985869icb.16.1424212210594; Tue, 17 Feb 2015 14:30:10 -0800 (PST) Received: from corpmail-nozzle1-2.hot.corp.google.com ([100.108.1.103]) by gmr-mx.google.com with ESMTPS id e5si1352017qcg.1.2015.02.17.14.30.10 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 17 Feb 2015 14:30:10 -0800 (PST) Received: from kaki.bld.corp.google.com ([172.29.216.32]) by corpmail-nozzle1-2.hot.corp.google.com with ESMTP id vhDzNjg2.1; Tue, 17 Feb 2015 14:30:10 -0800 Received: by kaki.bld.corp.google.com (Postfix, from userid 121222) id DCF07221925; Tue, 17 Feb 2015 15:30:09 -0700 (MST) From: Simon Glass To: U-Boot Mailing List Date: Tue, 17 Feb 2015 15:29:47 -0700 Message-Id: <1424212195-7501-14-git-send-email-sjg@chromium.org> X-Mailer: git-send-email 2.2.0.rc0.207.ga3a616c In-Reply-To: <1424212195-7501-1-git-send-email-sjg@chromium.org> References: <1424212195-7501-1-git-send-email-sjg@chromium.org> Cc: Stephen Warren , Tom Warren Subject: [U-Boot] [PATCH 13/20] tegra: Add missing tegra124 peripherals X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.15 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" There are some missing entries in the tables. Add them. Signed-off-by: Simon Glass --- arch/arm/cpu/tegra124-common/clock.c | 2 +- arch/arm/include/asm/arch-tegra124/clock-tables.h | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/arch/arm/cpu/tegra124-common/clock.c b/arch/arm/cpu/tegra124-common/clock.c index 2d17550..b955848 100644 --- a/arch/arm/cpu/tegra124-common/clock.c +++ b/arch/arm/cpu/tegra124-common/clock.c @@ -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), diff --git a/arch/arm/include/asm/arch-tegra124/clock-tables.h b/arch/arm/include/asm/arch-tegra124/clock-tables.h index 7005855..3c67e72 100644 --- a/arch/arm/include/asm/arch-tegra124/clock-tables.h +++ b/arch/arm/include/asm/arch-tegra124/clock-tables.h @@ -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,