From patchwork Thu Apr 20 07:54:42 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 97724 Delivered-To: patch@linaro.org Received: by 10.140.109.52 with SMTP id k49csp671894qgf; Thu, 20 Apr 2017 00:57:22 -0700 (PDT) X-Received: by 10.223.139.22 with SMTP id n22mr6167425wra.38.1492675042454; Thu, 20 Apr 2017 00:57:22 -0700 (PDT) Return-Path: Received: from lists.denx.de (dione.denx.de. [81.169.180.215]) by mx.google.com with ESMTP id c15si7850393wrb.156.2017.04.20.00.57.22; Thu, 20 Apr 2017 00:57:22 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) client-ip=81.169.180.215; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@nifty.com; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by lists.denx.de (Postfix, from userid 105) id 06505C21DBD; Thu, 20 Apr 2017 07:56:19 +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 82DF9C21DAD; Thu, 20 Apr 2017 07:55:06 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id CFADAC21C50; Thu, 20 Apr 2017 07:55:02 +0000 (UTC) Received: from conuserg-08.nifty.com (conuserg-08.nifty.com [210.131.2.75]) by lists.denx.de (Postfix) with ESMTPS id 9F656C21CA2 for ; Thu, 20 Apr 2017 07:55:01 +0000 (UTC) Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-08.nifty.com with ESMTP id v3K7sktG008495; Thu, 20 Apr 2017 16:54:47 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-08.nifty.com v3K7sktG008495 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1492674887; bh=RkOld7A8cSshnl7UfCFSOexv73ZibV6JOk18VRBfMEo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=gPu9gsHEkk1/IHvebpf7+ops7F4fHv7EUKrw+gY7cSCPCJ4db1CnuEADJucQ94w+v pxrligLOUBg2FZg1EMSQr990fcb7rgVfVGy2IljWDTE9DUW/9BlJ0xWFyvcsjmtdKR 8/dfqGZnQvFo2wmNDXx6AAWLoWU0yHrsJVG84mIzDdWUwuVoNcuUnlDyUpWmjYLIOK zzmCneELxiuMmZbU3paN3vD/f1D0GYoIdLfhpnf+5W7Y6VcU4JG9zSvi8NQkJm6ZZy BWemc8lRbtigFJLpRk5oFqE64HOOfyx9up/Vhk164JaN0cSgIAO4ocd7vFq+abM56v Od1kc6H1k0OIg== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: u-boot@lists.denx.de Date: Thu, 20 Apr 2017 16:54:42 +0900 Message-Id: <1492674884-24795-2-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1492674884-24795-1-git-send-email-yamada.masahiro@socionext.com> References: <1492674884-24795-1-git-send-email-yamada.masahiro@socionext.com> Subject: [U-Boot] [PATCH 1/3] ARM: uniphier: enable PSCI sysreset for uniphier_v8_defconfig 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: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" This configuration is supposed to be used with ARM Trusted Firmware, so the SYSTEM_RESET is implemented in BL31. Invoke PSCI instead of U-Boot's own reset code because we need to coordinate with SCP (System Control Processor) for the system-level power management. Signed-off-by: Masahiro Yamada --- arch/arm/mach-uniphier/Makefile | 2 ++ configs/uniphier_v8_defconfig | 3 +++ 2 files changed, 5 insertions(+) diff --git a/arch/arm/mach-uniphier/Makefile b/arch/arm/mach-uniphier/Makefile index 124a1c6..7a0b25a 100644 --- a/arch/arm/mach-uniphier/Makefile +++ b/arch/arm/mach-uniphier/Makefile @@ -16,7 +16,9 @@ obj-$(CONFIG_DISPLAY_CPUINFO) += cpu-info.o obj-y += dram_init.o obj-y += board_init.o obj-$(CONFIG_BOARD_LATE_INIT) += board_late_init.o +ifndef CONFIG_SYSRESET obj-y += reset.o +endif obj-$(CONFIG_MICRO_SUPPORT_CARD) += sbc/ micro-support-card.o obj-y += pinctrl-glue.o diff --git a/configs/uniphier_v8_defconfig b/configs/uniphier_v8_defconfig index c743fab..73bdaa8 100644 --- a/configs/uniphier_v8_defconfig +++ b/configs/uniphier_v8_defconfig @@ -1,4 +1,5 @@ CONFIG_ARM=y +CONFIG_ARM_SMCCC=y CONFIG_ARCH_UNIPHIER=y CONFIG_SYS_TEXT_BASE=0x84000000 CONFIG_SYS_MALLOC_F_LEN=0x2000 @@ -29,6 +30,8 @@ CONFIG_I2C_EEPROM=y CONFIG_MMC_UNIPHIER=y CONFIG_MMC_SDHCI=y CONFIG_MMC_SDHCI_CADENCE=y +CONFIG_SYSRESET=y +CONFIG_SYSRESET_PSCI=y CONFIG_USB=y CONFIG_USB_XHCI_HCD=y CONFIG_USB_XHCI_DWC3=y