[PATCH 2/3] cpuimx35: fix warning
Eric Bénard
eric at eukrea.com
Wed Oct 20 09:40:16 EDT 2010
this patch fix the following warning :
arch/arm/boards/eukrea_cpuimx35/flash_header.c:30: warning: "DEST_BASE" redefined
arch/arm/mach-imx/include/mach/imx-flash-header.h:29: note: this is the location of the previous definition
Signed-off-by: Eric Bénard <eric at eukrea.com>
---
arch/arm/boards/eukrea_cpuimx35/flash_header.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/arch/arm/boards/eukrea_cpuimx35/flash_header.c b/arch/arm/boards/eukrea_cpuimx35/flash_header.c
index 4163caf..3133995 100644
--- a/arch/arm/boards/eukrea_cpuimx35/flash_header.c
+++ b/arch/arm/boards/eukrea_cpuimx35/flash_header.c
@@ -27,6 +27,7 @@ struct imx_dcd_entry __dcd_entry_section dcd_entry[] = {
{ .ptr_type = 4, .addr = 0xb8001010, .val = 0x00000004, },
};
+#undef DEST_BASE
#define DEST_BASE 0x80000000
struct imx_flash_header __flash_header_section flash_header = {
.app_code_jump_vector = DEST_BASE + 0x1000,
--
1.7.0.4
More information about the barebox
mailing list