From patchwork Tue Aug 21 14:32:01 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lokesh Vutla X-Patchwork-Id: 960450 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=quarantine dis=none) header.from=ti.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=ti.com header.i=@ti.com header.b="u5+k/ptB"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 41vtnF64jYz9s5b for ; Wed, 22 Aug 2018 00:47:29 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id 7BF7DC21E1B; Tue, 21 Aug 2018 14:46:13 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id E4FA3C21EF2; Tue, 21 Aug 2018 14:38:05 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 23453C21EFF; Tue, 21 Aug 2018 14:34:21 +0000 (UTC) Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) by lists.denx.de (Postfix) with ESMTPS id 0263CC21E7E for ; Tue, 21 Aug 2018 14:34:15 +0000 (UTC) Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id w7LEYEno116157; Tue, 21 Aug 2018 09:34:14 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1534862054; bh=ETkZkp6anfSmnYY0o+bVqCZ89rJDK9NYmIAMCvbt5zA=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=u5+k/ptBguCZezIkc+0at5wRpFKCoXPwFlNv3dHVncIpxagDKZlV4mEP42bGRnSgX HCYazIuKBskB1MM6F/uX0Xle+Q8fLViiZXSFwf8l1oqHbuIEBsHoW0/0DV8mqSAAgc rFULvmIl2juytSaNaI4wAkLLp7IPfh4f3jvUXcI4= Received: from DFLE100.ent.ti.com (dfle100.ent.ti.com [10.64.6.21]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id w7LEYESa019884; Tue, 21 Aug 2018 09:34:14 -0500 Received: from DFLE102.ent.ti.com (10.64.6.23) by DFLE100.ent.ti.com (10.64.6.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Tue, 21 Aug 2018 09:34:14 -0500 Received: from dflp33.itg.ti.com (10.64.6.16) by DFLE102.ent.ti.com (10.64.6.23) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1466.3 via Frontend Transport; Tue, 21 Aug 2018 09:34:14 -0500 Received: from uda0131933.india.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp33.itg.ti.com (8.14.3/8.13.8) with ESMTP id w7LEXKhi016556; Tue, 21 Aug 2018 09:34:12 -0500 From: Lokesh Vutla To: Tom Rini , Date: Tue, 21 Aug 2018 20:02:01 +0530 Message-ID: <20180821143203.29142-24-lokeshvutla@ti.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180821143203.29142-1-lokeshvutla@ti.com> References: <20180821143203.29142-1-lokeshvutla@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Cc: Tero Kristo Subject: [U-Boot] [PATCH 23/25] spl: Allow remoteproc drivers to be used within SPL X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" Add an option for building remoteproc drivers within SPL. Signed-off-by: Lokesh Vutla Reviewed-by: Tom Rini --- common/spl/Kconfig | 6 ++++++ drivers/Makefile | 2 +- drivers/remoteproc/Makefile | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/common/spl/Kconfig b/common/spl/Kconfig index 67275eb39d..ba6be4dc40 100644 --- a/common/spl/Kconfig +++ b/common/spl/Kconfig @@ -642,6 +642,12 @@ config SPL_RAM_DEVICE be already in memory when SPL takes over, e.g. loaded by the boot ROM. +config SPL_REMOTEPROC + bool "Support REMOTEPROCS" + help + Enable support for REMOTEPROCs in SPL. This permits to load + a remote processor firmware in SPL. + config SPL_RTC_SUPPORT bool "Support RTC drivers" help diff --git a/drivers/Makefile b/drivers/Makefile index c0124765db..23ea609b09 100644 --- a/drivers/Makefile +++ b/drivers/Makefile @@ -15,6 +15,7 @@ obj-$(CONFIG_$(SPL_TPL_)SPI_FLASH_SUPPORT) += mtd/spi/ obj-$(CONFIG_$(SPL_TPL_)SPI_SUPPORT) += spi/ obj-$(CONFIG_$(SPL_TPL_)TIMER) += timer/ obj-$(CONFIG_$(SPL_)DM_MAILBOX) += mailbox/ +obj-$(CONFIG_$(SPL_)REMOTEPROC) += remoteproc/ ifndef CONFIG_TPL_BUILD ifdef CONFIG_SPL_BUILD @@ -102,7 +103,6 @@ obj-y += input/ # SOC specific infrastructure drivers. obj-y += smem/ obj-y += soc/ -obj-$(CONFIG_REMOTEPROC) += remoteproc/ obj-y += thermal/ obj-y += axi/ diff --git a/drivers/remoteproc/Makefile b/drivers/remoteproc/Makefile index 87ef9e61a7..77eb708523 100644 --- a/drivers/remoteproc/Makefile +++ b/drivers/remoteproc/Makefile @@ -4,7 +4,7 @@ # Texas Instruments Incorporated - http://www.ti.com/ # -obj-$(CONFIG_REMOTEPROC) += rproc-uclass.o +obj-$(CONFIG_$(SPL_)REMOTEPROC) += rproc-uclass.o # Remote proc drivers - Please keep this list alphabetically sorted. obj-$(CONFIG_K3_SYSTEM_CONTROLLER) += k3_system_controller.o