From patchwork Sun Sep 25 18:05:32 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Schwierzeck X-Patchwork-Id: 674648 X-Patchwork-Delegate: daniel.schwierzeck@googlemail.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 3shw6p41V3z9s65 for ; Mon, 26 Sep 2016 04:07:30 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=lqtnhmhH; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 9D94EA7661; Sun, 25 Sep 2016 20:06:52 +0200 (CEST) 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 vsUXpbZ5K3xr; Sun, 25 Sep 2016 20:06:52 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 2879DA7708; Sun, 25 Sep 2016 20:06:42 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 43280A768D for ; Sun, 25 Sep 2016 20:06:20 +0200 (CEST) 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 A9o9uz4MDlKS for ; Sun, 25 Sep 2016 20:06:20 +0200 (CEST) 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 mail-wm0-f67.google.com (mail-wm0-f67.google.com [74.125.82.67]) by theia.denx.de (Postfix) with ESMTPS id 9409EA7550 for ; Sun, 25 Sep 2016 20:06:05 +0200 (CEST) Received: by mail-wm0-f67.google.com with SMTP id b184so10800747wma.3 for ; Sun, 25 Sep 2016 11:06:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=zLdSFd1wl7WIlt340CRd284KH1jbdc82d+rG4XOv2Qs=; b=lqtnhmhHdi2SPW2ISqAHYKsorOVlGClzaOMTKwurnpvP5WyLSCPE67uJciGpB0lT0C 7TXcrv4Q6NmHPNZJWg2E+Hl642Y+GjOmbAmiHOHqKuD/V3qr+TA162F55r41dxTHluHD LlIfMO1ODRxm1JTdBdJ27EhYtXR8IkOTgNimF5tG998EUnjXDxGREYrHIuJC/EMtoOsO /zVdf0yoceebxscJgvXsOckinfNrP5d03MdBhjG6jsWvaHINS7dVtWuK5s1f+nYiu1OE XzpRMWhZhRb6VN2BwwLqq75dh0ENAwxF2s1V7POGdFkz/uTYzdZtCKtEtZubkLE9/uUC bbsw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=zLdSFd1wl7WIlt340CRd284KH1jbdc82d+rG4XOv2Qs=; b=aVKITBXuTMXMGuayfTpnhUJG1O07WVTYWNE048eXjFWc+TL0XerNBCfephFjaW85zJ ph7GlIflPm89lZaV/Q2eTazYBUApHV9dh60UkvvHzD9LmqxE1A8umVAA4HPVRrLC5w2Q 01InwWAJY2Km5oQEkYI+cfr2/bIwLd9Ft//EDUr/UHwW52HU7tMX8Ee7SRXTvXsp0PL5 u4T3/DWGSY4DcmAKp1N4LUHARkywnZTzUuLS/sJgOtWv1aQat9RAGUJOXYbaW/N2UHKF j3d/65pXlSOHB9GB5c0SzyU4X0r2CezD826ceqT/sV8roEPvRtWdmR/DD4V0cw+hsNCU H6wQ== X-Gm-Message-State: AA6/9RlkBuDlsxLv+x5pyb8QgIxMiEytQx759R1wDzJSd2KfQX5U5Qck+XcrEM1c68NEGw== X-Received: by 10.28.139.145 with SMTP id n139mr11715895wmd.125.1474826764958; Sun, 25 Sep 2016 11:06:04 -0700 (PDT) Received: from workstation.zombienet.local (p2003005F2C23240162A44CFFFE5E9229.dip0.t-ipconnect.de. [2003:5f:2c23:2401:62a4:4cff:fe5e:9229]) by smtp.gmail.com with ESMTPSA id p13sm7042758wmd.1.2016.09.25.11.06.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 25 Sep 2016 11:06:04 -0700 (PDT) From: Daniel Schwierzeck To: u-boot@lists.denx.de Date: Sun, 25 Sep 2016 20:05:32 +0200 Message-Id: <20160925180532.19800-10-daniel.schwierzeck@gmail.com> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20160925180532.19800-1-daniel.schwierzeck@gmail.com> References: <20160925180532.19800-1-daniel.schwierzeck@gmail.com> Cc: Marek Vasut , Purna Chandra Mandal , Wills Wang Subject: [U-Boot] [PATCH 9/9] common/board_f: enable initr_trap for MIPS 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" Enable initr_trap hook also for MIPS to install and enable U-Boot's specific MIPS exception handlers. Signed-off-by: Daniel Schwierzeck Reviewed-by: Simon Glass --- common/board_r.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/board_r.c b/common/board_r.c index d959ad3..5496f45 100644 --- a/common/board_r.c +++ b/common/board_r.c @@ -191,7 +191,7 @@ static int initr_serial(void) return 0; } -#if defined(CONFIG_PPC) || defined(CONFIG_M68K) +#if defined(CONFIG_PPC) || defined(CONFIG_M68K) || defined(CONFIG_MIPS) static int initr_trap(void) { /* @@ -807,7 +807,7 @@ init_fnc_t init_sequence_r[] = { #ifdef CONFIG_NEEDS_MANUAL_RELOC initr_manual_reloc_cmdtable, #endif -#if defined(CONFIG_PPC) || defined(CONFIG_M68K) +#if defined(CONFIG_PPC) || defined(CONFIG_M68K) || defined(CONFIG_MIPS) initr_trap, #endif #ifdef CONFIG_ADDR_MAP