diff mbox

[U-Boot,v1] arm: include config.h in vectors.S

Message ID 1405313611-24592-1-git-send-email-judge.packham@gmail.com
State Superseded
Delegated to: Albert ARIBAUD
Headers show

Commit Message

Chris Packham July 14, 2014, 4:53 a.m. UTC
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 <judge.packham@gmail.com>
---

 arch/arm/lib/vectors.S | 1 +
 1 file changed, 1 insertion(+)
diff mbox

Patch

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 <config.h>
 
 /*
  *************************************************************************