diff options
author | Justin Waters <justin.waters@timesys.com> | 2009-07-14 15:24:56 -0400 |
---|---|---|
committer | Justin Waters <justin.waters@timesys.com> | 2009-07-14 15:24:56 -0400 |
commit | ace54824f645a162d2785ec2ae093fb8f42e1e49 (patch) | |
tree | 0072973a15363b325cc1bdf642da2a2d79706f17 /board | |
parent | 6b1f78ae6ad037382ad430b07064105c88f7ac02 (diff) |
Miscellaneous fixes for Sequoia board2009.06-sequoia-200907141924
There are a number of issues when building the Sequoia U-Boot with
Timesys toolchains.
* GCC 4.3.3 builds an image that is too large
* 64-bit cross-toolchains run into interesting linking errors
* abort is not defined for the toolchain when using GCC 4.3.3
This patch addresses these issues in various ways, allowing builds using
the newer toolchains.
Diffstat (limited to 'board')
-rw-r--r-- | board/amcc/sequoia/sequoia.c | 2 | ||||
-rw-r--r-- | board/amcc/sequoia/u-boot.lds | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/board/amcc/sequoia/sequoia.c b/board/amcc/sequoia/sequoia.c index e824b8fa4a9..eb351d8b65f 100644 --- a/board/amcc/sequoia/sequoia.c +++ b/board/amcc/sequoia/sequoia.c @@ -567,3 +567,5 @@ void ft_board_setup(void *blob, bd_t *bd) } } #endif /* CONFIG_NAND_U_BOOT */ + +void abort () {} diff --git a/board/amcc/sequoia/u-boot.lds b/board/amcc/sequoia/u-boot.lds index 7798722eb9e..5168f43d988 100644 --- a/board/amcc/sequoia/u-boot.lds +++ b/board/amcc/sequoia/u-boot.lds @@ -136,8 +136,6 @@ SECTIONS . = ALIGN(4); } - ppcenv_assert = ASSERT(. < 0xFFFF8000, ".bss section too big, overlaps .ppcenv section. Please update your confguration: CONFIG_SYS_MONITOR_BASE, CONFIG_SYS_MONITOR_LEN and TEXT_BASE may need to be modified."); - _end = . ; PROVIDE (end = .); } |