From patchwork Thu Nov 20 08:11:27 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bin Meng X-Patchwork-Id: 412581 X-Patchwork-Delegate: sjg@chromium.org 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 DF170140079 for ; Thu, 20 Nov 2014 19:11:46 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 807154B65F; Thu, 20 Nov 2014 09:11:42 +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 Gw+yt0y4J+Kd; Thu, 20 Nov 2014 09:11:42 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 2E75F4B61D; Thu, 20 Nov 2014 09:11:42 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 3ACA34B61D for ; Thu, 20 Nov 2014 09:11:40 +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 z2h-Dbsy3KTx for ; Thu, 20 Nov 2014 09:11:40 +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 mail-pd0-f173.google.com (mail-pd0-f173.google.com [209.85.192.173]) by theia.denx.de (Postfix) with ESMTPS id CC7194B60C for ; Thu, 20 Nov 2014 09:11:35 +0100 (CET) Received: by mail-pd0-f173.google.com with SMTP id ft15so2605708pdb.18 for ; Thu, 20 Nov 2014 00:11:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id; bh=LVhDtleLpXgOSilXOWjzkm4wsIl5+8gnBUMYsVPg+pQ=; b=Nilyk+pMouHZmC68yplLHC5w4v5dLPCQqAcxi4Kmz96hlVtiCV6C+G/KemNYWhVIEp X0Ee81wmcg/qsVLBAH8F8T86K6UkCTo17xu1tz5HlysaZKs2V16bd711+7W0Iu7Vpjp+ s6QMIEBHyhpvgULOcMvYkajKyiFbTv9VXAXpQvUNP+xwfHfErVq2vddvqcisP+VLr5o2 oQI0Z0ym5fO8FOB9W+2stk27SDtK1/jYSFAy9DB5IUuOmdWxMwU0jBTIb8x6MguMTbXk ctDvd6/nLDobWMSB3bGKcJVCcpRTpcDL3w25pSwDhvr1AqJHGjdkJm6UrFurAB5lu9uf JypA== X-Received: by 10.66.140.102 with SMTP id rf6mr53706207pab.1.1416471093849; Thu, 20 Nov 2014 00:11:33 -0800 (PST) Received: from localhost ([106.120.101.38]) by mx.google.com with ESMTPSA id j14sm1303920pdk.34.2014.11.20.00.11.32 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Thu, 20 Nov 2014 00:11:33 -0800 (PST) From: Bin Meng To: Simon Glass , U-Boot Mailing List Date: Thu, 20 Nov 2014 16:11:27 +0800 Message-Id: <1416471087-16228-1-git-send-email-bmeng.cn@gmail.com> X-Mailer: git-send-email 1.8.2.1 Subject: [U-Boot] [PATCH 4/4] x86: Remove unnecessary call to initr_enable_interrupts() X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.13 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de Actually initr_enable_interrupts() was never called in an x86 build due to it was wrapped by CONFIG_x86 (typo of X86). Signed-off-by: Bin Meng Acked-by: Simon Glass Tested-by: Simon Glass --- common/board_r.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/board_r.c b/common/board_r.c index b5ea030..128fcce 100644 --- a/common/board_r.c +++ b/common/board_r.c @@ -841,7 +841,7 @@ init_fnc_t init_sequence_r[] = { board_early_init_r, #endif interrupt_init, -#if defined(CONFIG_ARM) || defined(CONFIG_x86) +#if defined(CONFIG_ARM) initr_enable_interrupts, #endif #ifdef CONFIG_X86