Message ID | 20190228131707.2592-5-digetx@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 4F1D61390 for <patchwork-linux-arm@patchwork.kernel.org>; Thu, 28 Feb 2019 13:19:39 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3EC9B285B7 for <patchwork-linux-arm@patchwork.kernel.org>; Thu, 28 Feb 2019 13:19:39 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 32458297AD; Thu, 28 Feb 2019 13:19:39 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id D5A69285B7 for <patchwork-linux-arm@patchwork.kernel.org>; Thu, 28 Feb 2019 13:19:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=j03uu/r8o4qsWT2LZI1uqljkx7JfjwgH7YBvOdahonE=; b=EkhnDFsFQpzunm O4DrzvE0zpSa7bUMmKHykjm3vOq8nULgfYFE4d45IAgQQc6XdLpTMTCUPL7z2aIZpZUk+dXieZmmu 1Xp7Mp64eISx0xXc8QC2fLsGQwZ0JtiBowjdeHz3rfDx4t6UhoLFn8kSWN7IWvHDhOgdvyY2oLKI/ 3gzv7VrAYcZ8bwfWs0ensU8tTlv0eXmeR/N8p1KgwdR6PXOUwADiEA26BGUVz5W3HU3SmRKYSR/9N qI6N74d444SHU3X6kLV8otHEd/W+HPi8L8jPKw8/Q1iFLISLVeNR06hb1LoCqN6tI49HEqGmM9yy8 LOoFF7PJ9BNFXlsiVwWA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gzLb4-00058Z-Dh; Thu, 28 Feb 2019 13:19:34 +0000 Received: from mail-lj1-x241.google.com ([2a00:1450:4864:20::241]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gzLaK-0004D7-QU for linux-arm-kernel@lists.infradead.org; Thu, 28 Feb 2019 13:18:51 +0000 Received: by mail-lj1-x241.google.com with SMTP id z7so16903978lji.0 for <linux-arm-kernel@lists.infradead.org>; Thu, 28 Feb 2019 05:18:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=yq5wxwSzSOiQKae/Fl8cjis8j+TFJgO/dAYMPjapJ44=; b=ZQMLI6pkhz4FichQRovBsROZVE0o1rccfacXxVHAiwvz2vsqEAKw1odE9HOdp6P1A+ 77qbZvwH72y8VWPpNd/yOA/aBLZuC4pmoTnJr39Au3GxjAVzuwwvNFBwJUv3wvb9zsjW AeTSYeQzICtECPhVbeiOg2o48Ks+RwysQldHJ81ZojpuwGx6aOunQtTqBHz9p5kxjJ3h t6kM79dJpqiHDrNCzmrkfXENwCeru8ryZEdEBupUuTWHijV2fSbmwpOq9bomUCkNjWbA JxMhUXrRxqEFOVBrwKRCkSLaSkwej7U312zPVY+24A/Cf1lF9PPd0ryCsWF1/JVlwLQX L8XQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=yq5wxwSzSOiQKae/Fl8cjis8j+TFJgO/dAYMPjapJ44=; b=YmLAko7KerJH2sEaEYqFfrdIx/yEkXKeaCzoP18ETXZpgsMVYQ1w1F1+QkwIEq72Hk x+RDnC6PzHPfqwwGxHlvVl/+ZgQu7SBhH+vWjK3GZWUSozbEHG1UzpRJOmxOHKYHqQxB v7/Gum8z+LUmcJz7qEihX0uKkugc+umt3Ino4/Lq157UUBuO2S7PSb4sruUdMq4nmw9C oKXSMKMMREIJtzri4vNzrXjBVUra4birbJa6kzCEV/jovhv7/keebQe/0qMfcckuMHTf vyflb7GLAaRvLryj86S5rNReRP0SNAz/Ook3H1Hbgoob3OWVNP23Z7OKKyXVBDWnQ5zx Bb4g== X-Gm-Message-State: APjAAAWyDzBI9CFlc20MgTUB2smw+SRLcvK6jCjCS/pX/XWXL8jSM7vj RBQAqKxwjgpgt/GN1T48U+U= X-Google-Smtp-Source: APXvYqxhdeUnAcaKfxEk18cNm/P81OPskRfooEv3C22QWq4rZhSz64N/MELa1q5Y+lxpHlG4jedC7g== X-Received: by 2002:a2e:7d09:: with SMTP id y9mr211227ljc.11.1551359927305; Thu, 28 Feb 2019 05:18:47 -0800 (PST) Received: from localhost.localdomain (ppp91-79-175-49.pppoe.mtu-net.ru. [91.79.175.49]) by smtp.gmail.com with ESMTPSA id l26sm4600069lfc.37.2019.02.28.05.18.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 28 Feb 2019 05:18:46 -0800 (PST) From: Dmitry Osipenko <digetx@gmail.com> To: Russell King <linux@armlinux.org.uk>, Thierry Reding <thierry.reding@gmail.com>, Jonathan Hunter <jonathanh@nvidia.com>, Robert Yang <decatf@gmail.com>, =?utf-8?b?TWljaGHFgiBNaXJvc8WCYXc=?= <mirq-linux@rere.qmqm.pl> Subject: [PATCH v7 4/7] ARM: tegra: Set up L2 cache using Trusted Foundations firmware Date: Thu, 28 Feb 2019 16:17:04 +0300 Message-Id: <20190228131707.2592-5-digetx@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190228131707.2592-1-digetx@gmail.com> References: <20190228131707.2592-1-digetx@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190228_051848_988242_DF669283 X-CRM114-Status: GOOD ( 13.65 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
Support Trusted Foundations firmware on Tegra30
|
expand
|
diff --git a/arch/arm/mach-tegra/tegra.c b/arch/arm/mach-tegra/tegra.c index f9587be48235..1e89cfefbf68 100644 --- a/arch/arm/mach-tegra/tegra.c +++ b/arch/arm/mach-tegra/tegra.c @@ -38,6 +38,7 @@ #include <soc/tegra/fuse.h> #include <soc/tegra/pmc.h> +#include <asm/firmware.h> #include <asm/hardware/cache-l2x0.h> #include <asm/mach/arch.h> #include <asm/mach/time.h> @@ -74,6 +75,7 @@ static void __init tegra_init_early(void) { of_register_trusted_foundations(); tegra_cpu_reset_handler_init(); + call_firmware_op(l2x0_init); } static void __init tegra_dt_init_irq(void)