From patchwork Mon Jul 14 04:53:31 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chris Packham X-Patchwork-Id: 369473 X-Patchwork-Delegate: albert.aribaud@free.fr 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 A5F841400A3 for ; Mon, 14 Jul 2014 15:00:21 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 60453A73DD; Mon, 14 Jul 2014 07:00:19 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de 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 rJVl-xiF9bJ4; Mon, 14 Jul 2014 07:00:19 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 03F04A73E0; Mon, 14 Jul 2014 07:00:17 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 13A03A73E0 for ; Mon, 14 Jul 2014 07:00:14 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de 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 vafRw+0zOetJ for ; Mon, 14 Jul 2014 07:00:10 +0200 (CEST) X-Greylist: delayed 370 seconds by postgrey-1.27 at theia; Mon, 14 Jul 2014 07:00:06 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 gate2.alliedtelesis.co.nz (gate2.alliedtelesis.co.nz [202.36.163.20]) by theia.denx.de (Postfix) with ESMTPS id 599B3A73DD for ; Mon, 14 Jul 2014 07:00:06 +0200 (CEST) Received: from mmarshal3.atlnz.lc (mmarshal3.atlnz.lc [10.32.18.43]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by gate2.alliedtelesis.co.nz (Postfix) with ESMTPS id B401080D51 for ; Mon, 14 Jul 2014 16:53:50 +1200 (NZST) Received: from alliedtelesyn.co.nz (Not Verified[10.32.16.32]) by mmarshal3.atlnz.lc with MailMarshal (v7, 1, 0, 4874) id ; Mon, 14 Jul 2014 16:53:50 +1200 Received: from MAIL/SpoolDir by alliedtelesyn.co.nz (Mercury 1.48); 14 Jul 14 16:54:39 +1200 Received: from SpoolDir by MAIL (Mercury 1.48); 14 Jul 14 16:54:31 +1200 Received: from chrisp3-dl.ws.atlnz.lc (10.33.13.21) by alliedtelesyn.co.nz (Mercury 1.48) with ESMTP; 14 Jul 14 16:54:28 +1200 Received: by chrisp3-dl.ws.atlnz.lc (Postfix, from userid 1030) id D367C206; Mon, 14 Jul 2014 16:53:38 +1200 (NZST) From: Chris Packham To: Albert ARIBAUD Date: Mon, 14 Jul 2014 16:53:31 +1200 Message-Id: <1405313611-24592-1-git-send-email-judge.packham@gmail.com> X-Mailer: git-send-email 2.0.0.rc2 Cc: u-boot , Chris Packham Subject: [U-Boot] [PATCH v1] arm: include config.h in vectors.S X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.11 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 In order to use configuration flags it is necessary to include config.h. Without this arm targets that use CONFIG_USE_IRQ or CONFIG_SPL_BUILD won't get the correct code. Signed-off-by: Chris Packham --- arch/arm/lib/vectors.S | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/lib/vectors.S b/arch/arm/lib/vectors.S index e6538ef..a8b6c53 100644 --- a/arch/arm/lib/vectors.S +++ b/arch/arm/lib/vectors.S @@ -12,6 +12,7 @@ * * SPDX-License-Identifier: GPL-2.0+ */ +#include /* *************************************************************************