Message ID | 20190303171214.24821-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 5AF51139A for <patchwork-linux-arm@patchwork.kernel.org>; Sun, 3 Mar 2019 17:14:22 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 40B332848F for <patchwork-linux-arm@patchwork.kernel.org>; Sun, 3 Mar 2019 17:14:22 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 323EF2855D; Sun, 3 Mar 2019 17:14:22 +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 D6B362848F for <patchwork-linux-arm@patchwork.kernel.org>; Sun, 3 Mar 2019 17:14:21 +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=eATSyYXqaDYLPS 5wLjQodenq46vr8uhX4e9fDTVzbUcQKgyjJNyBE6zfUsrzK9e5DOBqcaJLTJvgMnz8/lSzrLUXbJn 7NtTK5Cww5c4DdHQA1k/FCMlXB657pqyku8gFU4sVD7500fH7F2gRLBTqTgoVBDgr2R1XoYy/Lw1p JLwEtITUBIjIpO4ui4MyVxO0N0RJ6GcIESX5MgvTacgmKxmsFpwzZ7ingTbQZ2DcDqXc4sZrK7E4n 08YNKrikOsBUazfCVw+6FjhiKXtFwX8c2R0ipChDgRyblNadWZEQQ40t1j2zB4tTQ4JjbpDV3WG9p bguBwxBeQMc72tpkuoaA==; 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 1h0Ugp-0001X8-Sn; Sun, 03 Mar 2019 17:14:15 +0000 Received: from mail-pl1-x641.google.com ([2607:f8b0:4864:20::641]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1h0UgR-00011N-T2 for linux-arm-kernel@lists.infradead.org; Sun, 03 Mar 2019 17:14:11 +0000 Received: by mail-pl1-x641.google.com with SMTP id k2so1358881plt.3 for <linux-arm-kernel@lists.infradead.org>; Sun, 03 Mar 2019 09:13:51 -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=MtD7TBbXLyW6fjethOzFExYZI8piXlJEpV2qEZKIYUw42knJE9ItuU5wuzL6Ign6Sq VF0KfgM79UEJNfn+oQ4S/e5QtgXk/5UwNLdW/6tdFh2BI+PQMgcNMeig8XaIQrm/FpCC a/BU+Owy9YzpICcSwliPiU9NYFSMpSU4pGmXeUXOUEYl0AUz9Ux1HLWsGAOPBAjQgp5v bW0+ZV9SWPUz/A4c0b7/2E6ejxVY3Pc2o/JGv8IzOPBygQVYiuRLD+S49/WekIttte0+ Wo/fj8OMKyf0bgVJ9Ju4oY0ykw4uaZyJ8jCusKEJ4bd9RC4Tmx0clVkqRfue9khM9bxa 3rZw== 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=NUdsQB6kxG4OWJpfPcJazYxcEKWt/dWBZmxlTs6fQ4fX7Pka2FymB15SjN3IqkT6HY zf0lAgfnGMKjHXjBAvPDeGkW5WzgZTfbSoykvbS8fOPx00K+2ImGO6zHPtfsol1JeLBX atXrhOLF0bpnVG6X2G+qPujxNXk1ck80riV12bXfVPBoxOdFoAqENcJVmB6D5Eo6Bvz3 dcN/mVlnExSPq5owoRy5w19f0A0524tddInAZcaDvDt34w2h9nbpPSu3HItT3H7OJ1Ns BxxjQO7TLCq2fIeehZIpE0xVju2sZgcWOI7AD1IncPDuAuDk9iM1FTc2T7KyP2jzhhJ1 IrFg== X-Gm-Message-State: APjAAAWdlPFc+U7QrjpbQBG+A5OV4917nYb/puM5bP/WycZmstgDj0Fo GcFcuD//WW2KJSijqWY6DCk= X-Google-Smtp-Source: APXvYqysRSIMaTkF2jEZg2EV10D31KYgs37WSSrRrIQwB1hI5QxwgHTB/mbyIiwICzZXKvuEzHTqkA== X-Received: by 2002:a17:902:33c1:: with SMTP id b59mr15885023plc.220.1551633231506; Sun, 03 Mar 2019 09:13:51 -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 e22sm5349412pfi.126.2019.03.03.09.13.45 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 03 Mar 2019 09:13:51 -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 v9 4/7] ARM: tegra: Set up L2 cache using Trusted Foundations firmware Date: Sun, 3 Mar 2019 20:12:11 +0300 Message-Id: <20190303171214.24821-5-digetx@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190303171214.24821-1-digetx@gmail.com> References: <20190303171214.24821-1-digetx@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190303_091352_439852_D90083AE X-CRM114-Status: GOOD ( 13.18 ) 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)