From patchwork Tue Feb 7 13:25:05 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Phil Edworthy X-Patchwork-Id: 725108 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 3vHlT95LFhz9ryb for ; Wed, 8 Feb 2017 00:25:33 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 9270B4B01B; Tue, 7 Feb 2017 14:25:31 +0100 (CET) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id TXdvFO6Xnpuj; Tue, 7 Feb 2017 14:25:31 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id E7FE54ACF9; Tue, 7 Feb 2017 14:25:30 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id F33F34ACF9 for ; Tue, 7 Feb 2017 14:25:24 +0100 (CET) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id m9nxYP8dvbnj for ; Tue, 7 Feb 2017 14:25:24 +0100 (CET) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from relmlie2.idc.renesas.com (relmlor3.renesas.com [210.160.252.173]) by theia.denx.de (Postfix) with ESMTP id 2E5C74AC55 for ; Tue, 7 Feb 2017 14:25:20 +0100 (CET) Received: from unknown (HELO relmlir1.idc.renesas.com) ([10.200.68.151]) by relmlie2.idc.renesas.com with ESMTP; 07 Feb 2017 22:25:17 +0900 Received: from relmlac4.idc.renesas.com (relmlac4.idc.renesas.com [10.200.69.24]) by relmlir1.idc.renesas.com (Postfix) with ESMTP id 61BFA70184; Tue, 7 Feb 2017 22:25:17 +0900 (JST) Received: by relmlac4.idc.renesas.com (Postfix, from userid 0) id 58A6F48014; Tue, 7 Feb 2017 22:25:17 +0900 (JST) Received: from relmlac4.idc.renesas.com (localhost [127.0.0.1]) by relmlac4.idc.renesas.com (Postfix) with ESMTP id 4A8A7480A6; Tue, 7 Feb 2017 22:25:17 +0900 (JST) Received: from relmlii2.idc.renesas.com [10.200.68.66] by relmlac4.idc.renesas.com with ESMTP id YAF11536; Tue, 7 Feb 2017 22:25:17 +0900 X-IronPort-AV: E=Sophos;i="5.33,346,1477926000"; d="scan'208";a="233791490" Received: from unknown (HELO vbox.ree.adwin.renesas.com) ([172.29.43.47]) by relmlii2.idc.renesas.com with ESMTP; 07 Feb 2017 22:25:15 +0900 From: Phil Edworthy To: Albert Aribaud Date: Tue, 7 Feb 2017 13:25:05 +0000 Message-Id: <1486473905-23880-1-git-send-email-phil.edworthy@renesas.com> X-Mailer: git-send-email 2.7.4 Cc: u-boot@lists.denx.de, Kamil Lulko Subject: [U-Boot] [PATCH] armv7m: Make reset_cpu() weak X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.15 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" Some devices/boards have their own way to reset the cpu. Signed-off-by: Phil Edworthy --- arch/arm/cpu/armv7m/cpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/cpu/armv7m/cpu.c b/arch/arm/cpu/armv7m/cpu.c index 58cde93..c3e4734 100644 --- a/arch/arm/cpu/armv7m/cpu.c +++ b/arch/arm/cpu/armv7m/cpu.c @@ -24,7 +24,7 @@ int cleanup_before_linux(void) /* * Perform the low-level reset. */ -void reset_cpu(ulong addr) +__weak void reset_cpu(ulong addr) { /* * Perform reset but keep priority group unchanged.