diff options
author | Dirk Behme <dirk.behme@googlemail.com> | 2010-12-18 07:40:28 +0100 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2010-12-18 23:15:24 +0100 |
commit | b606ef41f6ba7dc16bffd8e29ceb2e0506484d8d (patch) | |
tree | 1bae54ac762f0a4cc5528dfa01a534dcc91c6bc1 /board/ti/evm/evm.c | |
parent | 030955c2cad511e678b3804c7de650db6920de4e (diff) | |
download | u-boot-b606ef41f6ba7dc16bffd8e29ceb2e0506484d8d.tar.gz u-boot-b606ef41f6ba7dc16bffd8e29ceb2e0506484d8d.tar.xz u-boot-b606ef41f6ba7dc16bffd8e29ceb2e0506484d8d.zip |
OMAP3: EVM: Convert omap3_evm_version to u32
Convert the variable omap3_evm_version to u32 to work around
some broken linkers from older tool chains. E.g. CodeSourcery's
2009q1-203 ld 2.19.51.20090205. Without this, these linkers
stop linking 'omap3_evm' or at least issue a warning. Like
arm-none-linux-gnueabi-ld: section .bss [8003f5e0 -> 8007e337] overlaps section .rel.dyn [8003f5e0 -> 80044e57]
arm-none-linux-gnueabi-ld: section .dynsym [80044e58 -> 80044ef7] overlaps section.bss [8003f5e0 -> 8007e337]
arm-none-linux-gnueabi-ld: u-boot: section .bss vma 0x8003f5e0 overlaps previous sections
CC: Sanjeev Premi <premi@ti.com>
Signed-off-by: Dirk Behme <dirk.behme@googlemail.com>
Diffstat (limited to 'board/ti/evm/evm.c')
-rw-r--r-- | board/ti/evm/evm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/board/ti/evm/evm.c b/board/ti/evm/evm.c index 09d14f7a56..c2b6350909 100644 --- a/board/ti/evm/evm.c +++ b/board/ti/evm/evm.c @@ -37,9 +37,9 @@ #include <asm/mach-types.h> #include "evm.h" -static u8 omap3_evm_version; +static u32 omap3_evm_version; -u8 get_omap3_evm_rev(void) +u32 get_omap3_evm_rev(void) { return omap3_evm_version; } |