From: Masahiro Yamada Date: Mon, 9 Jun 2014 20:16:53 +0900 Subject: [U-Boot] [PATCH v2 1/2] arm: include config.h in arch/arm/lib/vectors.S In-Reply-To: <1402312614-13845-1-git-send-email-yamada.m@jp.panasonic.com> References: <1402312614-13845-1-git-send-email-yamada.m@jp.panasonic.com> Message-ID: <1402312614-13845-2-git-send-email-yamada.m@jp.panasonic.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Commit 41623c91 moved exception handling to arch/arm/lib/vectors.S, but it missed to include . This mistake causes two problems. [1] "enbw_cmc", "da850evm_direct_nor", "calimain" boards are broken. They expect CONFIG_SYS_DV_NOR_BOOT_CFG (= 0x00000011) at the beginning of the boot image. But it is missing since commit 41623c91 because CONFIG_SYS_DV_NOR_BOOT_CFG is never defined in arch/arm/lib/vectors.S. [2] Boards with CONFIG_USE_IRQ fail with undefined reference error of "IRQ_STACK_START" and "FIQ_STACK_START". This is _potential_ problem because currently there is no board enabling CONFIG_USE_IRQ. But we cannot deny the possibility some board may enable it in future. (If we are not willing to support interrupt feature, all references to CONFIG_USE_IRQ should be dropped immediately.) Signed-off-by: Masahiro Yamada Cc: Albert ARIBAUD --- Changes in v2: - Rephrase commit subject and description. (No change in code-diff) arch/arm/lib/vectors.S | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/lib/vectors.S b/arch/arm/lib/vectors.S index d68cc47..fad00da 100644 --- a/arch/arm/lib/vectors.S +++ b/arch/arm/lib/vectors.S @@ -13,6 +13,8 @@ * SPDX-License-Identifier: GPL-2.0+ */ +#include + /* ************************************************************************* * -- 1.9.1