Message ID | 20190228145937.27725-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 AA99315AC for <patchwork-linux-arm@patchwork.kernel.org>; Thu, 28 Feb 2019 15:01:02 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9AA2B2F29D for <patchwork-linux-arm@patchwork.kernel.org>; Thu, 28 Feb 2019 15:01:02 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 98BC82F2A3; Thu, 28 Feb 2019 15:01:02 +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 0B9892F290 for <patchwork-linux-arm@patchwork.kernel.org>; Thu, 28 Feb 2019 15:01:01 +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=BKp7VkM97ltmEy +YY+Xv5vaLx644qAXABjILalKnQVsJd11PsE3Sj5sYg1hv8Xra13owlDXR8KEdftRprqTQGkFJUVf Axs+PgZ/M2MqQOdAI34ZMEDr7q3uwMJeQdM+mFrFMuR3uS3hpNcaFNzbmczjKAkHzEr4zM9SDaL49 NH1AeXUjYO/FZBJtg/J4ICWRADRbPjfKDnkobxAW5bifw/oV/x6zBe7ZYGu2/mOXkgYI+fniaMNjl Xvumw3fep8zOV1Gf6pRZv0DIte3yG6Te/o4NCtFAW9ySGD8qCLj+xvUDciq0Nv4HO3OZTwBjBpsRg FGN5kyWM11CsU0lL/a0g==; 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 1gzNB9-000669-GK; Thu, 28 Feb 2019 15:00:55 +0000 Received: from mail-lj1-x243.google.com ([2a00:1450:4864:20::243]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gzNAG-0003km-19 for linux-arm-kernel@lists.infradead.org; Thu, 28 Feb 2019 15:00:03 +0000 Received: by mail-lj1-x243.google.com with SMTP id z25so17396390ljk.8 for <linux-arm-kernel@lists.infradead.org>; Thu, 28 Feb 2019 06:59:59 -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=vapq07DCzt/XuHKwUMYq39NLuiN6MIJrGJi/YQynoUcw2RkShWrcfeAH08TgDTUdy4 3qfAi2WYlkz37e43TF9y2cKPLqXr0ZH8ONph1/UKESM/2tATvG83qWQjqzI6M7P+nWsF mirnsXgAKUIMcHZit0WBLCNtJYjNhIiIi11UcPrR8+2TzSV56/NXs0rxrKULZB5M4HBH 5gliRwjr6tZZDYMmoaHLN3YM+k0qULpcTiLtLGZKYLFPqZhtnHfzTfUd/oj4ibZBRj6b omcB2YF/nOw1iAWzNT+v36u4Q9z0c/iUzYPzoJCIUqCswvyTPPP5BIpUeLS59M8pRqSu gSZw== 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=bwMLzegEu/exU5PRjvzLnhzjj7RBQbKSDV2CttaeP1Hjmm2JWh5isj7pyqhActc6x8 00ZTe6/Pse/E5m1WdbVqku9ZcssYGA6f4Qj36OstVKDz18RELDWZb4GpPwRup22Dsz6L ZN2P6zD9y8xN3Sk3Fo1QOn1qadIC02Py4mmEBVgPOu+7EuHN2JQTm8fRy7paKo8gm4gU +R31WGgvzkyfXMf/c5/ttxVC1KCILtclECVT6sG8uFdXp/GbHbQ4g2osyjWgXvmbwqxY 5/3puewT2HZr6sHJFgygqPQ+zFwmWar3Xrx/qsGWLRhRpN7ynkzWrLbofG4UanXPboey uZAQ== X-Gm-Message-State: APjAAAX2iXhNtMugDb0sc+paMtNEohP7fgpNRT/Swziqv6oWKzrfuNAG 4+CrXUWiT9bIRlIlqBREXDZiTW8m X-Google-Smtp-Source: AHgI3IZLAKxr1KJdATd/RrvVn8C3pqGkGnWFrI6WL0uzTwBqgj/kQsez/SDFR+Oy/LH1AQ54yIebtQ== X-Received: by 2002:a2e:9105:: with SMTP id m5mr5140864ljg.100.1551365998139; Thu, 28 Feb 2019 06:59:58 -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 z20sm4728309lff.87.2019.02.28.06.59.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 28 Feb 2019 06:59:57 -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 v8 4/7] ARM: tegra: Set up L2 cache using Trusted Foundations firmware Date: Thu, 28 Feb 2019 17:59:34 +0300 Message-Id: <20190228145937.27725-5-digetx@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190228145937.27725-1-digetx@gmail.com> References: <20190228145937.27725-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_070000_347294_1B7FFD68 X-CRM114-Status: GOOD ( 13.55 ) 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)