diff options
author | Stefan Roese <sr@denx.de> | 2006-06-06 10:59:12 +0200 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2006-06-06 10:59:12 +0200 |
commit | 4526c87eeca107d5dba69a449b6c8bc68d1b2b35 (patch) | |
tree | dd6905593c093f25a5517ff8294783d1f6d7a7d8 /board/pcs440ep/u-boot.lds | |
parent | 2fd9eb509ddd557550214d472ec6170761e0c7d6 (diff) |
Update PCS440EP port to fit into one flash device (incl. environment)
Patch by Stefan Roese, 06 Jun 2006
Diffstat (limited to 'board/pcs440ep/u-boot.lds')
-rw-r--r-- | board/pcs440ep/u-boot.lds | 22 |
1 files changed, 3 insertions, 19 deletions
diff --git a/board/pcs440ep/u-boot.lds b/board/pcs440ep/u-boot.lds index b3bac7cd17..6ab476ab14 100644 --- a/board/pcs440ep/u-boot.lds +++ b/board/pcs440ep/u-boot.lds @@ -63,24 +63,8 @@ SECTIONS .plt : { *(.plt) } .text : { - /* WARNING - the following is hand-optimized to fit within */ - /* the sector layout of our flash chips! XXX FIXME XXX */ - cpu/ppc4xx/start.o (.text) board/pcs440ep/init.o (.text) - cpu/ppc4xx/kgdb.o (.text) - cpu/ppc4xx/traps.o (.text) - cpu/ppc4xx/interrupts.o (.text) - cpu/ppc4xx/serial.o (.text) - cpu/ppc4xx/cpu_init.o (.text) - cpu/ppc4xx/speed.o (.text) - common/dlmalloc.o (.text) - lib_generic/crc32.o (.text) - lib_ppc/extable.o (.text) - lib_generic/zlib.o (.text) - -/* . = env_offset;*/ -/* common/environment.o(.text)*/ *(.text) *(.fixup) @@ -111,8 +95,8 @@ SECTIONS _FIXUP_TABLE_ = .; *(.fixup) } - __got2_entries = (_FIXUP_TABLE_ - _GOT2_TABLE_) >>2; - __fixup_entries = (. - _FIXUP_TABLE_)>>2; + __got2_entries = (_FIXUP_TABLE_ - _GOT2_TABLE_) >> 2; + __fixup_entries = (. - _FIXUP_TABLE_) >> 2; .data : { @@ -131,7 +115,6 @@ SECTIONS .u_boot_cmd : { *(.u_boot_cmd) } __u_boot_cmd_end = .; - . = .; __start___ex_table = .; __ex_table : { *(__ex_table) } @@ -152,6 +135,7 @@ SECTIONS *(.bss) *(COMMON) } + _end = . ; PROVIDE (end = .); } |