ppc: Fix relocation
Subsystems (6)
cover ppc: Fix relocation
This series attempts to fix relocation to RAM for ppc boards.
I split the patches up pretty liberally, let me know if you'd like them organized differently.
I tried to be thorough during the changes (especially #1), let me know if I missed anything, there's lots of linker scripts for ppc boards:)
Peter Tyser (13):
ppc: Enable full relocation to RAM
ppc: Check for compilers that don't support relocation
ppc: Remove board.c relocation fixups
ppc: Remove pci config table pointer relocation fixups
ppc: Remove extable relocation fixups
ppc: Remove board-specific command table relocation fixups
tsec: Remove PHY command relocation fixups
fpga: Remove relocation fixups
mpl: Remove memory test relocation fixups
lwmon, lwmon5: Remove sysmon POST relocation fixups
p3mx: Remove serial relocation fixups Conditionally perform common relocation fixups
ppc: Remove reloc_off field from global_data structure
board/LEOX/elpt860/u-boot.lds | 1 - board/LEOX/elpt860/u-boot.lds.debug | 1 - board/MAI/AmigaOneG3SE/u-boot.lds | 1 - board/Marvell/db64360/u-boot.lds | 1 - board/Marvell/db64460/u-boot.lds | 1 - board/RPXClassic/u-boot.lds | 1 - board/RPXClassic/u-boot.lds.debug | 1 - board/RPXlite/u-boot.lds | 1 - board/RPXlite/u-boot.lds.debug | 1 - board/RPXlite_dw/u-boot.lds | 1 - board/RPXlite_dw/u-boot.lds.debug | 1 - board/RRvision/u-boot.lds | 1 - board/adder/u-boot.lds | 1 - board/amcc/acadia/u-boot-nand.lds | 1 - board/amcc/acadia/u-boot.lds | 1 - board/amcc/bamboo/u-boot-nand.lds | 1 - board/amcc/bamboo/u-boot.lds | 1 - board/amcc/bubinga/u-boot.lds | 1 - board/amcc/canyonlands/u-boot-nand.lds | 1 - board/amcc/canyonlands/u-boot.lds | 1 - board/amcc/ebony/u-boot.lds | 1 - board/amcc/katmai/u-boot.lds | 1 - board/amcc/kilauea/u-boot-nand.lds | 1 - board/amcc/kilauea/u-boot.lds | 1 - board/amcc/luan/u-boot.lds | 1 - board/amcc/makalu/u-boot.lds | 1 - board/amcc/ocotea/u-boot.lds | 1 - board/amcc/redwood/u-boot.lds | 1 - board/amcc/sequoia/u-boot-nand.lds | 1 - board/amcc/sequoia/u-boot-ram.lds | 1 - board/amcc/sequoia/u-boot.lds | 1 - board/amcc/taihu/u-boot.lds | 1 - board/amcc/taishan/u-boot.lds | 1 - board/amcc/walnut/u-boot.lds | 1 - board/amcc/yosemite/u-boot.lds | 1 - board/amcc/yucca/u-boot.lds | 1 - board/amirix/ap1000/u-boot.lds | 1 - board/c2mon/u-boot.lds | 1 - board/c2mon/u-boot.lds.debug | 1 - board/cm5200/u-boot.lds | 1 - board/cogent/u-boot.lds | 1 - board/cogent/u-boot.lds.debug | 1 - board/cray/L1/u-boot.lds | 1 - board/cray/L1/u-boot.lds.debug | 1 - board/csb272/u-boot.lds | 1 - board/csb472/u-boot.lds | 1 - board/dave/PPChameleonEVB/u-boot.lds | 1 - board/digsy_mtc/cmd_mtc.c | 30 ----- board/digsy_mtc/digsy_mtc.c | 2 - board/eltec/bab7xx/u-boot.lds | 1 - board/eltec/elppc/u-boot.lds | 1 - board/eltec/mhpc/u-boot.lds | 1 - board/eltec/mhpc/u-boot.lds.debug | 1 - board/emk/top860/u-boot.lds | 1 - board/emk/top860/u-boot.lds.debug | 1 - board/ep88x/u-boot.lds | 1 - board/eric/u-boot.lds | 1 - board/esd/adciop/u-boot.lds | 1 - board/esd/apc405/u-boot.lds | 1 - board/esd/ar405/u-boot.lds | 1 - board/esd/ash405/u-boot.lds | 1 - board/esd/canbt/u-boot.lds | 1 - board/esd/cms700/u-boot.lds | 1 - board/esd/cpci2dp/u-boot.lds | 1 - board/esd/cpci405/u-boot.lds | 1 - board/esd/cpci750/u-boot.lds | 1 - board/esd/cpciiser4/u-boot.lds | 1 - board/esd/dasa_sim/u-boot.lds | 1 - board/esd/dp405/u-boot.lds | 1 - board/esd/du405/u-boot.lds | 1 - board/esd/du440/u-boot.lds | 1 - board/esd/hh405/u-boot.lds | 1 - board/esd/hub405/u-boot.lds | 1 - board/esd/ocrtc/u-boot.lds | 1 - board/esd/pci405/u-boot.lds | 1 - board/esd/plu405/u-boot.lds | 1 - board/esd/pmc405/u-boot.lds | 1 - board/esd/pmc405de/u-boot.lds | 1 - board/esd/pmc440/fpga.c | 6 +- board/esd/pmc440/u-boot-nand.lds | 1 - board/esd/pmc440/u-boot.lds | 1 - board/esd/voh405/u-boot.lds | 1 - board/esd/vom405/u-boot.lds | 1 - board/esd/wuh405/u-boot.lds | 1 - board/esteem192e/u-boot.lds | 1 - board/etx094/u-boot.lds | 1 - board/etx094/u-boot.lds.debug | 1 - board/evb64260/u-boot.lds | 1 - board/exbitgen/u-boot.lds | 1 - board/fads/u-boot.lds | 1 - board/fads/u-boot.lds.debug | 1 - board/flagadm/u-boot.lds | 1 - board/flagadm/u-boot.lds.debug | 1 - board/freescale/mpc7448hpc2/u-boot.lds | 1 - board/freescale/mpc8548cds/mpc8548cds.c | 7 - board/freescale/mpc8610hpcd/u-boot.lds | 1 - board/freescale/mpc8641hpcn/u-boot.lds | 1 - board/g2000/u-boot.lds | 1 - board/gdsys/dlvision/u-boot.lds | 1 - board/gdsys/gdppc440etx/u-boot.lds | 1 - board/gdsys/intip/u-boot.lds | 1 - board/gdsys/neo/u-boot.lds | 1 - board/gen860t/fpga.c | 5 +- board/gen860t/u-boot-flashenv.lds | 1 - board/gen860t/u-boot.lds | 1 - board/genietv/u-boot.lds | 1 - board/genietv/u-boot.lds.debug | 1 - board/gth/u-boot.lds | 1 - board/hermes/u-boot.lds | 1 - board/hermes/u-boot.lds.debug | 1 - board/hymod/u-boot.lds | 1 - board/hymod/u-boot.lds.debug | 1 - board/icu862/u-boot.lds | 1 - board/icu862/u-boot.lds.debug | 1 - board/inka4x0/inka4x0.c | 10 -- board/inka4x0/inkadiag.c | 28 ---- board/ip860/u-boot.lds | 1 - board/ip860/u-boot.lds.debug | 1 - board/ivm/u-boot.lds | 1 - board/ivm/u-boot.lds.debug | 1 - board/jse/u-boot.lds | 1 - board/keymile/km8xx/u-boot.lds | 1 - board/korat/u-boot-F7FC.lds | 1 - board/korat/u-boot.lds | 1 - board/kup/kup4k/u-boot.lds | 1 - board/kup/kup4k/u-boot.lds.debug | 1 - board/kup/kup4x/u-boot.lds | 1 - board/kup/kup4x/u-boot.lds.debug | 1 - board/lantec/u-boot.lds | 1 - board/lantec/u-boot.lds.debug | 1 - board/lwmon/u-boot.lds | 1 - board/lwmon/u-boot.lds.debug | 1 - board/lwmon5/u-boot.lds | 1 - board/matrix_vision/mvbc_p/fpga.c | 7 +- board/matrix_vision/mvblm7/fpga.c | 6 +- board/mbx8xx/u-boot.lds | 1 - board/mbx8xx/u-boot.lds.debug | 1 - board/ml2/u-boot.lds | 1 - board/ml2/u-boot.lds.debug | 1 - board/mousse/u-boot.lds | 1 - board/mousse/u-boot.lds.rom | 1 - board/mpl/common/memtst.c | 26 ---- board/mpl/common/pci.c | 18 --- board/mpl/mip405/mip405.c | 3 +- board/mpl/mip405/u-boot.lds | 1 - board/mpl/pati/pati.c | 2 - board/mpl/pip405/u-boot.lds | 1 - board/mpl/pip405/u-boot.lds.debug | 1 - board/mpl/vcma9/vcma9.c | 3 - board/munices/u-boot.lds | 1 - board/nc650/u-boot.lds | 1 - board/nc650/u-boot.lds.debug | 1 - board/netphone/u-boot.lds | 1 - board/netphone/u-boot.lds.debug | 1 - board/netstal/hcu4/u-boot.lds | 1 - board/netstal/hcu5/u-boot.lds | 1 - board/netstal/mcu25/u-boot.lds | 1 - board/netta/u-boot.lds | 1 - board/netta/u-boot.lds.debug | 1 - board/netta2/u-boot.lds | 1 - board/netta2/u-boot.lds.debug | 1 - board/netvia/u-boot.lds | 1 - board/netvia/u-boot.lds.debug | 1 - board/nx823/u-boot.lds | 1 - board/nx823/u-boot.lds.debug | 1 - board/pcippc2/u-boot.lds | 1 - board/pcs440ep/u-boot.lds | 1 - board/ppmc7xx/u-boot.lds | 1 - board/prodrive/alpr/fpga.c | 4 +- board/prodrive/alpr/u-boot.lds | 1 - board/prodrive/p3mx/p3mx.c | 10 -- board/prodrive/p3mx/u-boot.lds | 1 - board/prodrive/p3p440/u-boot.lds | 1 - board/quad100hd/u-boot.lds | 1 - board/quantum/u-boot.lds | 1 - board/quantum/u-boot.lds.debug | 1 - board/r360mpi/u-boot.lds | 1 - board/rbc823/u-boot.lds | 1 - board/rmu/u-boot.lds | 1 - board/rmu/u-boot.lds.debug | 1 - board/rsdproto/u-boot.lds | 1 - board/sandburst/karef/u-boot.lds | 1 - board/sandburst/karef/u-boot.lds.debug | 1 - board/sandburst/metrobox/u-boot.lds | 1 - board/sandburst/metrobox/u-boot.lds.debug | 1 - board/sbc405/u-boot.lds | 1 - board/sbc8548/sbc8548.c | 6 - board/sbc8641d/u-boot.lds | 1 - board/sc3/u-boot.lds | 1 - board/siemens/CCM/u-boot.lds | 1 - board/siemens/CCM/u-boot.lds.debug | 1 - board/siemens/IAD210/u-boot.lds | 1 - board/siemens/pcu_e/u-boot.lds | 1 - board/siemens/pcu_e/u-boot.lds.debug | 1 - board/sixnet/u-boot.lds | 1 - board/snmc/qs850/u-boot.lds | 1 - board/snmc/qs860t/u-boot.lds | 1 - board/spc1920/u-boot.lds | 1 - board/spd8xx/u-boot.lds | 1 - board/spd8xx/u-boot.lds.debug | 1 - board/stx/stxxtc/u-boot.lds | 1 - board/stx/stxxtc/u-boot.lds.debug | 1 - board/svm_sc8xx/u-boot.lds | 1 - board/svm_sc8xx/u-boot.lds.debug | 1 - board/tqc/tqm8xx/u-boot.lds | 1 - board/tqc/tqm8xx/u-boot.lds.debug | 1 - board/uc100/u-boot.lds | 1 - board/uc100/u-boot.lds.debug | 1 - board/v37/u-boot.lds | 1 - board/w7o/u-boot.lds | 1 - board/w7o/u-boot.lds.debug | 1 - board/westel/amx860/u-boot.lds | 1 - board/westel/amx860/u-boot.lds.debug | 1 - board/xes/xpedite1000/u-boot.lds | 1 - board/xes/xpedite1000/u-boot.lds.debug | 1 - board/xes/xpedite5170/config.mk | 2 - board/xes/xpedite5200/config.mk | 2 - board/xes/xpedite5370/config.mk | 2 - board/xilinx/ml300/u-boot.lds | 1 - board/xilinx/ml300/u-boot.lds.debug | 1 - board/xilinx/ppc405-generic/u-boot-ram.lds | 1 - board/xilinx/ppc405-generic/u-boot-rom.lds | 1 - board/xilinx/ppc440-generic/u-boot-ram.lds | 1 - board/xilinx/ppc440-generic/u-boot-rom.lds | 1 - board/zeus/u-boot.lds | 1 - common/cmd_bootm.c | 4 +- common/cmd_date.c | 4 + common/dlmalloc.c | 2 + common/env_common.c | 4 + common/hush.c | 4 + common/image.c | 6 +- common/serial.c | 2 + common/stdio.c | 5 +- cpu/mpc512x/u-boot.lds | 1 - cpu/mpc5xx/u-boot.lds | 1 - cpu/mpc5xxx/u-boot-customlayout.lds | 1 - cpu/mpc5xxx/u-boot.lds | 1 - cpu/mpc8220/u-boot.lds | 1 - cpu/mpc824x/u-boot.lds | 1 - cpu/mpc8260/u-boot.lds | 1 - cpu/mpc83xx/u-boot.lds | 1 - cpu/mpc85xx/u-boot.lds | 1 - disk/part.c | 5 +- drivers/fpga/ACEX1K.c | 96 -------------- drivers/fpga/altera.c | 39 ------ drivers/fpga/cyclon2.c | 91 -------------- drivers/fpga/fpga.c | 53 +------- drivers/fpga/spartan2.c | 187 ---------------------------- drivers/fpga/spartan3.c | 185 --------------------------- drivers/fpga/stratixII.c | 24 ---- drivers/fpga/virtex2.c | 118 ----------------- drivers/fpga/xilinx.c | 42 ------ drivers/mtd/nand/nand.c | 2 + drivers/net/tsec.c | 49 ------- fs/ubifs/ubifs.c | 4 + include/ACEX1K.h | 4 - include/altera.h | 1 - include/asm-ppc/config.h | 3 + include/asm-ppc/global_data.h | 2 +- include/configs/XPEDITE5170.h | 1 - include/configs/XPEDITE5200.h | 1 - include/configs/XPEDITE5370.h | 1 - include/configs/inka4x0.h | 1 - include/configs/p3mx.h | 1 - include/fpga.h | 2 +- include/post.h | 2 + include/spartan2.h | 3 - include/spartan3.h | 3 - include/stratixII.h | 1 - include/virtex2.h | 3 - include/xilinx.h | 1 - lib_ppc/Makefile | 6 + lib_ppc/board.c | 50 -------- lib_ppc/config.mk | 1 + lib_ppc/extable.c | 26 +--- post/board/lwmon/sysmon.c | 17 +--- post/board/lwmon5/sysmon.c | 17 +--- post/post.c | 2 + 278 files changed, 79 insertions(+), 1389 deletions(-)
PATCH 1/13 ppc: Enable full relocation to RAM
The following changes allow U-Boot to fully relocate from flash to RAM:
- Remove linker scripts' .fixup sections from the .text section
- Add -mrelocatable to PLATFORM_RELFLAGS for all boards
- Define CONFIG_RELOC_FIXUP_WORKS for all boards
Previously, U-Boot would partially relocate, but statically initialized pointers needed to be manually relocated.
--- board/LEOX/elpt860/u-boot.lds | 1 - board/LEOX/elpt860/u-boot.lds.debug | 1 - board/MAI/AmigaOneG3SE/u-boot.lds | 1 - board/Marvell/db64360/u-boot.lds | 1 - board/Marvell/db64460/u-boot.lds | 1 - board/RPXClassic/u-boot.lds | 1 - board/RPXClassic/u-boot.lds.debug | 1 - board/RPXlite/u-boot.lds | 1 - board/RPXlite/u-boot.lds.debug | 1 - board/RPXlite_dw/u-boot.lds | 1 - board/RPXlite_dw/u-boot.lds.debug | 1 - board/RRvision/u-boot.lds | 1 - board/adder/u-boot.lds | 1 - board/amcc/acadia/u-boot-nand.lds | 1 - board/amcc/acadia/u-boot.lds | 1 - board/amcc/bamboo/u-boot-nand.lds | 1 - board/amcc/bamboo/u-boot.lds | 1 - board/amcc/bubinga/u-boot.lds | 1 - board/amcc/canyonlands/u-boot-nand.lds | 1 - board/amcc/canyonlands/u-boot.lds | 1 - board/amcc/ebony/u-boot.lds | 1 - board/amcc/katmai/u-boot.lds | 1 - board/amcc/kilauea/u-boot-nand.lds | 1 - board/amcc/kilauea/u-boot.lds | 1 - board/amcc/luan/u-boot.lds | 1 - board/amcc/makalu/u-boot.lds | 1 - board/amcc/ocotea/u-boot.lds | 1 - board/amcc/redwood/u-boot.lds | 1 - board/amcc/sequoia/u-boot-nand.lds | 1 - board/amcc/sequoia/u-boot-ram.lds | 1 - board/amcc/sequoia/u-boot.lds | 1 - board/amcc/taihu/u-boot.lds | 1 - board/amcc/taishan/u-boot.lds | 1 - board/amcc/walnut/u-boot.lds | 1 - board/amcc/yosemite/u-boot.lds | 1 - board/amcc/yucca/u-boot.lds | 1 - board/amirix/ap1000/u-boot.lds | 1 - board/c2mon/u-boot.lds | 1 - board/c2mon/u-boot.lds.debug | 1 - board/cm5200/u-boot.lds | 1 - board/cogent/u-boot.lds | 1 - board/cogent/u-boot.lds.debug | 1 - board/cray/L1/u-boot.lds | 1 - board/cray/L1/u-boot.lds.debug | 1 - board/csb272/u-boot.lds | 1 - board/csb472/u-boot.lds | 1 - board/dave/PPChameleonEVB/u-boot.lds | 1 - board/eltec/bab7xx/u-boot.lds | 1 - board/eltec/elppc/u-boot.lds | 1 - board/eltec/mhpc/u-boot.lds | 1 - board/eltec/mhpc/u-boot.lds.debug | 1 - board/emk/top860/u-boot.lds | 1 - board/emk/top860/u-boot.lds.debug | 1 - board/ep88x/u-boot.lds | 1 - board/eric/u-boot.lds | 1 - board/esd/adciop/u-boot.lds | 1 - board/esd/apc405/u-boot.lds | 1 - board/esd/ar405/u-boot.lds | 1 - board/esd/ash405/u-boot.lds | 1 - board/esd/canbt/u-boot.lds | 1 - board/esd/cms700/u-boot.lds | 1 - board/esd/cpci2dp/u-boot.lds | 1 - board/esd/cpci405/u-boot.lds | 1 - board/esd/cpci750/u-boot.lds | 1 - board/esd/cpciiser4/u-boot.lds | 1 - board/esd/dasa_sim/u-boot.lds | 1 - board/esd/dp405/u-boot.lds | 1 - board/esd/du405/u-boot.lds | 1 - board/esd/du440/u-boot.lds | 1 - board/esd/hh405/u-boot.lds | 1 - board/esd/hub405/u-boot.lds | 1 - board/esd/ocrtc/u-boot.lds | 1 - board/esd/pci405/u-boot.lds | 1 - board/esd/plu405/u-boot.lds | 1 - board/esd/pmc405/u-boot.lds | 1 - board/esd/pmc405de/u-boot.lds | 1 - board/esd/pmc440/u-boot-nand.lds | 1 - board/esd/pmc440/u-boot.lds | 1 - board/esd/voh405/u-boot.lds | 1 - board/esd/vom405/u-boot.lds | 1 - board/esd/wuh405/u-boot.lds | 1 - board/esteem192e/u-boot.lds | 1 - board/etx094/u-boot.lds | 1 - board/etx094/u-boot.lds.debug | 1 - board/evb64260/u-boot.lds | 1 - board/exbitgen/u-boot.lds | 1 - board/fads/u-boot.lds | 1 - board/fads/u-boot.lds.debug | 1 - board/flagadm/u-boot.lds | 1 - board/flagadm/u-boot.lds.debug | 1 - board/freescale/mpc7448hpc2/u-boot.lds | 1 - board/freescale/mpc8610hpcd/u-boot.lds | 1 - board/freescale/mpc8641hpcn/u-boot.lds | 1 - board/g2000/u-boot.lds | 1 - board/gdsys/dlvision/u-boot.lds | 1 - board/gdsys/gdppc440etx/u-boot.lds | 1 - board/gdsys/intip/u-boot.lds | 1 - board/gdsys/neo/u-boot.lds | 1 - board/gen860t/u-boot-flashenv.lds | 1 - board/gen860t/u-boot.lds | 1 - board/genietv/u-boot.lds | 1 - board/genietv/u-boot.lds.debug | 1 - board/gth/u-boot.lds | 1 - board/hermes/u-boot.lds | 1 - board/hermes/u-boot.lds.debug | 1 - board/hymod/u-boot.lds | 1 - board/hymod/u-boot.lds.debug | 1 - board/icu862/u-boot.lds | 1 - board/icu862/u-boot.lds.debug | 1 - board/ip860/u-boot.lds | 1 - board/ip860/u-boot.lds.debug | 1 - board/ivm/u-boot.lds | 1 - board/ivm/u-boot.lds.debug | 1 - board/jse/u-boot.lds | 1 - board/keymile/km8xx/u-boot.lds | 1 - board/korat/u-boot-F7FC.lds | 1 - board/korat/u-boot.lds | 1 - board/kup/kup4k/u-boot.lds | 1 - board/kup/kup4k/u-boot.lds.debug | 1 - board/kup/kup4x/u-boot.lds | 1 - board/kup/kup4x/u-boot.lds.debug | 1 - board/lantec/u-boot.lds | 1 - board/lantec/u-boot.lds.debug | 1 - board/lwmon/u-boot.lds | 1 - board/lwmon/u-boot.lds.debug | 1 - board/lwmon5/u-boot.lds | 1 - board/mbx8xx/u-boot.lds | 1 - board/mbx8xx/u-boot.lds.debug | 1 - board/ml2/u-boot.lds | 1 - board/ml2/u-boot.lds.debug | 1 - board/mousse/u-boot.lds | 1 - board/mousse/u-boot.lds.rom | 1 - board/mpl/mip405/u-boot.lds | 1 - board/mpl/pip405/u-boot.lds | 1 - board/mpl/pip405/u-boot.lds.debug | 1 - board/munices/u-boot.lds | 1 - board/nc650/u-boot.lds | 1 - board/nc650/u-boot.lds.debug | 1 - board/netphone/u-boot.lds | 1 - board/netphone/u-boot.lds.debug | 1 - board/netstal/hcu4/u-boot.lds | 1 - board/netstal/hcu5/u-boot.lds | 1 - board/netstal/mcu25/u-boot.lds | 1 - board/netta/u-boot.lds | 1 - board/netta/u-boot.lds.debug | 1 - board/netta2/u-boot.lds | 1 - board/netta2/u-boot.lds.debug | 1 - board/netvia/u-boot.lds | 1 - board/netvia/u-boot.lds.debug | 1 - board/nx823/u-boot.lds | 1 - board/nx823/u-boot.lds.debug | 1 - board/pcippc2/u-boot.lds | 1 - board/pcs440ep/u-boot.lds | 1 - board/ppmc7xx/u-boot.lds | 1 - board/prodrive/alpr/u-boot.lds | 1 - board/prodrive/p3mx/u-boot.lds | 1 - board/prodrive/p3p440/u-boot.lds | 1 - board/quad100hd/u-boot.lds | 1 - board/quantum/u-boot.lds | 1 - board/quantum/u-boot.lds.debug | 1 - board/r360mpi/u-boot.lds | 1 - board/rbc823/u-boot.lds | 1 - board/rmu/u-boot.lds | 1 - board/rmu/u-boot.lds.debug | 1 - board/rsdproto/u-boot.lds | 1 - board/sandburst/karef/u-boot.lds | 1 - board/sandburst/karef/u-boot.lds.debug | 1 - board/sandburst/metrobox/u-boot.lds | 1 - board/sandburst/metrobox/u-boot.lds.debug | 1 - board/sbc405/u-boot.lds | 1 - board/sbc8641d/u-boot.lds | 1 - board/sc3/u-boot.lds | 1 - board/siemens/CCM/u-boot.lds | 1 - board/siemens/CCM/u-boot.lds.debug | 1 - board/siemens/IAD210/u-boot.lds | 1 - board/siemens/pcu_e/u-boot.lds | 1 - board/siemens/pcu_e/u-boot.lds.debug | 1 - board/sixnet/u-boot.lds | 1 - board/snmc/qs850/u-boot.lds | 1 - board/snmc/qs860t/u-boot.lds | 1 - board/spc1920/u-boot.lds | 1 - board/spd8xx/u-boot.lds | 1 - board/spd8xx/u-boot.lds.debug | 1 - board/stx/stxxtc/u-boot.lds | 1 - board/stx/stxxtc/u-boot.lds.debug | 1 - board/svm_sc8xx/u-boot.lds | 1 - board/svm_sc8xx/u-boot.lds.debug | 1 - board/tqc/tqm8xx/u-boot.lds | 1 - board/tqc/tqm8xx/u-boot.lds.debug | 1 - board/uc100/u-boot.lds | 1 - board/uc100/u-boot.lds.debug | 1 - board/v37/u-boot.lds | 1 - board/w7o/u-boot.lds | 1 - board/w7o/u-boot.lds.debug | 1 - board/westel/amx860/u-boot.lds | 1 - board/westel/amx860/u-boot.lds.debug | 1 - board/xes/xpedite1000/u-boot.lds | 1 - board/xes/xpedite1000/u-boot.lds.debug | 1 - board/xes/xpedite5170/config.mk | 2 -- board/xes/xpedite5200/config.mk | 2 -- board/xes/xpedite5370/config.mk | 2 -- board/xilinx/ml300/u-boot.lds | 1 - board/xilinx/ml300/u-boot.lds.debug | 1 - board/xilinx/ppc405-generic/u-boot-ram.lds | 1 - board/xilinx/ppc405-generic/u-boot-rom.lds | 1 - board/xilinx/ppc440-generic/u-boot-ram.lds | 1 - board/xilinx/ppc440-generic/u-boot-rom.lds | 1 - board/zeus/u-boot.lds | 1 - cpu/mpc512x/u-boot.lds | 1 - cpu/mpc5xx/u-boot.lds | 1 - cpu/mpc5xxx/u-boot-customlayout.lds | 1 - cpu/mpc5xxx/u-boot.lds | 1 - cpu/mpc8220/u-boot.lds | 1 - cpu/mpc824x/u-boot.lds | 1 - cpu/mpc8260/u-boot.lds | 1 - cpu/mpc83xx/u-boot.lds | 1 - cpu/mpc85xx/u-boot.lds | 1 - include/asm-ppc/config.h | 3 +++ include/configs/XPEDITE5170.h | 1 - include/configs/XPEDITE5200.h | 1 - include/configs/XPEDITE5370.h | 1 - lib_ppc/config.mk | 1 + 222 files changed, 4 insertions(+), 223 deletions(-)
board/LEOX/elpt860/u-boot.lds +0 -1
@@ -80,7 +80,6 @@ SECTIONS common/env_embedded.o (.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/LEOX/elpt860/u-boot.lds.debug +0 -1
@@ -73,7 +73,6 @@ SECTIONS common/env_embedded.o (.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/MAI/AmigaOneG3SE/u-boot.lds +0 -1
@@ -65,7 +65,6 @@ SECTIONS common/env_embedded.o(.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/Marvell/db64360/u-boot.lds +0 -1
@@ -63,7 +63,6 @@ SECTIONS /* common/env_embedded.o(.text) */ *(.text) - *(.fixup) *(.got1) } _etext = .;
board/Marvell/db64460/u-boot.lds +0 -1
@@ -63,7 +63,6 @@ SECTIONS /* common/env_embedded.o(.text) */ *(.text) - *(.fixup) *(.got1) } _etext = .;
board/RPXClassic/u-boot.lds +0 -1
@@ -67,7 +67,6 @@ SECTIONS common/env_embedded.o(.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/RPXClassic/u-boot.lds.debug +0 -1
@@ -64,7 +64,6 @@ SECTIONS common/env_embedded.o(.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/RPXlite/u-boot.lds +0 -1
@@ -67,7 +67,6 @@ SECTIONS common/env_embedded.o(.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/RPXlite/u-boot.lds.debug +0 -1
@@ -64,7 +64,6 @@ SECTIONS common/env_embedded.o(.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/RPXlite_dw/u-boot.lds +0 -1
@@ -67,7 +67,6 @@ SECTIONS common/env_embedded.o(.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/RPXlite_dw/u-boot.lds.debug +0 -1
@@ -64,7 +64,6 @@ SECTIONS common/env_embedded.o(.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/RRvision/u-boot.lds +0 -1
@@ -69,7 +69,6 @@ SECTIONS common/env_embedded.o (.ppcenv) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/adder/u-boot.lds +0 -1
@@ -54,7 +54,6 @@ SECTIONS { cpu/mpc8xx/start.o (.text) *(.text) - *(.fixup) *(.got1) . = ALIGN(16); *(.eh_frame)
board/amcc/acadia/u-boot-nand.lds +0 -1
@@ -62,7 +62,6 @@ SECTIONS . = ALIGN(0x10000); *(.text) - *(.fixup) *(.got1) } _etext = .;
board/amcc/acadia/u-boot.lds +0 -1
@@ -63,7 +63,6 @@ SECTIONS cpu/ppc4xx/start.o (.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/amcc/bamboo/u-boot-nand.lds +0 -1
@@ -62,7 +62,6 @@ SECTIONS . = ALIGN(0x10000); *(.text) - *(.fixup) *(.got1) } _etext = .;
board/amcc/bamboo/u-boot.lds +0 -1
@@ -70,7 +70,6 @@ SECTIONS board/amcc/bamboo/bamboo.o (.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/amcc/bubinga/u-boot.lds +0 -1
@@ -63,7 +63,6 @@ SECTIONS cpu/ppc4xx/start.o (.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/amcc/canyonlands/u-boot-nand.lds +0 -1
@@ -62,7 +62,6 @@ SECTIONS . = ALIGN(0x80000); *(.text) - *(.fixup) *(.got1) } _etext = .;
board/amcc/canyonlands/u-boot.lds +0 -1
@@ -69,7 +69,6 @@ SECTIONS board/amcc/canyonlands/init.o (.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/amcc/ebony/u-boot.lds +0 -1
@@ -69,7 +69,6 @@ SECTIONS board/amcc/ebony/init.o (.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/amcc/katmai/u-boot.lds +0 -1
@@ -66,7 +66,6 @@ SECTIONS board/amcc/katmai/init.o (.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/amcc/kilauea/u-boot-nand.lds +0 -1
@@ -62,7 +62,6 @@ SECTIONS . = ALIGN(0x10000); *(.text) - *(.fixup) *(.got1) } _etext = .;
board/amcc/kilauea/u-boot.lds +0 -1
@@ -64,7 +64,6 @@ SECTIONS cpu/ppc4xx/start.o (.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/amcc/luan/u-boot.lds +0 -1
@@ -69,7 +69,6 @@ SECTIONS board/amcc/luan/init.o (.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/amcc/makalu/u-boot.lds +0 -1
@@ -64,7 +64,6 @@ SECTIONS cpu/ppc4xx/start.o (.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/amcc/ocotea/u-boot.lds +0 -1
@@ -69,7 +69,6 @@ SECTIONS board/amcc/ocotea/init.o (.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/amcc/redwood/u-boot.lds +0 -1
@@ -73,7 +73,6 @@ SECTIONS /* common/env_embedded.o(.text)*/ *(.text) - *(.fixup) *(.got1) } _etext = .;
board/amcc/sequoia/u-boot-nand.lds +0 -1
@@ -62,7 +62,6 @@ SECTIONS . = ALIGN(0x10000); *(.text) - *(.fixup) *(.got1) } _etext = .;
board/amcc/sequoia/u-boot-ram.lds +0 -1
@@ -53,7 +53,6 @@ SECTIONS cpu/ppc4xx/start.o (.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/amcc/sequoia/u-boot.lds +0 -1
@@ -68,7 +68,6 @@ SECTIONS cpu/ppc4xx/start.o (.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/amcc/taihu/u-boot.lds +0 -1
@@ -63,7 +63,6 @@ SECTIONS cpu/ppc4xx/start.o (.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/amcc/taishan/u-boot.lds +0 -1
@@ -69,7 +69,6 @@ SECTIONS board/amcc/taishan/init.o (.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/amcc/walnut/u-boot.lds +0 -1
@@ -63,7 +63,6 @@ SECTIONS cpu/ppc4xx/start.o (.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/amcc/yosemite/u-boot.lds +0 -1
@@ -69,7 +69,6 @@ SECTIONS board/amcc/yosemite/init.o (.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/amcc/yucca/u-boot.lds +0 -1
@@ -69,7 +69,6 @@ SECTIONS board/amcc/yucca/init.o (.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/amirix/ap1000/u-boot.lds +0 -1
@@ -72,7 +72,6 @@ SECTIONS /* common/env_embedded.o(.text)*/ *(.text) - *(.fixup) *(.got1) } _etext = .;
board/c2mon/u-boot.lds +0 -1
@@ -66,7 +66,6 @@ SECTIONS common/env_embedded.o(.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/c2mon/u-boot.lds.debug +0 -1
@@ -64,7 +64,6 @@ SECTIONS common/env_embedded.o(.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/cm5200/u-boot.lds +0 -1
@@ -52,7 +52,6 @@ SECTIONS { cpu/mpc5xxx/start.o (.text) *(.text) - *(.fixup) *(.got1) . = ALIGN(16); *(.eh_frame)
board/cogent/u-boot.lds +0 -1
@@ -54,7 +54,6 @@ SECTIONS { *(.text) common/env_embedded.o(.text) - *(.fixup) *(.got1) } _etext = .;
board/cogent/u-boot.lds.debug +0 -1
@@ -64,7 +64,6 @@ SECTIONS common/env_embedded.o(.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/cray/L1/u-boot.lds +0 -1
@@ -78,7 +78,6 @@ SECTIONS common/env_embedded.o(.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/cray/L1/u-boot.lds.debug +0 -1
@@ -64,7 +64,6 @@ SECTIONS common/env_embedded.o(.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/csb272/u-boot.lds +0 -1
@@ -79,7 +79,6 @@ SECTIONS /* common/env_embedded.o(.text)*/ *(.text) - *(.fixup) *(.got1) } _etext = .;
board/csb472/u-boot.lds +0 -1
@@ -79,7 +79,6 @@ SECTIONS /* common/env_embedded.o(.text)*/ *(.text) - *(.fixup) *(.got1) } _etext = .;
board/dave/PPChameleonEVB/u-boot.lds +0 -1
@@ -73,7 +73,6 @@ SECTIONS lib_generic/zlib.o (.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/eltec/bab7xx/u-boot.lds +0 -1
@@ -63,7 +63,6 @@ SECTIONS /* common/env_embedded.o(.text) */ *(.text) - *(.fixup) *(.got1) } _etext = .;
board/eltec/elppc/u-boot.lds +0 -1
@@ -63,7 +63,6 @@ SECTIONS /* common/env_embedded.o(.text) */ *(.text) - *(.fixup) *(.got1) } _etext = .;
board/eltec/mhpc/u-boot.lds +0 -1
@@ -56,7 +56,6 @@ SECTIONS common/env_embedded.o(.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/eltec/mhpc/u-boot.lds.debug +0 -1
@@ -64,7 +64,6 @@ SECTIONS common/env_embedded.o(.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/emk/top860/u-boot.lds +0 -1
@@ -55,7 +55,6 @@ SECTIONS cpu/mpc8xx/start.o (.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/emk/top860/u-boot.lds.debug +0 -1
@@ -65,7 +65,6 @@ SECTIONS common/env_embedded.o(.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/ep88x/u-boot.lds +0 -1
@@ -54,7 +54,6 @@ SECTIONS { cpu/mpc8xx/start.o (.text) *(.text) - *(.fixup) *(.got1) . = ALIGN(16); *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*)))
board/eric/u-boot.lds +0 -1
@@ -78,7 +78,6 @@ SECTIONS common/env_embedded.o(.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/esd/adciop/u-boot.lds +0 -1
@@ -60,7 +60,6 @@ SECTIONS cpu/ppc4xx/start.o (.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/esd/apc405/u-boot.lds +0 -1
@@ -60,7 +60,6 @@ SECTIONS cpu/ppc4xx/start.o (.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/esd/ar405/u-boot.lds +0 -1
@@ -60,7 +60,6 @@ SECTIONS cpu/ppc4xx/start.o (.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/esd/ash405/u-boot.lds +0 -1
@@ -60,7 +60,6 @@ SECTIONS cpu/ppc4xx/start.o (.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/esd/canbt/u-boot.lds +0 -1
@@ -60,7 +60,6 @@ SECTIONS cpu/ppc4xx/start.o (.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/esd/cms700/u-boot.lds +0 -1
@@ -60,7 +60,6 @@ SECTIONS cpu/ppc4xx/start.o (.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/esd/cpci2dp/u-boot.lds +0 -1
@@ -60,7 +60,6 @@ SECTIONS cpu/ppc4xx/start.o (.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/esd/cpci405/u-boot.lds +0 -1
@@ -60,7 +60,6 @@ SECTIONS cpu/ppc4xx/start.o (.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/esd/cpci750/u-boot.lds +0 -1
@@ -63,7 +63,6 @@ SECTIONS /* common/env_embedded.o(.text) */ *(.text) - *(.fixup) *(.got1) } _etext = .;
board/esd/cpciiser4/u-boot.lds +0 -1
@@ -60,7 +60,6 @@ SECTIONS cpu/ppc4xx/start.o (.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/esd/dasa_sim/u-boot.lds +0 -1
@@ -63,7 +63,6 @@ SECTIONS common/env_embedded.o(.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/esd/dp405/u-boot.lds +0 -1
@@ -60,7 +60,6 @@ SECTIONS cpu/ppc4xx/start.o (.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/esd/du405/u-boot.lds +0 -1
@@ -60,7 +60,6 @@ SECTIONS cpu/ppc4xx/start.o (.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/esd/du440/u-boot.lds +0 -1
@@ -65,7 +65,6 @@ SECTIONS cpu/ppc4xx/start.o (.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/esd/hh405/u-boot.lds +0 -1
@@ -60,7 +60,6 @@ SECTIONS cpu/ppc4xx/start.o (.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/esd/hub405/u-boot.lds +0 -1
@@ -60,7 +60,6 @@ SECTIONS cpu/ppc4xx/start.o (.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/esd/ocrtc/u-boot.lds +0 -1
@@ -75,7 +75,6 @@ SECTIONS /* common/env_embedded.o(.text)*/ *(.text) - *(.fixup) *(.got1) } _etext = .;
board/esd/pci405/u-boot.lds +0 -1
@@ -60,7 +60,6 @@ SECTIONS cpu/ppc4xx/start.o (.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/esd/plu405/u-boot.lds +0 -1
@@ -60,7 +60,6 @@ SECTIONS cpu/ppc4xx/start.o (.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/esd/pmc405/u-boot.lds +0 -1
@@ -60,7 +60,6 @@ SECTIONS cpu/ppc4xx/start.o (.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/esd/pmc405de/u-boot.lds +0 -1
@@ -60,7 +60,6 @@ SECTIONS cpu/ppc4xx/start.o (.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/esd/pmc440/u-boot-nand.lds +0 -1
@@ -62,7 +62,6 @@ SECTIONS . = ALIGN(0x10000); *(.text) - *(.fixup) *(.got1) } _etext = .;
board/esd/pmc440/u-boot.lds +0 -1
@@ -65,7 +65,6 @@ SECTIONS cpu/ppc4xx/start.o (.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/esd/voh405/u-boot.lds +0 -1
@@ -60,7 +60,6 @@ SECTIONS cpu/ppc4xx/start.o (.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/esd/vom405/u-boot.lds +0 -1
@@ -60,7 +60,6 @@ SECTIONS cpu/ppc4xx/start.o (.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/esd/wuh405/u-boot.lds +0 -1
@@ -60,7 +60,6 @@ SECTIONS cpu/ppc4xx/start.o (.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/esteem192e/u-boot.lds +0 -1
@@ -66,7 +66,6 @@ SECTIONS common/env_embedded.o(.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/etx094/u-boot.lds +0 -1
@@ -68,7 +68,6 @@ SECTIONS . = env_offset; common/env_embedded.o(.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/etx094/u-boot.lds.debug +0 -1
@@ -71,7 +71,6 @@ SECTIONS common/env_embedded.o(.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/evb64260/u-boot.lds +0 -1
@@ -63,7 +63,6 @@ SECTIONS /* common/env_embedded.o(.text) */ *(.text) - *(.fixup) *(.got1) } _etext = .;
board/exbitgen/u-boot.lds +0 -1
@@ -77,7 +77,6 @@ SECTIONS common/env_embedded.o(.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/fads/u-boot.lds +0 -1
@@ -56,7 +56,6 @@ SECTIONS common/env_embedded.o (.ppcenv) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/fads/u-boot.lds.debug +0 -1
@@ -65,7 +65,6 @@ SECTIONS common/env_embedded.o(.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/flagadm/u-boot.lds +0 -1
@@ -55,7 +55,6 @@ SECTIONS cpu/mpc8xx/start.o (.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/flagadm/u-boot.lds.debug +0 -1
@@ -64,7 +64,6 @@ SECTIONS common/env_embedded.o(.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/freescale/mpc7448hpc2/u-boot.lds +0 -1
@@ -63,7 +63,6 @@ SECTIONS /* common/env_embedded.o(.text) */ *(.text) - *(.fixup) *(.got1) } _etext = .;
board/freescale/mpc8610hpcd/u-boot.lds +0 -1
@@ -61,7 +61,6 @@ SECTIONS lib_ppc/extable.o (.text) lib_generic/zlib.o (.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/freescale/mpc8641hpcn/u-boot.lds +0 -1
@@ -62,7 +62,6 @@ SECTIONS lib_generic/zlib.o (.text) drivers/bios_emulator/atibios.o (.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/g2000/u-boot.lds +0 -1
@@ -60,7 +60,6 @@ SECTIONS cpu/ppc4xx/start.o (.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/gdsys/dlvision/u-boot.lds +0 -1
@@ -60,7 +60,6 @@ SECTIONS cpu/ppc4xx/start.o (.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/gdsys/gdppc440etx/u-boot.lds +0 -1
@@ -69,7 +69,6 @@ SECTIONS board/gdsys/gdppc440etx/init.o (.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/gdsys/intip/u-boot.lds +0 -1
@@ -69,7 +69,6 @@ SECTIONS board/gdsys/intip/init.o (.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/gdsys/neo/u-boot.lds +0 -1
@@ -60,7 +60,6 @@ SECTIONS cpu/ppc4xx/start.o (.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/gen860t/u-boot-flashenv.lds +0 -1
@@ -57,7 +57,6 @@ SECTIONS { cpu/mpc8xx/start.o (.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/gen860t/u-boot.lds +0 -1
@@ -56,7 +56,6 @@ SECTIONS { cpu/mpc8xx/start.o (.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/genietv/u-boot.lds +0 -1
@@ -65,7 +65,6 @@ SECTIONS . = env_offset; common/env_embedded.o(.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/genietv/u-boot.lds.debug +0 -1
@@ -65,7 +65,6 @@ SECTIONS . = env_offset; common/env_embedded.o(.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/gth/u-boot.lds +0 -1
@@ -55,7 +55,6 @@ SECTIONS cpu/mpc8xx/start.o(.text) *(.text) common/env_embedded.o(.text) - *(.fixup) *(.got1) } _etext = .;
board/hermes/u-boot.lds +0 -1
@@ -66,7 +66,6 @@ SECTIONS common/env_embedded.o(.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/hermes/u-boot.lds.debug +0 -1
@@ -64,7 +64,6 @@ SECTIONS common/env_embedded.o(.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/hymod/u-boot.lds +0 -1
@@ -68,7 +68,6 @@ SECTIONS common/env_embedded.o(.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/hymod/u-boot.lds.debug +0 -1
@@ -64,7 +64,6 @@ SECTIONS common/env_embedded.o(.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/icu862/u-boot.lds +0 -1
@@ -69,7 +69,6 @@ SECTIONS */ *(.text) - *(.fixup) *(.got1) } _etext = .;
board/icu862/u-boot.lds.debug +0 -1
@@ -65,7 +65,6 @@ SECTIONS common/env_embedded.o(.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/ip860/u-boot.lds +0 -1
@@ -66,7 +66,6 @@ SECTIONS common/env_embedded.o(.text) **/ *(.text) - *(.fixup) *(.got1) } _etext = .;
board/ip860/u-boot.lds.debug +0 -1
@@ -65,7 +65,6 @@ SECTIONS common/env_embedded.o(.text) **/ *(.text) - *(.fixup) *(.got1) } _etext = .;
board/ivm/u-boot.lds +0 -1
@@ -55,7 +55,6 @@ SECTIONS cpu/mpc8xx/start.o (.text) common/env_embedded.o(.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/ivm/u-boot.lds.debug +0 -1
@@ -65,7 +65,6 @@ SECTIONS common/env_embedded.o(.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/jse/u-boot.lds +0 -1
@@ -68,7 +68,6 @@ SECTIONS /* common/env_embedded.o(.text)*/ *(.text) - *(.fixup) *(.got1) } _etext = .;
board/keymile/km8xx/u-boot.lds +0 -1
@@ -69,7 +69,6 @@ SECTIONS common/env_embedded.o (.ppcenv) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/korat/u-boot-F7FC.lds +0 -1
@@ -68,7 +68,6 @@ SECTIONS cpu/ppc4xx/start.o (.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/korat/u-boot.lds +0 -1
@@ -68,7 +68,6 @@ SECTIONS cpu/ppc4xx/start.o (.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/kup/kup4k/u-boot.lds +0 -1
@@ -69,7 +69,6 @@ SECTIONS */ *(.text) - *(.fixup) *(.got1) } _etext = .;
board/kup/kup4k/u-boot.lds.debug +0 -1
@@ -64,7 +64,6 @@ SECTIONS common/env_embedded.o(.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/kup/kup4x/u-boot.lds +0 -1
@@ -69,7 +69,6 @@ SECTIONS */ *(.text) - *(.fixup) *(.got1) } _etext = .;
board/kup/kup4x/u-boot.lds.debug +0 -1
@@ -64,7 +64,6 @@ SECTIONS common/env_embedded.o(.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/lantec/u-boot.lds +0 -1
@@ -66,7 +66,6 @@ SECTIONS common/env_embedded.o(.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/lantec/u-boot.lds.debug +0 -1
@@ -64,7 +64,6 @@ SECTIONS common/env_embedded.o(.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/lwmon/u-boot.lds +0 -1
@@ -55,7 +55,6 @@ SECTIONS cpu/mpc8xx/start.o (.text) common/env_embedded.o(.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/lwmon/u-boot.lds.debug +0 -1
@@ -65,7 +65,6 @@ SECTIONS common/env_embedded.o(.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/lwmon5/u-boot.lds +0 -1
@@ -68,7 +68,6 @@ SECTIONS cpu/ppc4xx/start.o (.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/mbx8xx/u-boot.lds +0 -1
@@ -55,7 +55,6 @@ SECTIONS cpu/mpc8xx/start.o (.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/mbx8xx/u-boot.lds.debug +0 -1
@@ -65,7 +65,6 @@ SECTIONS common/env_embedded.o(.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/ml2/u-boot.lds +0 -1
@@ -72,7 +72,6 @@ SECTIONS /* common/env_embedded.o(.text)*/ *(.text) - *(.fixup) *(.got1) } _etext = .;
board/ml2/u-boot.lds.debug +0 -1
@@ -64,7 +64,6 @@ SECTIONS common/env_embedded.o(.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/mousse/u-boot.lds +0 -1
@@ -59,7 +59,6 @@ SECTIONS lib_generic/crc32.o (.text) lib_generic/zlib.o (.text) - *(.fixup) *(.got1) . = ALIGN(16); *(.eh_frame)
board/mousse/u-boot.lds.rom +0 -1
@@ -64,7 +64,6 @@ SECTIONS *(.text) - *(.fixup) *(.got1) . = ALIGN(16); *(.rodata)
board/mpl/mip405/u-boot.lds +0 -1
@@ -82,7 +82,6 @@ SECTIONS /* common/env_embedded.o(.text)*/ *(.text) - *(.fixup) *(.got1) } _etext = .;
board/mpl/pip405/u-boot.lds +0 -1
@@ -77,7 +77,6 @@ SECTIONS /* common/env_embedded.o(.text)*/ *(.text) - *(.fixup) *(.got1) } _etext = .;
board/mpl/pip405/u-boot.lds.debug +0 -1
@@ -64,7 +64,6 @@ SECTIONS common/env_embedded.o(.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/munices/u-boot.lds +0 -1
@@ -54,7 +54,6 @@ SECTIONS { cpu/mpc5xxx/start.o (.text) *(.text) - *(.fixup) *(.got1) . = ALIGN(16); *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*)))
board/nc650/u-boot.lds +0 -1
@@ -54,7 +54,6 @@ SECTIONS { cpu/mpc8xx/start.o (.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/nc650/u-boot.lds.debug +0 -1
@@ -54,7 +54,6 @@ SECTIONS { cpu/mpc8xx/start.o (.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/netphone/u-boot.lds +0 -1
@@ -66,7 +66,6 @@ SECTIONS common/env_embedded.o (.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/netphone/u-boot.lds.debug +0 -1
@@ -64,7 +64,6 @@ SECTIONS common/env_embedded.o(.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/netstal/hcu4/u-boot.lds +0 -1
@@ -65,7 +65,6 @@ SECTIONS /* common/env_embedded.o(.text)*/ *(.text) - *(.fixup) *(.got1) } _etext = .;
board/netstal/hcu5/u-boot.lds +0 -1
@@ -67,7 +67,6 @@ SECTIONS cpu/ppc4xx/start.o (.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/netstal/mcu25/u-boot.lds +0 -1
@@ -65,7 +65,6 @@ SECTIONS /* common/env_embedded.o(.text)*/ *(.text) - *(.fixup) *(.got1) } _etext = .;
board/netta/u-boot.lds +0 -1
@@ -66,7 +66,6 @@ SECTIONS common/env_embedded.o (.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/netta/u-boot.lds.debug +0 -1
@@ -64,7 +64,6 @@ SECTIONS common/env_embedded.o(.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/netta2/u-boot.lds +0 -1
@@ -66,7 +66,6 @@ SECTIONS common/env_embedded.o (.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/netta2/u-boot.lds.debug +0 -1
@@ -64,7 +64,6 @@ SECTIONS common/env_embedded.o(.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/netvia/u-boot.lds +0 -1
@@ -66,7 +66,6 @@ SECTIONS common/env_embedded.o (.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/netvia/u-boot.lds.debug +0 -1
@@ -64,7 +64,6 @@ SECTIONS common/env_embedded.o(.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/nx823/u-boot.lds +0 -1
@@ -56,7 +56,6 @@ SECTIONS common/env_embedded.o(.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/nx823/u-boot.lds.debug +0 -1
@@ -64,7 +64,6 @@ SECTIONS common/env_embedded.o(.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/pcippc2/u-boot.lds +0 -1
@@ -66,7 +66,6 @@ SECTIONS /* common/env_embedded.o(.text) */ *(.text) - *(.fixup) *(.got1) } _etext = .;
board/pcs440ep/u-boot.lds +0 -1
@@ -67,7 +67,6 @@ SECTIONS lib_generic/sha1.o (.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/ppmc7xx/u-boot.lds +0 -1
@@ -63,7 +63,6 @@ SECTIONS /* common/env_embedded.o(.text) */ *(.text) - *(.fixup) *(.got1) } _etext = .;
board/prodrive/alpr/u-boot.lds +0 -1
@@ -69,7 +69,6 @@ SECTIONS board/prodrive/alpr/init.o (.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/prodrive/p3mx/u-boot.lds +0 -1
@@ -63,7 +63,6 @@ SECTIONS /* common/env_embedded.o(.text) */ *(.text) - *(.fixup) *(.got1) } _etext = .;
board/prodrive/p3p440/u-boot.lds +0 -1
@@ -69,7 +69,6 @@ SECTIONS board/prodrive/p3p440/init.o (.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/quad100hd/u-boot.lds +0 -1
@@ -61,7 +61,6 @@ SECTIONS cpu/ppc4xx/start.o (.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/quantum/u-boot.lds +0 -1
@@ -67,7 +67,6 @@ SECTIONS common/env_embedded.o(.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/quantum/u-boot.lds.debug +0 -1
@@ -64,7 +64,6 @@ SECTIONS common/env_embedded.o(.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/r360mpi/u-boot.lds +0 -1
@@ -64,7 +64,6 @@ SECTIONS common/env_embedded.o (.text) ***/ *(.text) - *(.fixup) *(.got1) } _etext = .;
board/rbc823/u-boot.lds +0 -1
@@ -66,7 +66,6 @@ SECTIONS common/env_embedded.o(.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/rmu/u-boot.lds +0 -1
@@ -67,7 +67,6 @@ SECTIONS common/env_embedded.o(.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/rmu/u-boot.lds.debug +0 -1
@@ -64,7 +64,6 @@ SECTIONS common/env_embedded.o(.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/rsdproto/u-boot.lds +0 -1
@@ -54,7 +54,6 @@ SECTIONS { cpu/mpc8260/start.o (.text) *(.text) - *(.fixup) *(.got1) /*. = env_offset; */ }
board/sandburst/karef/u-boot.lds +0 -1
@@ -84,7 +84,6 @@ SECTIONS /* common/env_embedded.o(.text)*/ *(.text) - *(.fixup) *(.got1) } _etext = .;
board/sandburst/karef/u-boot.lds.debug +0 -1
@@ -73,7 +73,6 @@ SECTIONS /* common/env_embedded.o(.text) */ *(.text) - *(.fixup) *(.got1) } _etext = .;
board/sandburst/metrobox/u-boot.lds +0 -1
@@ -84,7 +84,6 @@ SECTIONS /* common/env_embedded.o(.text)*/ *(.text) - *(.fixup) *(.got1) } _etext = .;
board/sandburst/metrobox/u-boot.lds.debug +0 -1
@@ -73,7 +73,6 @@ SECTIONS /* common/env_embedded.o(.text) */ *(.text) - *(.fixup) *(.got1) } _etext = .;
board/sbc405/u-boot.lds +0 -1
@@ -76,7 +76,6 @@ SECTIONS /* common/env_embedded.o(.text)*/ *(.text) - *(.fixup) *(.got1) } _etext = .;
board/sbc8641d/u-boot.lds +0 -1
@@ -61,7 +61,6 @@ SECTIONS lib_ppc/extable.o (.text) lib_generic/zlib.o (.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/sc3/u-boot.lds +0 -1
@@ -77,7 +77,6 @@ SECTIONS /* common/env_embedded.o(.text)*/ *(.text) - *(.fixup) *(.got1) } _etext = .;
board/siemens/CCM/u-boot.lds +0 -1
@@ -66,7 +66,6 @@ SECTIONS common/env_embedded.o(.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/siemens/CCM/u-boot.lds.debug +0 -1
@@ -64,7 +64,6 @@ SECTIONS common/env_embedded.o(.text) */ *(.text) - *(.fixup) *(.got1) } _etext = .;
board/siemens/IAD210/u-boot.lds +0 -1
@@ -64,7 +64,6 @@ SECTIONS common/env_embedded.o(.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/siemens/pcu_e/u-boot.lds +0 -1
@@ -55,7 +55,6 @@ SECTIONS cpu/mpc8xx/start.o (.text) common/env_embedded.o(.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/siemens/pcu_e/u-boot.lds.debug +0 -1
@@ -65,7 +65,6 @@ SECTIONS common/env_embedded.o(.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/sixnet/u-boot.lds +0 -1
@@ -55,7 +55,6 @@ SECTIONS cpu/mpc8xx/start.o (.text) common/env_embedded.o(.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/snmc/qs850/u-boot.lds +0 -1
@@ -69,7 +69,6 @@ SECTIONS common/env_embedded.o (.ppcenv) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/snmc/qs860t/u-boot.lds +0 -1
@@ -69,7 +69,6 @@ SECTIONS common/env_embedded.o (.ppcenv) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/spc1920/u-boot.lds +0 -1
@@ -69,7 +69,6 @@ SECTIONS common/env_embedded.o (.ppcenv) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/spd8xx/u-boot.lds +0 -1
@@ -55,7 +55,6 @@ SECTIONS cpu/mpc8xx/start.o (.text) common/env_embedded.o(.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/spd8xx/u-boot.lds.debug +0 -1
@@ -65,7 +65,6 @@ SECTIONS common/env_embedded.o(.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/stx/stxxtc/u-boot.lds +0 -1
@@ -66,7 +66,6 @@ SECTIONS common/env_embedded.o (.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/stx/stxxtc/u-boot.lds.debug +0 -1
@@ -64,7 +64,6 @@ SECTIONS common/env_embedded.o(.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/svm_sc8xx/u-boot.lds +0 -1
@@ -69,7 +69,6 @@ SECTIONS common/env_embedded.o (.ppcenv) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/svm_sc8xx/u-boot.lds.debug +0 -1
@@ -64,7 +64,6 @@ SECTIONS common/env_embedded.o(.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/tqc/tqm8xx/u-boot.lds +0 -1
@@ -68,7 +68,6 @@ SECTIONS common/env_embedded.o (.ppcenv) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/tqc/tqm8xx/u-boot.lds.debug +0 -1
@@ -64,7 +64,6 @@ SECTIONS common/env_embedded.o(.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/uc100/u-boot.lds +0 -1
@@ -68,7 +68,6 @@ SECTIONS common/env_embedded.o (.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/uc100/u-boot.lds.debug +0 -1
@@ -63,7 +63,6 @@ SECTIONS common/env_embedded.o(.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/v37/u-boot.lds +0 -1
@@ -71,7 +71,6 @@ SECTIONS common/env_embedded.o (.ppcenv) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/w7o/u-boot.lds +0 -1
@@ -60,7 +60,6 @@ SECTIONS cpu/ppc4xx/start.o (.text) board/w7o/init.o (.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/w7o/u-boot.lds.debug +0 -1
@@ -64,7 +64,6 @@ SECTIONS common/env_embedded.o(.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/westel/amx860/u-boot.lds +0 -1
@@ -66,7 +66,6 @@ SECTIONS common/env_embedded.o(.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/westel/amx860/u-boot.lds.debug +0 -1
@@ -65,7 +65,6 @@ SECTIONS common/env_embedded.o(.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/xes/xpedite1000/u-boot.lds +0 -1
@@ -79,7 +79,6 @@ SECTIONS lib_generic/zlib.o (.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/xes/xpedite1000/u-boot.lds.debug +0 -1
@@ -71,7 +71,6 @@ SECTIONS /* common/env_embedded.o(.text) */ *(.text) - *(.fixup) *(.got1) } _etext = .;
board/xes/xpedite5170/config.mk +0 -2
@@ -25,5 +25,3 @@ # XPedite5170 # TEXT_BASE = 0xfff00000 - -PLATFORM_RELFLAGS += -mrelocatable
board/xes/xpedite5200/config.mk +0 -2
@@ -27,5 +27,3 @@ ifndef TEXT_BASE TEXT_BASE = 0xfff80000 endif - -PLATFORM_CPPFLAGS += -mrelocatable
board/xes/xpedite5370/config.mk +0 -2
@@ -27,5 +27,3 @@ ifndef TEXT_BASE TEXT_BASE = 0xfff80000 endif - -PLATFORM_RELFLAGS += -mrelocatable
board/xilinx/ml300/u-boot.lds +0 -1
@@ -74,7 +74,6 @@ SECTIONS /* common/env_embedded.o(.text)*/ *(.text) - *(.fixup) *(.got1) } _etext = .;
board/xilinx/ml300/u-boot.lds.debug +0 -1
@@ -64,7 +64,6 @@ SECTIONS common/env_embedded.o(.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
board/xilinx/ppc405-generic/u-boot-ram.lds +0 -1
@@ -57,7 +57,6 @@ SECTIONS *(.text) - *(.fixup) *(.got1) } _etext = .;
board/xilinx/ppc405-generic/u-boot-rom.lds +0 -1
@@ -67,7 +67,6 @@ SECTIONS *(.text) - *(.fixup) *(.got1) } _etext = .;
board/xilinx/ppc440-generic/u-boot-ram.lds +0 -1
@@ -57,7 +57,6 @@ SECTIONS *(.text) - *(.fixup) *(.got1) } _etext = .;
board/xilinx/ppc440-generic/u-boot-rom.lds +0 -1
@@ -67,7 +67,6 @@ SECTIONS *(.text) - *(.fixup) *(.got1) } _etext = .;
board/zeus/u-boot.lds +0 -1
@@ -60,7 +60,6 @@ SECTIONS cpu/ppc4xx/start.o (.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
cpu/mpc512x/u-boot.lds +0 -1
@@ -51,7 +51,6 @@ SECTIONS { cpu/mpc512x/start.o (.text) *(.text) - *(.fixup) *(.got1) . = ALIGN(16); *(.eh_frame)
cpu/mpc5xx/u-boot.lds +0 -1
@@ -58,7 +58,6 @@ SECTIONS cpu/mpc5xx/start.o (.text) *(.text) - *(.fixup) *(.got1) } _etext = .;
cpu/mpc5xxx/u-boot-customlayout.lds +0 -1
@@ -65,7 +65,6 @@ SECTIONS common/env_embedded.o (.ppcenv) *(.text) - *(.fixup) *(.got1) . = ALIGN(16); *(.eh_frame)
cpu/mpc5xxx/u-boot.lds +0 -1
@@ -54,7 +54,6 @@ SECTIONS { cpu/mpc5xxx/start.o (.text) *(.text) - *(.fixup) *(.got1) . = ALIGN(16); *(.eh_frame)
cpu/mpc8220/u-boot.lds +0 -1
@@ -54,7 +54,6 @@ SECTIONS { cpu/mpc8220/start.o (.text) *(.text) - *(.fixup) *(.got1) . = ALIGN(16); *(.eh_frame)
cpu/mpc824x/u-boot.lds +0 -1
@@ -54,7 +54,6 @@ SECTIONS { cpu/mpc824x/start.o (.text) *(.text) - *(.fixup) *(.got1) . = ALIGN(16); *(.eh_frame)
cpu/mpc8260/u-boot.lds +0 -1
@@ -54,7 +54,6 @@ SECTIONS { cpu/mpc8260/start.o (.text) *(.text) - *(.fixup) *(.got1) . = ALIGN(16); *(.eh_frame)
cpu/mpc83xx/u-boot.lds +0 -1
@@ -52,7 +52,6 @@ SECTIONS { cpu/mpc83xx/start.o (.text) *(.text) - *(.fixup) *(.got1) . = ALIGN(16); *(.eh_frame)
cpu/mpc85xx/u-boot.lds +0 -1
@@ -62,7 +62,6 @@ SECTIONS .text : { *(.text) - *(.fixup) *(.got1) } :text _etext = .;
include/asm-ppc/config.h +3 -0
@@ -45,4 +45,7 @@#define CONFIG_MAX_CPUS 1#endif +/* Relocation to SDRAM works on all PPC boards */ +#define CONFIG_RELOC_FIXUP_WORKS +#endif /* _ASM_CONFIG_H_ */
include/configs/XPEDITE5170.h +0 -1
@@ -36,7 +36,6 @@#define CONFIG_SYS_BOARD_NAME "XPedite5170"#define CONFIG_LINUX_RESET_VEC 0x100/* Reset vector used by Linux */ #define CONFIG_BOARD_EARLY_INIT_R /* Call board_pre_init */ -#define CONFIG_RELOC_FIXUP_WORKS /* Fully relocate to SDRAM */ #define CONFIG_HIGH_BATS 1/* High BATs supported and enabled */ #define CONFIG_ALTIVEC 1
include/configs/XPEDITE5200.h +0 -1
@@ -37,7 +37,6 @@#define CONFIG_XPEDITE5200 1#define CONFIG_SYS_BOARD_NAME "XPedite5200"#define CONFIG_BOARD_EARLY_INIT_R /* Call board_pre_init */ -#define CONFIG_RELOC_FIXUP_WORKS /* Fully relocate to SDRAM */ #define CONFIG_PCI 1/* Enable PCI/PCIE */ #define CONFIG_PCI_PNP 1/* do pci plug-and-play */
include/configs/XPEDITE5370.h +0 -1
@@ -37,7 +37,6 @@#define CONFIG_XPEDITE5370 1#define CONFIG_SYS_BOARD_NAME "XPedite5370"#define CONFIG_BOARD_EARLY_INIT_R /* Call board_pre_init */ -#define CONFIG_RELOC_FIXUP_WORKS /* Fully relocate to SDRAM */ #define CONFIG_PCI 1/* Enable PCI/PCIE */ #define CONFIG_PCI_PNP 1/* do pci plug-and-play */
lib_ppc/config.mk +1 -0
@@ -25,6 +25,7 @@ CROSS_COMPILE ?= ppc_8xx- STANDALONE_LOAD_ADDR = 0x40000 +PLATFORM_RELFLAGS += -mrelocatable PLATFORM_CPPFLAGS += -DCONFIG_PPC -D__powerpc__ PLATFORM_LDFLAGS += -n
Signature · 1 line
1.6.2.1
PATCH 2/13 ppc: Check for compilers that don't support relocation
In reply to Peter TyserCertain ppc compilers are known not to generate the .fixup section properly. The .fixup section is necessary to create a relocatable U-Boot image. A basic check for the existence of the .fixup section should hopefully catch the majority of broken compilers which don't support relocation.
--- lib_ppc/Makefile | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-)
lib_ppc/Makefile +6 -0
@@ -42,6 +42,12 @@ SRCS := $(SOBJS-y:.o=.S) $(COBJS-y:.o=.c) OBJS := $(addprefix $(obj),$(SOBJS-y) $(COBJS-y)) $(LIB): $(obj).depend $(OBJS) + @if ! $(CROSS_COMPILE)readelf -S $(OBJS) | grep -q '\.fixup.*PROGBITS';\ + then \ + echo "ERROR: Your compiler doesn't generate .fixup sections!";\ + echo " Upgrade to a recent toolchain."; \ + exit 1; \ + fi; $(AR) $(ARFLAGS) $@ $(OBJS) #########################################################################
Signature · 1 line
1.6.2.1
PATCH 3/13 ppc: Remove board.c relocation fixups
In reply to Peter Tyser--- lib_ppc/board.c | 50 -------------------------------------------------- 1 files changed, 0 insertions(+), 50 deletions(-)
lib_ppc/board.c +0 -50
@@ -627,13 +627,8 @@ void board_init_f (ulong bootflag)*/ void board_init_r (gd_t *id,ulong dest_addr) { -cmd_tbl_t *cmdtp;char *s;bd_t *bd; -extern void malloc_bin_reloc (void ); -#ifndef CONFIG_ENV_IS_NOWHERE -extern char * env_name_spec; -#endif ulong malloc_start;#ifndef CONFIG_SYS_NO_FLASH
@@ -646,18 +641,7 @@ void board_init_r (gd_t *id, ulong dest_addr) gd->flags |=GD_FLG_RELOC ;/* tell others: relocation done */ /* The Malloc area is immediately below the monitor copy in DRAM */ -#if defined(CONFIG_RELOC_FIXUP_WORKS ) - gd->reloc_off =0 ; malloc_start = dest_addr -TOTAL_MALLOC_LEN ; -#else - gd->reloc_off = dest_addr -CONFIG_SYS_MONITOR_BASE ; - malloc_start =CONFIG_SYS_MONITOR_BASE + gd->reloc_off - -TOTAL_MALLOC_LEN ; -#endif - -#if defined(CONFIG_MPC85xx) || defined(CONFIG_MPC86xx) - gd->cpu += gd->reloc_off; -#endif #ifdef CONFIG_SERIAL_MULTI serial_initialize ();
@@ -682,38 +666,6 @@ void board_init_r (gd_t *id, ulong dest_addr) monitor_flash_len = (ulong )&__init_end - dest_addr; -/* -* We have to relocate the command table manually -*/ -for (cmdtp = &__u_boot_cmd_start; cmdtp != &__u_boot_cmd_end; cmdtp++) { -ulong addr; - addr = (ulong) (cmdtp->cmd) + gd->reloc_off; -#if 0 -printf ("Command \"%s\": 0x%08lx => 0x%08lx\n" , - cmdtp->name, (ulong) (cmdtp->cmd), addr); -#endif - cmdtp->cmd = - (int (*)(struct cmd_tbl_s *,int ,int ,char *[]))addr; - - addr = (ulong)(cmdtp->name) + gd->reloc_off; - cmdtp->name = (char *)addr; - -if (cmdtp->usage) { - addr = (ulong)(cmdtp->usage) + gd->reloc_off; - cmdtp->usage = (char *)addr; - } -#ifdef CONFIG_SYS_LONGHELP -if (cmdtp->help) { - addr = (ulong)(cmdtp->help) + gd->reloc_off; - cmdtp->help = (char *)addr; - } -#endif - } -/* there are some other pointer constants we must deal with */ -#ifndef CONFIG_ENV_IS_NOWHERE - env_name_spec += gd->reloc_off; -#endif -WATCHDOG_RESET ();#ifdef CONFIG_LOGBUFFER
@@ -721,7 +673,6 @@ void board_init_r (gd_t *id, ulong dest_addr)#endif #ifdef CONFIG_POST post_output_backlog (); -post_reloc ();#endif WATCHDOG_RESET ();
@@ -752,7 +703,6 @@ void board_init_r (gd_t *id, ulong dest_addr) asm ("sync ; isync" );mem_malloc_init (malloc_start,TOTAL_MALLOC_LEN ); -malloc_bin_reloc ();#if !defined(CONFIG_SYS_NO_FLASH )puts ("FLASH: " );
Signature · 1 line
1.6.2.1
PATCH 4/13 ppc: Remove pci config table pointer relocation fixups
In reply to Peter Tyser--- board/freescale/mpc8548cds/mpc8548cds.c | 7 ------- board/mpl/common/pci.c | 18 ------------------ board/sbc8548/sbc8548.c | 6 ------ 3 files changed, 0 insertions(+), 31 deletions(-)
board/freescale/mpc8548cds/mpc8548cds.c +0 -7
@@ -276,7 +276,6 @@ pci_init_board(void) {volatile ccsr_fsl_pci_t *pci = (ccsr_fsl_pci_t *)CONFIG_SYS_PCI1_ADDR ;struct pci_controller *hose = &pci1_hose; -struct pci_config_table *table;struct pci_region *r = hose->regions;uint pci_32 = gur->pordevsr & MPC85xx_PORDEVSR_PCI1_PCI32;/* PORDEVSR[15] */
@@ -312,12 +311,6 @@ pci_init_board(void) PCI_REGION_IO); hose->region_count = r - hose->regions; -/* relocate config table pointers */ - hose->config_table = \ - (struct pci_config_table *)((uint )hose->config_table + gd->reloc_off); -for (table = hose->config_table; table && table->vendor; table++) - table->config_device += gd->reloc_off; - hose->first_busno=first_free_busno;fsl_pci_init (hose, (u32)&pci->cfg_addr, (u32)&pci->cfg_data);
board/mpl/common/pci.c +0 -18
@@ -94,29 +94,11 @@ static struct pci_controller hose = { }; -static void reloc_pci_cfg_table (struct pci_config_table *table) -{ -unsigned long addr; - -for (; table && table->vendor; table++) { - addr = (ulong) (table->config_device) + gd->reloc_off; -#ifdef DEBUG -printf ("device \"%d\": 0x%08lx => 0x%08lx\n" , - table->device, (ulong) (table->config_device), addr); -#endif - table->config_device = - (void (*)(struct pci_controller * hose,pci_dev_t dev, -struct pci_config_table *))addr; - table->priv[0 ]+=gd->reloc_off; - } -} -void pci_init_board (void ) {/*we want the ptrs to RAM not flash (ie don't use init list)*/ hose.fixup_irq = pci_pip405_fixup_irq; hose.config_table = pci_pip405_config_table; -reloc_pci_cfg_table (hose.config_table);#ifdef DEBUG printf ("Init PCI: fixup_irq=%p config_table=%p hose=%p\n" ,pci_pip405_fixup_irq,pci_pip405_config_table,hose);#endif
board/sbc8548/sbc8548.c +0 -6
@@ -392,12 +392,6 @@ pci_init_board(void) PCI_REGION_IO); hose->region_count = r - hose->regions; -/* relocate config table pointers */ - hose->config_table = \ - (struct pci_config_table *)((uint )hose->config_table + gd->reloc_off); -for (table = hose->config_table; table && table->vendor; table++) - table->config_device += gd->reloc_off; - hose->first_busno=first_free_busno;fsl_pci_init (hose, (u32)&pci->cfg_addr, (u32)&pci->cfg_data);
Signature · 1 line
1.6.2.1
PATCH 4/13 ppc: Remove pci config table pointer relocation fixups
Quoted 1 line · Peter Tyser
Signed-off-by Peter Tyser <[email protected]>
It looks like something happened during the send of your patches; it seems the long log of what you are trying to fix and how the patch fixes it is missing here and from several of the other patches as well.
Quoted 19 lines
---
?board/freescale/mpc8548cds/mpc8548cds.c | ? ?7 ------- ?board/mpl/common/pci.c ? ? ? ? ? ? ? ? ?| ? 18 ------------------ ?board/sbc8548/sbc8548.c ? ? ? ? ? ? ? ? | ? ?6 ------?3 files changed, 0 insertions(+), 31 deletions(-)
board/freescale/mpc8548cds/mpc8548cds.c +0
-1@@ -276,7 +276,6 @@ pci_init_board(void) ?{ ? ? ? ?volatile ccsr_fsl_pci_t *pci = (ccsr_fsl_pci_t *) CONFIG_SYS_PCI1_ADDR; ? ? ? ?struct pci_controller *hose = &pci1_hose; - ? ? ? struct pci_config_table *table; ? ? ? ?struct pci_region *r = hose->regions;? ? ? ?uint
pci_32=gur->pordevsr&MPC85xx_PORDEVSR_PCI1_PCI32; ? ? ?/* PORDEVSR[15] */
board/freescale/mpc8548cds/mpc8548cds.c pci_init_board(void) · line 319
Quoted 8 lines
board/freescale/mpc8548cds/mpc8548cds.c +0
-5@@ -312,12 +311,6 @@ pci_init_board(void) ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? PCI_REGION_IO); ? ? ? ? ? ? ? ?hose->region_count = r - hose->regions; - ? ? ? ? ? ? ? /* relocate config table pointers */ - ? ? ? ? ? ? ? hose->config_table = \ - ? ? ? ? ? ? ? ? ? ? ? (struct pci_config_table *)((uint)hose->config_table + gd->reloc_off); - ? ? ? ? ? ? ? for (table = hose->config_table; table && table->vendor; table++) - ? ? ? ? ? ? ? ? ? ? ? table->config_device += gd->reloc_off;
For the mpc8548cds, if this removal was somehow the right thing to do, it would still be incomplete; I am sure that there is a dummy function related to a PCI bridge quirk associated with the above change that would now be orphaned in the code.
Quoted 4 lines
board/freescale/mpc8548cds/mpc8548cds.c +0
-1- ? ? ? ? ? ? ? ?hose->first_busno=first_free_busno; ? ? ? ? ? ? ? ?fsl_pci_init(hose, (u32)&pci->cfg_addr, (u32)&pci->cfg_data);
[...]
board/sbc8548/sbc8548.c pci_init_board(void) · line 399
Quoted 13 lines
board/sbc8548/sbc8548.c +0
-5@@ -392,12 +392,6 @@ pci_init_board(void) ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? PCI_REGION_IO); ? ? ? ? ? ? ? ?hose->region_count = r - hose->regions; - ? ? ? ? ? ? ? /* relocate config table pointers */ - ? ? ? ? ? ? ? hose->config_table = \ - ? ? ? ? ? ? ? ? ? ? ? (struct pci_config_table *)((uint)hose->config_table + gd->reloc_off); - ? ? ? ? ? ? ? for (table = hose->config_table; table && table->vendor; table++) - ? ? ? ? ? ? ? ? ? ? ? table->config_device += gd->reloc_off;
This code is already gone from the sbc8548 in the 85xx branch; the sbc8548 didn't need the bridge quirk fixup.
Paul.
Quoted 12 lines
board/sbc8548/sbc8548.c +0
-2- ? ? ? ? ? ? ? ?hose->first_busno=first_free_busno; ? ? ? ? ? ? ? ?fsl_pci_init(hose, (u32)&pci->cfg_addr, (u32)&pci->cfg_data); --1.6.2.1
_______________________________________________
U-Boot mailing list
U-Boot at lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
PATCH 4/13 ppc: Remove pci config table pointer relocation fixups
Quoted 7 lines · Paul Gortmaker
Quoted 1 line · Peter Tyser
Signed-off-by Peter Tyser <[email protected]>It looks like something happened during the send of your patches; it seems the long log of what you are trying to fix and how the patch fixes it is missing here and from several of the other patches as well.
I didn't put long log messages in patches which I thought would be clear what was changing. All the "Remove XYZ relocation fixups" are intended to only remove no longer needed fixups. They shouldn't (hopefully) have any functional change. I can add log messages, but they will all be the same "don't fixup xyz as relocation now works".
Quoted 22 lines
Quoted 22 lines
--- board/freescale/mpc8548cds/mpc8548cds.c | 7 ------- board/mpl/common/pci.c | 18 ------------------ board/sbc8548/sbc8548.c | 6 ------ 3 files changed, 0 insertions(+), 31 deletions(-)board/freescale/mpc8548cds/mpc8548cds.c +0
-1@@ -276,7 +276,6 @@ pci_init_board(void) {volatile ccsr_fsl_pci_t *pci = (ccsr_fsl_pci_t *)CONFIG_SYS_PCI1_ADDR ;struct pci_controller *hose = &pci1_hose; -struct pci_config_table *table;struct pci_region *r = hose->regions;uint pci_32 = gur->pordevsr & MPC85xx_PORDEVSR_PCI1_PCI32;/* PORDEVSR[15] */ @@ -312,12 +311,6 @@ pci_init_board(void) PCI_REGION_IO); hose->region_count = r - hose->regions;
Quoted 10 lines
board/freescale/mpc8548cds/mpc8548cds.c pci_init_board(void) · line 319
Quoted 5 lines
board/freescale/mpc8548cds/mpc8548cds.c +0
-5-/* relocate config table pointers */ - hose->config_table = \ - (struct pci_config_table *)((uint )hose->config_table + gd->reloc_off); -for (table = hose->config_table; table && table->vendor; table++) - table->config_device += gd->reloc_off;For the mpc8548cds, if this removal was somehow the right thing to do, it would still be incomplete; I am sure that there is a dummy function related to a PCI bridge quirk associated with the above change that would now be orphaned in the code.
I didn't intend to make any functional change as I know nothing about this board:) I only intended to remove the references to gd->reloc_off. I looked over this code quickly and came to the conclusion I wasn't changing any functionality, let me know if I'm missing something.
Quoted 15 lines
Quoted 4 lines
board/freescale/mpc8548cds/mpc8548cds.c +0
-1- hose->first_busno=first_free_busno;fsl_pci_init (hose, (u32)&pci->cfg_addr, (u32)&pci->cfg_data);[...]
Quoted 8 lines
board/sbc8548/sbc8548.c +0
-0@@ -392,12 +392,6 @@ pci_init_board(void) PCI_REGION_IO); hose->region_count = r - hose->regions;
Quoted 8 lines
board/sbc8548/sbc8548.c pci_init_board(void) · line 399
Quoted 5 lines
board/sbc8548/sbc8548.c +0
-5-/* relocate config table pointers */ - hose->config_table = \ - (struct pci_config_table *)((uint )hose->config_table + gd->reloc_off); -for (table = hose->config_table; table && table->vendor; table++) - table->config_device += gd->reloc_off;This code is already gone from the sbc8548 in the 85xx branch; the sbc8548 didn't need the bridge quirk fixup.
Thanks for the heads up. Maybe git will gracefully handle this change? If not, I'd prefer to wait till Wolfgang attempts to merge this patch as other things may be merged between now and then and I'd rather just send 1 cleanup patch series.
Best,
Peter
PATCH 4/13 ppc: Remove pci config table pointer relocation fixups
Quoted 8 lines · Peter Tyser
Quoted 6 lines · Paul Gortmaker
Quoted 1 line · Peter Tyser
Signed-off-by Peter Tyser <[email protected]>It looks like something happened during the send of your patches; it seems the long log of what you are trying to fix and how the patch fixes it is missing here and from several of the other patches as well.
Quoted 5 lines
I didn't put long log messages in patches which I thought would be clear what was changing. All the "Remove XYZ relocation fixups" are intended to only remove no longer needed fixups. They shouldn't (hopefully) have any functional change. I can add log messages, but they will all be the same "don't fixup xyz as relocation now works".
I guess even something as basic as that would be better than nothing in my opinion. Folks rummaging through history won't have the benefit of your [0/13] description when they are looking through the change history with git.
Quoted 33 lines
Quoted 23 lines
Quoted 23 lines
--- board/freescale/mpc8548cds/mpc8548cds.c | 7 ------- board/mpl/common/pci.c | 18 ------------------ board/sbc8548/sbc8548.c | 6 ------ 3 files changed, 0 insertions(+), 31 deletions(-)board/freescale/mpc8548cds/mpc8548cds.c +0
-1@@ -276,7 +276,6 @@ pci_init_board(void) {volatile ccsr_fsl_pci_t *pci = (ccsr_fsl_pci_t *)CONFIG_SYS_PCI1_ADDR ;struct pci_controller *hose = &pci1_hose; -struct pci_config_table *table;struct pci_region *r = hose->regions;uint pci_32 = gur->pordevsr & MPC85xx_PORDEVSR_PCI1_PCI32;/* PORDEVSR[15] */ @@ -312,12 +311,6 @@ pci_init_board(void) PCI_REGION_IO); hose->region_count = r - hose->regions;Quoted 9 lines
board/freescale/mpc8548cds/mpc8548cds.c pci_init_board(void) · line 319
Quoted 5 lines
board/freescale/mpc8548cds/mpc8548cds.c +0
-5-/* relocate config table pointers */ - hose->config_table = \ - (struct pci_config_table *)((uint )hose->config_table + gd->reloc_off); -for (table = hose->config_table; table && table->vendor; table++) - table->config_device += gd->reloc_off;For the mpc8548cds, if this removal was somehow the right thing to do, it would still be incomplete; I am sure that there is a dummy function related to a PCI bridge quirk associated with the above change that would now be orphaned in the code.
Quoted 4 lines
I didn't intend to make any functional change as I know nothing about this board:) I only intended to remove the references to
gd->reloc_off. I looked over this code quickly and came to the conclusion I wasn't changing any functionality, let me know if I'm missing something.
OK, I just went and looked, and I think that you are correct. The config_table with the dummy function is still hooked in via the static pci1_hose initialization; sorry for the noise.
Quoted 23 lines
Quoted 15 lines
Quoted 5 lines
board/freescale/mpc8548cds/mpc8548cds.c +0
-1- hose->first_busno=first_free_busno;fsl_pci_init (hose, (u32)&pci->cfg_addr, (u32)&pci->cfg_data);[...]
Quoted 8 lines
board/sbc8548/sbc8548.c +0
-0@@ -392,12 +392,6 @@ pci_init_board(void) PCI_REGION_IO); hose->region_count = r - hose->regions;Quoted 7 lines
board/sbc8548/sbc8548.c pci_init_board(void) · line 399
Quoted 5 lines
board/sbc8548/sbc8548.c +0
-5-/* relocate config table pointers */ - hose->config_table = \ - (struct pci_config_table *)((uint )hose->config_table + gd->reloc_off); -for (table = hose->config_table; table && table->vendor; table++) - table->config_device += gd->reloc_off;This code is already gone from the sbc8548 in the 85xx branch; the sbc8548 didn't need the bridge quirk fixup.
Quoted 1 line
Thanks for the heads up. Maybe git will gracefully handle this change?
Depends on your definition of "gracefully", I guess. :-)
Quoted 3 lines
If not, I'd prefer to wait till Wolfgang attempts to merge this patch as other things may be merged between now and then and I'd rather just send 1 cleanup patch series.
Makes sense.
Paul.
Quoted 4 lines
Best,
Peter
PATCH 5/13 ppc: Remove extable relocation fixups
In reply to Peter Tyser--- lib_ppc/extable.c | 26 ++++++-------------------- 1 files changed, 6 insertions(+), 20 deletions(-)
lib_ppc/extable.c +6 -20
@@ -53,27 +53,13 @@ search_one_table(const struct exception_table_entry *first, unsigned long value) {long diff; -if ((ulong ) first >CONFIG_SYS_MONITOR_BASE ) { -/* exception occurs in FLASH, before u-boot relocation. -* No relocation offset is needed. -*/ -while (first <= last) { - diff = first->insn - value; -if (diff ==0 ) -return first->fixup; - first++; - } - }else { -/* exception occurs in RAM, after u-boot relocation. -* A relocation offset should be added. -*/ -while (first <= last) { - diff = (first->insn + gd->reloc_off) - value; -if (diff ==0 ) -return (first->fixup + gd->reloc_off); - first++; - } +while (first <= last) { + diff = first->insn - value; +if (diff ==0 ) +return first->fixup; + first++; } +return 0 ; }
Signature · 1 line
1.6.2.1
PATCH 6/13 ppc: Remove board-specific command table relocation fixups
In reply to Peter Tyser--- board/digsy_mtc/cmd_mtc.c | 30 ------------------------------ board/digsy_mtc/digsy_mtc.c | 2 -- board/inka4x0/inka4x0.c | 10 ---------- board/inka4x0/inkadiag.c | 28 ---------------------------- include/configs/inka4x0.h | 1 - 5 files changed, 0 insertions(+), 71 deletions(-)
board/digsy_mtc/cmd_mtc.c +0 -30
@@ -320,36 +320,6 @@ static int do_mtc_help(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]) ARRAY_SIZE(cmd_mtc_sub), cmdtp, flag, argc, argv); } -/* Relocate the command table function pointers when running in RAM */ -int mtc_cmd_init_r (void ) -{ -cmd_tbl_t *cmdtp; - -for (cmdtp = &cmd_mtc_sub[0 ]; cmdtp != - &cmd_mtc_sub[ARRAY_SIZE (cmd_mtc_sub)]; cmdtp++) { -ulong addr; - - addr = (ulong)(cmdtp->cmd) + gd->reloc_off; - cmdtp->cmd = - (int (*)(struct cmd_tbl_s *,int ,int ,char *[]))addr; - - addr = (ulong)(cmdtp->name) + gd->reloc_off; - cmdtp->name = (char *)addr; - -if (cmdtp->usage) { - addr = (ulong)(cmdtp->usage) + gd->reloc_off; - cmdtp->usage = (char *)addr; - } -#ifdef CONFIG_SYS_LONGHELP -if (cmdtp->help) { - addr = (ulong)(cmdtp->help) + gd->reloc_off; - cmdtp->help = (char *)addr; - } -#endif - } -return 0 ; -} -int cmd_mtc (cmd_tbl_t *cmdtp,int flag,int argc,char *argv[]) {cmd_tbl_t *c;
board/digsy_mtc/digsy_mtc.c +0 -2
@@ -240,7 +240,6 @@ void board_get_enetaddr (uchar * enet)int misc_init_r (void ) { -extern int mtc_cmd_init_r (void );uchar enetaddr[6 ];if (!eth_getenv_enetaddr ("ethaddr" , enetaddr)) {
@@ -248,7 +247,6 @@ int misc_init_r(void)eth_setenv_enetaddr ("ethaddr" , enetaddr); } -mtc_cmd_init_r ();return 0 ; }
board/inka4x0/inka4x0.c +0 -10
@@ -177,16 +177,6 @@ void flash_preinit(void)clrbits_be32 (&lpb->cs0_cfg,0x1 );/* clear RO */ } -int misc_init_r (void ) { -extern int inkadiag_init_r (void ); - -/* -* The command table used for the subcommands of inkadiag -* needs to be relocated manually. -*/ -return inkadiag_init_r (); -} -int misc_init_f (void ) { volatile struct mpc5xxx_gpio *gpio =
board/inka4x0/inkadiag.c +0 -28
@@ -484,31 +484,3 @@ U_BOOT_CMD(inkadiag, 6, 1, do_inkadiag,"[inkadiag what ...]\n" " - perform a diagnosis on inka hardware\n" "'inkadiag' performs hardware tests."); - -/* Relocate the command table function pointers when running in RAM */ -int inkadiag_init_r (void ) { -cmd_tbl_t *cmdtp; - -for (cmdtp = &cmd_inkadiag_sub[0 ]; cmdtp != - &cmd_inkadiag_sub[ARRAY_SIZE (cmd_inkadiag_sub)]; cmdtp++) { -ulong addr; - - addr = (ulong) (cmdtp->cmd) + gd->reloc_off; - cmdtp->cmd = (int (*)(struct cmd_tbl_s *,int ,int ,char *[]))addr; - - addr = (ulong)(cmdtp->name) + gd->reloc_off; - cmdtp->name = (char *)addr; - -if (cmdtp->usage) { - addr = (ulong)(cmdtp->usage) + gd->reloc_off; - cmdtp->usage = (char *)addr; - } -#ifdef CONFIG_SYS_LONGHELP -if (cmdtp->help) { - addr = (ulong)(cmdtp->help) + gd->reloc_off; - cmdtp->help = (char *)addr; - } -#endif - } -return 0 ; -}
include/configs/inka4x0.h +0 -1
@@ -42,7 +42,6 @@#define BOOTFLAG_WARM 0x02/* Software reboot */ #define CONFIG_MISC_INIT_F 1/* Use misc_init_f() */ -#define CONFIG_MISC_INIT_R 1/* Use misc_init_r() */ #define CONFIG_HIGH_BATS 1/* High BATs supported */
Signature · 1 line
1.6.2.1
PATCH 7/13 tsec: Remove PHY command relocation fixups
In reply to Peter Tyser--- drivers/net/tsec.c | 49 ------------------------------------------------- 1 files changed, 0 insertions(+), 49 deletions(-)
drivers/net/tsec.c +0 -49
@@ -35,8 +35,6 @@ typedef volatile struct rtxbd {#define MAXCONTROLLERS (8) -static int relocated =0 ; -static struct tsec_private *privlist[MAXCONTROLLERS ];static int num_tsecs =0 ;
@@ -59,7 +57,6 @@ uint read_phy_reg(struct tsec_private *priv, uint regnum);struct phy_info *get_phy_info (struct eth_device *dev);void phy_run_commands (struct tsec_private *priv,struct phy_cmd *cmd);static void adjust_link (struct eth_device *dev); -static void relocate_cmds (void );#if defined(CONFIG_MII ) || defined(CONFIG_CMD_MII ) \ && !defined(BITBANGMII ) static int tsec_miiphy_write(char *devname, unsigned char addr,
@@ -321,9 +318,6 @@ static int init_phy(struct eth_device *dev) asm("sync" );while (priv->phyregs->miimind &MIIMIND_BUSY ) ; -if (0 == relocated) -relocate_cmds (); -/* Get the cmd structure corresponding to the attached * PHY */ curphy =get_phy_info (dev);
@@ -1800,49 +1794,6 @@ void phy_run_commands(struct tsec_private *priv, struct phy_cmd *cmd) } } -/* Relocate the function pointers in the phy cmd lists */ -static void relocate_cmds (void ) -{ -struct phy_cmd **cmdlistptr; -struct phy_cmd *cmd; -int i, j, k; - -for (i =0 ; phy_info[i]; i++) { -/* First thing's first: relocate the pointers to the -* PHY command structures (the structs were done) */ - phy_info[i] = (struct phy_info *)((uint ) phy_info[i] - + gd->reloc_off); - phy_info[i]->name += gd->reloc_off; - phy_info[i]->config = - (struct phy_cmd *)((uint ) phy_info[i]->config - + gd->reloc_off); - phy_info[i]->startup = - (struct phy_cmd *)((uint ) phy_info[i]->startup - + gd->reloc_off); - phy_info[i]->shutdown = - (struct phy_cmd *)((uint ) phy_info[i]->shutdown - + gd->reloc_off); - - cmdlistptr = &phy_info[i]->config; - j =0 ; -for (; cmdlistptr <= &phy_info[i]->shutdown; cmdlistptr++) { - k =0 ; -for (cmd = *cmdlistptr; - cmd->mii_reg != miim_end; - cmd++) { -/* Only relocate non-NULL pointers */ -if (cmd->funct) - cmd->funct += gd->reloc_off; - - k++; - } - j++; - } - } - - relocated =1 ; -} -#if defined(CONFIG_MII ) || defined(CONFIG_CMD_MII ) \ && !defined(BITBANGMII )
Signature · 1 line
1.6.2.1
PATCH 8/13 fpga: Remove relocation fixups
In reply to Peter TyserPPC boards are the only users of the current FPGA code which is littered with manual relocation fixups. Now that proper relocation is supported for PPC boards, remove FPGA manual relocation.
--- board/esd/pmc440/fpga.c | 6 +- board/gen860t/fpga.c | 5 +- board/matrix_vision/mvbc_p/fpga.c | 7 +- board/matrix_vision/mvblm7/fpga.c | 6 +- board/prodrive/alpr/fpga.c | 4 +- drivers/fpga/ACEX1K.c | 96 ------------------- drivers/fpga/altera.c | 39 -------- drivers/fpga/cyclon2.c | 91 ------------------ drivers/fpga/fpga.c | 53 +---------- drivers/fpga/spartan2.c | 187 ------------------------------------- drivers/fpga/spartan3.c | 185 ------------------------------------ drivers/fpga/stratixII.c | 24 ----- drivers/fpga/virtex2.c | 118 ----------------------- drivers/fpga/xilinx.c | 42 -------- include/ACEX1K.h | 4 - include/altera.h | 1 - include/fpga.h | 2 +- include/spartan2.h | 3 - include/spartan3.h | 3 - include/stratixII.h | 1 - include/virtex2.h | 3 - include/xilinx.h | 1 - 22 files changed, 18 insertions(+), 863 deletions(-)
board/esd/pmc440/fpga.c +3 -3
@@ -442,9 +442,9 @@ int pmc440_init_fpga(void) {char *s; -debug ("%s:%d: Initialize FPGA interface (relocation offset = 0x%.8lx)\n" , - __FUNCTION__, __LINE__, gd->reloc_off); -fpga_init (gd->reloc_off); +debug ("%s:%d: Initialize FPGA interface\n" , + __FUNCTION__, __LINE__); +fpga_init ();fpga_serialslave_init ();debug ("%s:%d: Adding fpga 0\n" , __FUNCTION__, __LINE__);
board/gen860t/fpga.c +3 -2
@@ -193,8 +193,9 @@ int gen860t_init_fpga (void) {int i; -PRINTF ("%s:%d: Initialize FPGA interface (relocation offset = 0x%.8lx)\n" , __FUNCTION__, __LINE__, gd->reloc_off); -fpga_init (gd->reloc_off); +PRINTF ("%s:%d: Initialize FPGA interface\n" , + __FUNCTION__, __LINE__); +fpga_init ();fpga_selectmap_init ();for (i =0 ; i <CONFIG_FPGA_COUNT ; i++) {
board/matrix_vision/mvbc_p/fpga.c +2 -5
@@ -46,7 +46,6 @@ Altera_CYC2_Passive_Serial_fns altera_fns = { fpga_wr_fn, fpga_null_fn, fpga_null_fn, -0 }; Altera_desc cyclone2 = {
@@ -55,16 +54,14 @@ Altera_desc cyclone2 = { Altera_EP2C8_SIZE, (void *) &altera_fns,NULL , - 0 };DECLARE_GLOBAL_DATA_PTR ;int mvbc_p_init_fpga (void ) { -fpga_debug ("Initialize FPGA interface (reloc 0x%.8lx)\n" , - gd->reloc_off); -fpga_init (gd->reloc_off); +fpga_debug ("Initialize FPGA interface\n" ); +fpga_init ();fpga_add (fpga_altera, &cyclone2);fpga_config_fn (0 ,1 ,0 );udelay (60 );
board/matrix_vision/mvblm7/fpga.c +2 -4
@@ -46,7 +46,6 @@ Altera_CYC2_Passive_Serial_fns altera_fns = { fpga_wr_fn, fpga_null_fn, fpga_null_fn, -0 }; Altera_desc cyclone2 = {
@@ -62,9 +61,8 @@ DECLARE_GLOBAL_DATA_PTR;int mvblm7_init_fpga (void ) { -fpga_debug ("Initialize FPGA interface (reloc 0x%.8lx)\n" , - gd->reloc_off); -fpga_init (gd->reloc_off); +fpga_debug ("Initialize FPGA interface\n" ); +fpga_init ();fpga_add (fpga_altera, &cyclone2);fpga_config_fn (0 ,1 ,0 );udelay (60 );
board/prodrive/alpr/fpga.c +2 -2
@@ -244,8 +244,8 @@ int alpr_fpga_init (void) {int i; -PRINTF ("%s:%d: Initialize FPGA interface (relocation offset = 0x%.8lx)\n" , __FUNCTION__, __LINE__, gd->reloc_off); -fpga_init (gd->reloc_off); +PRINTF ("%s:%d: Initialize FPGA interface\n" , __FUNCTION__, __LINE__); +fpga_init ();for (i =0 ; i <CONFIG_FPGA_COUNT ; i++) {PRINTF ("%s:%d: Adding fpga %d\n" , __FUNCTION__, __LINE__, i);
drivers/fpga/ACEX1K.c +0 -96
111 lines not on this page · raw message
drivers/fpga/altera.c +0 -39
@@ -211,45 +211,6 @@ int altera_info( Altera_desc *desc )return ret_val; } -int altera_reloc (Altera_desc *desc,ulong reloc_offset) -{ -int ret_val =FPGA_FAIL ;/* assume a failure */ - -if (!altera_validate (desc, (char *)__FUNCTION__)) { -printf ("%s: Invalid device descriptor\n" , __FUNCTION__); - }else { -switch (desc->family) { -case Altera_ACEX1K: -#if defined(CONFIG_FPGA_ACEX1K ) - ret_val =ACEX1K_reloc (desc, reloc_offset); -#else -printf ("%s: No support for ACEX devices.\n" , - __FUNCTION__); -#endif -break ; -#if defined(CONFIG_FPGA_STRATIX_II ) -case Altera_StratixII: - ret_val =StratixII_reloc (desc, reloc_offset); -break ; -#endif -case Altera_CYC2: -#if defined(CONFIG_FPGA_CYCLON2 ) - ret_val =CYC2_reloc (desc, reloc_offset); -#else -printf ("%s: No support for CYCLON II devices.\n" , - __FUNCTION__); -#endif -break ; -/* Add new family types here */ -default : -printf ("%s: Unsupported family type, %d\n" , - __FUNCTION__, desc->family); - } - } - -return ret_val; -} -/* ------------------------------------------------------------------------- */ static int altera_validate (Altera_desc * desc,const char *fn)
drivers/fpga/cyclon2.c +0 -91
106 lines not on this page · raw message
drivers/fpga/fpga.c +5 -48
82 lines not on this page · raw message
drivers/fpga/spartan2.c +0 -187
212 lines not on this page · raw message
drivers/fpga/spartan3.c +0 -185
210 lines not on this page · raw message
drivers/fpga/stratixII.c +0 -24
@@ -77,30 +77,6 @@ int StratixII_info (Altera_desc * desc)return FPGA_SUCCESS ; } -int StratixII_reloc (Altera_desc * desc,ulong reloc_offset) -{ -int i; -uint32_t dest = (uint32_t ) desc &0xff000000 ; - -/* we assume a relocated code and non relocated code has different upper 8 bits */ -if (dest != ((uint32_t ) desc->iface_fns &0xff000000 )) { - desc->iface_fns = - (void *)((uint32_t ) (desc->iface_fns) + reloc_offset); - } -for (i =0 ; i <sizeof (altera_board_specific_func) /sizeof (void *); - i++) { -if (dest != - ((uint32_t ) (((void **)(desc->iface_fns))[i]) &0xff000000 )) - { - ((void **)(desc->iface_fns))[i] = - (void - *)(((uint32_t ) (((void **)(desc->iface_fns))[i])) + - reloc_offset); - } - } -return FPGA_SUCCESS ; -} -int StratixII_ps_fpp_dump (Altera_desc * desc,void *buf,size_t bsize) {printf ("Stratix II Fast Passive Parallel dump is not implemented\n" );
drivers/fpga/virtex2.c +0 -118
143 lines not on this page · raw message
drivers/fpga/xilinx.c +0 -42
48 lines not on this page · raw message
include/ACEX1K.h +0 -4
@@ -33,12 +33,10 @@extern int ACEX1K_load (Altera_desc *desc,void *image,size_t size );extern int ACEX1K_dump (Altera_desc *desc,void *buf,size_t bsize );extern int ACEX1K_info (Altera_desc *desc ); -extern int ACEX1K_reloc (Altera_desc *desc,ulong reloc_off );extern int CYC2_load (Altera_desc *desc,void *image,size_t size );extern int CYC2_dump (Altera_desc *desc,void *buf,size_t bsize );extern int CYC2_info (Altera_desc *desc ); -extern int CYC2_reloc (Altera_desc *desc,ulong reloc_off );/* Slave Serial Implementation function table */ typedef struct {
@@ -50,7 +48,6 @@ typedef struct {Altera_data_fn data;Altera_abort_fn abort;Altera_post_fn post; -int relocated; } Altera_ACEX1K_Passive_Serial_fns;/* Slave Serial Implementation function table */
@@ -62,7 +59,6 @@ typedef struct {Altera_write_fn write;Altera_abort_fn abort;Altera_post_fn post; -int relocated; } Altera_CYC2_Passive_Serial_fns;/* Device Image Sizes
include/altera.h +0 -1
@@ -79,7 +79,6 @@ typedef struct { /* typedef Altera_desc */extern int altera_load (Altera_desc *desc,void *image,size_t size );extern int altera_dump (Altera_desc *desc,void *buf,size_t bsize );extern int altera_info (Altera_desc *desc ); -extern int altera_reloc (Altera_desc *desc,ulong reloc_offset );/* Board specific implementation specific function types *********************************************************************/
include/fpga.h +1 -1
@@ -71,7 +71,7 @@ typedef struct { /* typedef fpga_desc *//* root function definitions */ -extern void fpga_init (ulong reloc_off ); +extern void fpga_init (void );extern int fpga_add (fpga_type devtype,void *desc );extern int fpga_count (void );extern int fpga_load (int devnum,void *buf,size_t bsize );
include/spartan2.h +0 -3
@@ -30,7 +30,6 @@extern int Spartan2_load (Xilinx_desc *desc,void *image,size_t size );extern int Spartan2_dump (Xilinx_desc *desc,void *buf,size_t bsize );extern int Spartan2_info (Xilinx_desc *desc ); -extern int Spartan2_reloc (Xilinx_desc *desc,ulong reloc_off );/* Slave Parallel Implementation function table */ typedef struct {
@@ -47,7 +46,6 @@ typedef struct {Xilinx_busy_fn busy;Xilinx_abort_fn abort;Xilinx_post_fn post; -int relocated; } Xilinx_Spartan2_Slave_Parallel_fns;/* Slave Serial Implementation function table */
@@ -59,7 +57,6 @@ typedef struct {Xilinx_done_fn done;Xilinx_wr_fn wr;Xilinx_post_fn post; -int relocated; } Xilinx_Spartan2_Slave_Serial_fns;/* Device Image Sizes
include/spartan3.h +0 -3
@@ -30,7 +30,6 @@extern int Spartan3_load (Xilinx_desc *desc,void *image,size_t size );extern int Spartan3_dump (Xilinx_desc *desc,void *buf,size_t bsize );extern int Spartan3_info (Xilinx_desc *desc ); -extern int Spartan3_reloc (Xilinx_desc *desc,ulong reloc_off );/* Slave Parallel Implementation function table */ typedef struct {
@@ -47,7 +46,6 @@ typedef struct {Xilinx_busy_fn busy;Xilinx_abort_fn abort;Xilinx_post_fn post; -int relocated; } Xilinx_Spartan3_Slave_Parallel_fns;/* Slave Serial Implementation function table */
@@ -59,7 +57,6 @@ typedef struct {Xilinx_done_fn done;Xilinx_wr_fn wr;Xilinx_post_fn post; -int relocated; } Xilinx_Spartan3_Slave_Serial_fns;/* Device Image Sizes
include/stratixII.h +0 -1
@@ -27,6 +27,5 @@extern int StratixII_load (Altera_desc * desc,void *image,size_t size);extern int StratixII_dump (Altera_desc * desc,void *buf,size_t bsize);extern int StratixII_info (Altera_desc * desc); -extern int StratixII_reloc (Altera_desc * desc,ulong reloc_off);#endif /* _STRATIXII_H_ */
include/virtex2.h +0 -3
@@ -31,7 +31,6 @@extern int Virtex2_load (Xilinx_desc *desc,void *image,size_t size );extern int Virtex2_dump (Xilinx_desc *desc,void *buf,size_t bsize );extern int Virtex2_info (Xilinx_desc *desc ); -extern int Virtex2_reloc (Xilinx_desc *desc,ulong reloc_off );/* * Slave SelectMap Implementation function table.
@@ -50,7 +49,6 @@ typedef struct {Xilinx_busy_fn busy;Xilinx_abort_fn abort;Xilinx_post_fn post; -int relocated; } Xilinx_Virtex2_Slave_SelectMap_fns;/* Slave Serial Implementation function table */
@@ -59,7 +57,6 @@ typedef struct {Xilinx_clk_fn clk;Xilinx_rdata_fn rdata;Xilinx_wdata_fn wdata; -int relocated; } Xilinx_Virtex2_Slave_Serial_fns;/* Device Image Sizes (in bytes)
include/xilinx.h +0 -1
@@ -84,7 +84,6 @@ typedef struct { /* typedef Xilinx_desc */extern int xilinx_load (Xilinx_desc *desc,void *image,size_t size );extern int xilinx_dump (Xilinx_desc *desc,void *buf,size_t bsize );extern int xilinx_info (Xilinx_desc *desc ); -extern int xilinx_reloc (Xilinx_desc *desc,ulong reloc_offset );/* Board specific implementation specific function types *********************************************************************/
Signature · 1 line
1.6.2.1
PATCH 9/13 mpl: Remove memory test relocation fixups
In reply to Peter Tyser--- board/mpl/common/memtst.c | 26 -------------------------- board/mpl/mip405/mip405.c | 3 +-- board/mpl/pati/pati.c | 2 -- board/mpl/vcma9/vcma9.c | 3 --- 4 files changed, 1 insertions(+), 33 deletions(-)
board/mpl/common/memtst.c +0 -26
@@ -468,32 +468,6 @@ static RAM_MEMTEST_FUNC test_stage[TEST_STAGES] = { RAM_MemTest_CheckRandomPattern, NULL} }; -void mem_test_reloc (void ) -{ -unsigned long addr; -int i; -for (i=0 ; i<TEST_STAGES ; i++) { - addr = (ulong) (test_stage[i].test_write) + gd->reloc_off; - test_stage[i].test_write= - (void (*) (unsigned long startaddr,unsigned long size, -unsigned long *pat))addr; - addr = (ulong) (test_stage[i].test_write_desc) + gd->reloc_off; - test_stage[i].test_write_desc=(char *)addr; -if (test_stage[i].test_check1) { - addr = (ulong) (test_stage[i].test_check1) + gd->reloc_off; - test_stage[i].test_check1= - (void *(*) (int mode,unsigned long startaddr, -unsigned long size,unsigned long *pat))addr; - } -if (test_stage[i].test_check2) { - addr = (ulong) (test_stage[i].test_check2) + gd->reloc_off; - test_stage[i].test_check2= - (void *(*) (int mode,unsigned long startaddr, -unsigned long size,unsigned long *pat))addr; - } - } -} -int mem_test (unsigned long start,unsigned long ramsize,int quiet) {
board/mpl/mip405/mip405.c +1 -2
@@ -717,7 +717,6 @@ int post_hotkeys_pressed(void) }#endif -extern void mem_test_reloc (void );extern int mk_date (char *,struct rtc_time *);int last_stage_init (void )
@@ -725,7 +724,7 @@ int last_stage_init (void)unsigned long stop;struct rtc_time newtm;char *s; -mem_test_reloc (); +/* write correct LED configuration */ if (miiphy_write ("ppc_4xx_eth0" ,0x1 ,0x14 ,0x2402 ) !=0 ) {printf ("Error writing to the PHY\n" );
board/mpl/pati/pati.c +0 -2
@@ -144,7 +144,6 @@ const sdram_t sdram_table[] = {extern int mem_test (unsigned long start,unsigned long ramsize,int quiet); -extern void mem_test_reloc (void );/* * Get RAM size.
@@ -334,7 +333,6 @@ void user_led1(int led_on)****************************************************************/ int last_stage_init (void ) { -mem_test_reloc ();init_ios ();return 0 ; }
board/mpl/vcma9/vcma9.c +0 -3
@@ -312,11 +312,8 @@ int checkboard(void) } -extern void mem_test_reloc (void ); -int last_stage_init (void ) { -mem_test_reloc ();checkboard ();stdio_print_current_devices ();check_env ();
Signature · 1 line
1.6.2.1
PATCH 10/13 lwmon, lwmon5: Remove sysmon POST relocation fixups
In reply to Peter Tyser--- post/board/lwmon/sysmon.c | 17 +---------------- post/board/lwmon5/sysmon.c | 17 +---------------- 2 files changed, 2 insertions(+), 32 deletions(-)
post/board/lwmon/sysmon.c +1 -16
@@ -56,8 +56,6 @@ static int sysmon_temp_invalid = 0;/* #define DEBUG */ -#define RELOC (x) if (x != NULL) x = (void *) ((ulong) (x) + gd->reloc_off) -typedef struct sysmon_s sysmon_t ;typedef struct sysmon_table_s sysmon_table_t ;
@@ -159,20 +157,7 @@ int sysmon_init_f (void)void sysmon_reloc (void ) { -sysmon_t ** l; -sysmon_table_t * t; - -for (l = sysmon_list; *l; l++) { -RELOC (*l); -RELOC ((*l)->init); -RELOC ((*l)->read); - } - -for (t = sysmon_table; t < sysmon_table + sysmon_table_size; t ++) { -RELOC (t->exec_before); -RELOC (t->exec_after); -RELOC (t->sysmon); - } +/* Do nothing for now, sysmon_reloc() is required by the sysmon post */ }static char *sysmon_unit_value (sysmon_table_t *s,uint val)
post/board/lwmon5/sysmon.c +1 -16
@@ -58,8 +58,6 @@ DECLARE_GLOBAL_DATA_PTR;/* from dspic.c */ extern int dspic_read (ushort reg); -#define RELOC (x) if (x != NULL) x = (void *) ((ulong) (x) + gd->reloc_off) -#define REG_TEMPERATURE 0x12BC#define REG_VOLTAGE_5V 0x12CA#define REG_VOLTAGE_5V_STANDBY 0x12C6
@@ -160,20 +158,7 @@ int sysmon_init_f (void)void sysmon_reloc (void ) { -sysmon_t ** l; -sysmon_table_t * t; - -for (l = sysmon_list; *l; l++) { -RELOC (*l); -RELOC ((*l)->init); -RELOC ((*l)->read); - } - -for (t = sysmon_table; t < sysmon_table + sysmon_table_size; t ++) { -RELOC (t->exec_before); -RELOC (t->exec_after); -RELOC (t->sysmon); - } +/* Do nothing for now, sysmon_reloc() is required by the sysmon post */ }static char *sysmon_unit_value (sysmon_table_t *s,uint val)
Signature · 1 line
1.6.2.1
PATCH 11/13 p3mx: Remove serial relocation fixups
In reply to Peter Tyser--- board/prodrive/p3mx/p3mx.c | 10 ---------- include/configs/p3mx.h | 1 - 2 files changed, 0 insertions(+), 11 deletions(-)
board/prodrive/p3mx/p3mx.c +0 -10
@@ -316,16 +316,6 @@ int misc_init_r ()return 0 ; } -int board_early_init_r (void ) -{ -/* now relocate the debug serial driver */ - mpsc_putchar += gd->reloc_off; - mpsc_getchar += gd->reloc_off; - mpsc_test_char += gd->reloc_off; - -return 0 ; -} -void after_reloc (ulong dest_addr,gd_t * gd) {memoryMapDeviceSpace (BOOT_DEVICE ,CONFIG_SYS_BOOT_SPACE ,CONFIG_SYS_BOOT_SIZE );
include/configs/p3mx.h +0 -1
@@ -59,7 +59,6 @@/* which initialization functions to call for this board */ #define CONFIG_SYS_BOARD_ASM_INIT 1#define CONFIG_BOARD_EARLY_INIT_F 1/* Call board_early_init_f */ -#define CONFIG_BOARD_EARLY_INIT_R 1/* Call board_early_init_f */ #define CONFIG_MISC_INIT_R 1/* Call misc_init_r() */ /*-----------------------------------------------------------------------
Signature · 1 line
1.6.2.1
PATCH 12/13 Conditionally perform common relocation fixups
In reply to Peter TyserAdd #ifdefs where necessary to not perform relocation fixups. This allows boards/architectures which support relocation to trim a decent chunk of code.
Note that this patch doesn't add #ifdefs to architecture-specific code which does not support relocation.
--- common/cmd_bootm.c | 4 +++- common/cmd_date.c | 4 ++++ common/dlmalloc.c | 2 ++ common/env_common.c | 4 ++++ common/hush.c | 4 ++++ common/image.c | 6 +++++- common/serial.c | 2 ++ common/stdio.c | 5 +++-- disk/part.c | 5 ++++- drivers/mtd/nand/nand.c | 2 ++ fs/ubifs/ubifs.c | 4 ++++ include/post.h | 2 ++ post/post.c | 2 ++ 13 files changed, 41 insertions(+), 5 deletions(-)
common/cmd_bootm.c +3 -1
@@ -561,7 +561,6 @@ int do_bootm_subcommand (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])/*******************************************************************/ /* bootm - boot application image from image in memory */ /*******************************************************************/ -static int relocated =0 ;int do_bootm (cmd_tbl_t *cmdtp,int flag,int argc,char *argv[]) {
@@ -569,6 +568,8 @@ int do_bootm (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])ulong load_end =0 ;int ret;boot_os_fn *boot_fn; +#ifndef CONFIG_RELOC_FIXUP_WORKS +static int relocated =0 ;/* relocate boot function table */ if (!relocated) {
@@ -578,6 +579,7 @@ int do_bootm (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]) boot_os[i] += gd->reloc_off; relocated = 1; } +#endif /* determine if we have a sub command */ if (argc >1 ) {
common/cmd_date.c +4 -0
@@ -35,7 +35,11 @@ const char *weekdays[] = { "Sun", "Mon", "Tues", "Wednes", "Thurs", "Fri", "Satur", }; +#ifdef CONFIG_RELOC_FIXUP_WORKS +#define RELOC (a) a +#else #define RELOC (a) ((typeof(a))((unsigned long)(a) + gd->reloc_off)) +#endif int mk_date (char *,struct rtc_time *);
common/dlmalloc.c +2 -0
@@ -1494,6 +1494,7 @@ static mbinptr av_[NAV * 2 + 2] = {IAV (120 ),IAV (121 ),IAV (122 ),IAV (123 ),IAV (124 ),IAV (125 ),IAV (126 ),IAV (127 ) }; +#ifndef CONFIG_RELOC_FIXUP_WORKS void malloc_bin_reloc (void ) {unsigned long *p = (unsigned long *)(&av_[2 ]);
@@ -1502,6 +1503,7 @@ void malloc_bin_reloc (void) *p++ += gd->reloc_off; } } +#endif ulong mem_malloc_start =0 ;ulong mem_malloc_end =0 ;
common/env_common.c +4 -0
@@ -224,8 +224,10 @@ void set_default_env(void)void env_relocate (void ) { +#ifndef CONFIG_RELOC_FIXUP_WORKS DEBUGF ("%s[%d] offset = 0x%lx\n" , __FUNCTION__,__LINE__, gd->reloc_off); +#endif #ifdef CONFIG_AMIGAONEG3SE enable_nvram ();
@@ -236,7 +238,9 @@ void env_relocate (void)* The environment buffer is embedded with the text segment, * just relocate the environment pointer */ +#ifndef CONFIG_RELOC_FIXUP_WORKS env_ptr = (env_t *)((ulong )env_ptr + gd->reloc_off); +#endif DEBUGF ("%s[%d] embedded ENV at %p\n" , __FUNCTION__,__LINE__,env_ptr);#else /*
common/hush.c +4 -0
@@ -3270,6 +3270,7 @@ int parse_file_outer(void) } #ifdef __U_BOOT__ +#ifndef CONFIG_RELOC_FIXUP_WORKS static void u_boot_hush_reloc(void) { unsigned long addr;
@@ -3280,6 +3281,7 @@ static void u_boot_hush_reloc(void) r->literal = (char *)addr; } } +#endif int u_boot_hush_start (void ) {
@@ -3290,7 +3292,9 @@ int u_boot_hush_start(void) top_vars->next =0 ; top_vars->flg_export =0 ; top_vars->flg_read_only =1 ; +#ifndef CONFIG_RELOC_FIXUP_WORKS u_boot_hush_reloc (); +#endif }return 0 ; }
common/image.c +5 -1
@@ -513,7 +513,7 @@ char *get_table_entry_name (table_entry_t *table, char *msg, int id) {for (; table->id >=0 ; ++table) { if (table->id == id) -#ifdef USE_HOSTCC +#if defined(USE_HOSTCC ) || defined(CONFIG_RELOC_FIXUP_WORKS )return table->lname;#else return table->lname + gd->reloc_off;
@@ -578,7 +578,11 @@ int get_table_entry_id (table_entry_t *table,fprintf (stderr,"\n" );#else for (t = table; t->id >=0 ; ++t) { +#ifdef CONFIG_RELOC_FIXUP_WORKS +if (t->sname &&strcmp (t->sname, name) ==0 ) +#else if (t->sname && strcmp(t->sname + gd->reloc_off, name) == 0) +#endif return (t->id); }debug ("Invalid %s Type: %s\n" , table_name, name);
common/serial.c +2 -0
@@ -81,12 +81,14 @@ struct serial_device *default_serial_console(void) __attribute__((weak, alias("_int serial_register (struct serial_device *dev) { +#ifndef CONFIG_RELOC_FIXUP_WORKS dev->init += gd->reloc_off; dev->setbrg += gd->reloc_off; dev->getc += gd->reloc_off; dev->tstc += gd->reloc_off; dev->putc += gd->reloc_off; dev->puts += gd->reloc_off; +#endif dev->next = serial_devices; serial_devices = dev;
common/stdio.c +3 -2
@@ -201,7 +201,8 @@ int stdio_deregister(char *devname)int stdio_init (void ) { -#ifndef CONFIG_ARM /* already relocated for current ARM implementation */ +#if !defined(CONFIG_ARM ) && !defined(CONFIG_RELOC_FIXUP_WORKS ) +/* already relocated for current ARM implementation */ ulong relocation_offset = gd->reloc_off;int i;
@@ -210,7 +211,7 @@ int stdio_init (void) stdio_names[i] = (char *) (((ulong ) stdio_names[i]) + relocation_offset); } -#endif +#endif /* !ARM && !CONFIG_RELOC_FIXUP_WORKS */ /* Initialize the list */ INIT_LIST_HEAD (&(devs.list));
disk/part.c +4 -1
@@ -80,7 +80,10 @@ block_dev_desc_t *get_dev(char* ifname, int dev)block_dev_desc_t * (*reloc_get_dev)(int dev);while (drvr->name) { - reloc_get_dev = drvr->get_dev + gd->reloc_off; + reloc_get_dev = drvr->get_dev; +#ifndef CONFIG_RELOC_FIXUP_WORKS + reloc_get_dev += gd->reloc_off; +#endif if (strncmp (ifname, drvr->name,strlen (drvr->name)) ==0 )return reloc_get_dev (dev); drvr++;
drivers/mtd/nand/nand.c +2 -0
@@ -54,8 +54,10 @@ static void nand_init_chip(struct mtd_info *mtd, struct nand_chip *nand,if (nand_scan (mtd, maxchips) ==0 ) {if (!mtd->name) mtd->name = (char *)default_nand_name; +#ifndef CONFIG_RELOC_FIXUP_WORKS else mtd->name += gd->reloc_off; +#endif #ifdef CONFIG_MTD_DEVICE /*
fs/ubifs/ubifs.c +4 -0
@@ -124,9 +124,13 @@ int ubifs_decompress(const void *in_buf, int in_len, void *out_buf,static int __init compr_init (struct ubifs_compressor *compr) { ubifs_compressors[compr->compr_type] = compr; + +#ifndef CONFIG_RELOC_FIXUP_WORKS ubifs_compressors[compr->compr_type]->name += gd->reloc_off; ubifs_compressors[compr->compr_type]->capi_name += gd->reloc_off; ubifs_compressors[compr->compr_type]->decompress += gd->reloc_off; +#endif +return 0 ; }
include/post.h +2 -0
@@ -73,7 +73,9 @@ void post_output_backlog ( void );int post_run (char *name,int flags);int post_info (char *name);int post_log (char *format, ...); +#ifndef CONFIG_RELOC_FIXUP_WORKS void post_reloc (void ); +#endif unsigned long post_time_ms (unsigned long base);extern struct post_test post_list[];
post/post.c +2 -0
@@ -393,6 +393,7 @@ int post_log (char *format, ...)return 0 ; } +#ifndef CONFIG_RELOC_FIXUP_WORKS void post_reloc (void ) {unsigned int i;
@@ -437,6 +438,7 @@ void post_reloc (void) } } } +#endif /*
Signature · 1 line
1.6.2.1
PATCH 13/13 ppc: Remove reloc_off field from global_data structure
In reply to Peter TyserNow that proper relocation is supported, the reloc_off field is no longer necessary.
Note that the location of the standalone application jump table pointer in the global data structure is affected by this change, breaking execution of standalone applications compiled for previous versions of U-Boot.
---
Would others prefer an empty ulong take reloc_off's place so old standalone apps don't break? Or perhaps we should move the jump table pointer to the first item in global_data to prevent breakage every time global_data is modified in the future?
include/asm-ppc/global_data.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
include/asm-ppc/global_data.h +1 -1
@@ -24,6 +24,7 @@#ifndef __ASM_GBL_DATA_H#define __ASM_GBL_DATA_H +#include "config.h" #include "asm/types.h" /*
@@ -124,7 +125,6 @@ typedef struct global_data {unsigned long flb_clk;#endif phys_size_t ram_size;/* RAM size */ -unsigned long reloc_off;/* Relocation Offset */ unsigned long reset_status;/* reset status register at boot */ #if defined(CONFIG_MPC83xx)unsigned long arbiter_event_attributes;
Signature · 1 line
1.6.2.1
PATCH 13/13 ppc: Remove reloc_off field from global_data structure
Dear Peter Tyser,
Quoted 7 lines · In message <[email protected]> you wrote:
Now that proper relocation is supported, the
reloc_offfield is no longer necessary.Note that the location of the standalone application jump table pointer in the global data structure is affected by this change, breaking execution of standalone applications compiled for previous versions of U-Boot.
We must increment the XF_VERSION value, then. See
doc/README.standalone.
Best regards,
Wolfgang Denk
Signature · 5 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Research is what I'm doing when I don't know what I'm doing.
-- Wernher von BraunPATCH 13/13 ppc: Remove reloc_off field from global_data structure
Quoted 5 lines
Quoted 3 lines · In message <[email protected]> you wrote:
Now that proper relocation is supported, the
reloc_offfield is no longer necessary.
Quoted 7 lines
Quoted 4 lines
Note that the location of the standalone application jump table pointer in the global data structure is affected by this change, breaking execution of standalone applications compiled for previous versions of U-Boot.
We must increment the
XF_VERSIONvalue, then. See
doc/README.standalone.
Ah, will do.
While we're at it, any interest in a follow-up patch which moves the jump table pointer to the 2nd field of global_data, right after the bd field? This would hopefully reduce the breakage of the jt pointer as the global_data structure inevitably changes down the road.
Best,
Peter
cover ppc: Fix relocation
In reply to Peter TyserHi Peter,
Quoted 9 lines · On Monday 21 September 2009 18:20:24 Peter Tyser wrote:
This series attempts to fix relocation to RAM for ppc boards.
I split the patches up pretty liberally, let me know if you'd like them organized differently.
I tried to be thorough during the changes (especially #1), let me know if I missed anything, there's lots of linker scripts for ppc boards:)
Quoted 14 lines
Peter Tyser (13):
ppc: Enable full relocation to RAM
ppc: Check for compilers that don't support relocation
ppc: Removeboard.crelocation fixups
ppc: Remove pci config table pointer relocation fixups
ppc: Remove extable relocation fixups
ppc: Remove board-specific command table relocation fixups
tsec: Remove PHY command relocation fixups
fpga: Remove relocation fixups
mpl: Remove memory test relocation fixups
lwmon, lwmon5: Remove sysmon POST relocation fixups
p3mx: Remove serial relocation fixups Conditionally perform common relocation fixups
ppc: Removereloc_offfield fromglobal_datastructure
Thanks. I think it would be a good idea to push all your relocation patches into a special git branch for testing.
Wolfgang, what do you think? Could you pull those patches into such a branch for general testing/updates etc?
Thanks.
Cheers,
Stefan
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-0 Fax: (+49)-8142-66989-80 Email: office at denx.de
cover ppc: Fix relocation
In reply to Peter TyserQuoted 10 lines
This series attempts to fix relocation to RAM for ppc boards.
I split the patches up pretty liberally, let me know if you'd like them organized differently.
I tried to be thorough during the changes (especially #1), let me know if I missed anything, there's lots of linker scripts for ppc boards:)
Quoted 14 lines
Peter Tyser (13):
ppc: Enable full relocation to RAM
ppc: Check for compilers that don't support relocation
ppc: Removeboard.crelocation fixups
ppc: Remove pci config table pointer relocation fixups
ppc: Remove extable relocation fixups
ppc: Remove board-specific command table relocation fixups
tsec: Remove PHY command relocation fixups
fpga: Remove relocation fixups
mpl: Remove memory test relocation fixups
lwmon, lwmon5: Remove sysmon POST relocation fixups
p3mx: Remove serial relocation fixups Conditionally perform common relocation fixups
ppc: Removereloc_offfield fromglobal_datastructure
Wow, this is really good work. Didn't think there would be so much code that could be deleted due to working relocation :)
I hope WD will pull this in and potentially broken boards will have to be fixed rather than backing stuff out.
Jocke
cover ppc: Fix relocation
Hi,
Quoted 24 lines
Quoted 9 lines
This series attempts to fix relocation to RAM for ppc boards.
I split the patches up pretty liberally, let me know if you'd like them organized differently.
I tried to be thorough during the changes (especially #1), let me know if I missed anything, there's lots of linker scripts for ppc boards:)
Quoted 14 lines
Peter Tyser (13):
ppc: Enable full relocation to RAM
ppc: Check for compilers that don't support relocation
ppc: Removeboard.crelocation fixups
ppc: Remove pci config table pointer relocation fixups
ppc: Remove extable relocation fixups
ppc: Remove board-specific command table relocation fixups
tsec: Remove PHY command relocation fixups
fpga: Remove relocation fixups
mpl: Remove memory test relocation fixups
lwmon, lwmon5: Remove sysmon POST relocation fixups
p3mx: Remove serial relocation fixups Conditionally perform common relocation fixups
ppc: Removereloc_offfield fromglobal_datastructure
Quoted 4 lines
Wow, this is really good work. Didn't think there would be so much code that could be deleted due to working relocation :)
I hope WD will pull this in and potentially broken boards will have to be fixed rather than backing stuff out.
Seconded. That's what a merge window is for, isn't it? :)
One should do some further simple text searching to find more code that can now be potentially be removed. For example, from what I wrote board/inka4x0/inkadiag.c also has such reloacted code inside.
Cheers
Detlev
Signature · 8 lines
While the list of different methods is not endless, it is certainly
pretty long, with new ones being dreamed up all the time. Fortunately,
space limitations prevent us from looking at all of them.
-- Andrew S. Tanenbaum
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: dzu at denx.decover ppc: Fix relocation
Hi Detlev,
Quoted 24 lines
Quoted 24 lines
Quoted 23 lines
This series attempts to fix relocation to RAM for ppc boards.
I split the patches up pretty liberally, let me know if you'd like them organized differently.
I tried to be thorough during the changes (especially #1), let me know if I missed anything, there's lots of linker scripts for ppc boards:)
Peter Tyser (13):
ppc: Enable full relocation to RAM
ppc: Check for compilers that don't support relocation
ppc: Removeboard.crelocation fixups
ppc: Remove pci config table pointer relocation fixups
ppc: Remove extable relocation fixups
ppc: Remove board-specific command table relocation fixups
tsec: Remove PHY command relocation fixups
fpga: Remove relocation fixups
mpl: Remove memory test relocation fixups
lwmon, lwmon5: Remove sysmon POST relocation fixups
p3mx: Remove serial relocation fixups Conditionally perform common relocation fixups
ppc: Removereloc_offfield fromglobal_datastructure
Quoted 6 lines
Quoted 4 lines
Wow, this is really good work. Didn't think there would be so much code that could be deleted due to working relocation :)
I hope WD will pull this in and potentially broken boards will have to be fixed rather than backing stuff out.Seconded. That's what a merge window is for, isn't it? :)
Thirded:)
Quoted 3 lines
One should do some further simple text searching to find more code that can now be potentially be removed. For example, from what I wrote
board/inka4x0/inkadiag.calso has such reloacted code inside.
I didn't see any relocation fixups in inkadiag.c that could be removed at a glance. Am I missing something? I attempted to clean up all relocation fixups that affect ppc (and other arches that support relocation), so let me know if I missed anything.
Best,
Peter
cover ppc: Fix relocation
In reply to Peter TyserDear Peter Tyser,
Quoted 9 lines · In message <[email protected]> you wrote:
This series attempts to fix relocation to RAM for ppc boards.
I split the patches up pretty liberally, let me know if you'd like them organized differently.
I tried to be thorough during the changes (especially #1), let me know if I missed anything, there's lots of linker scripts for ppc boards:)
Quoted 14 lines
Peter Tyser (13):
ppc: Enable full relocation to RAM
ppc: Check for compilers that don't support relocation
ppc: Removeboard.crelocation fixups
ppc: Remove pci config table pointer relocation fixups
ppc: Remove extable relocation fixups
ppc: Remove board-specific command table relocation fixups
tsec: Remove PHY command relocation fixups
fpga: Remove relocation fixups
mpl: Remove memory test relocation fixups
lwmon, lwmon5: Remove sysmon POST relocation fixups
p3mx: Remove serial relocation fixups Conditionally perform common relocation fixups
ppc: Removereloc_offfield fromglobal_datastructure
All patches applied to "reloc" branch. Thanks for all this work.
So far the only issue I've seen (I didn't do any actual testing yet, though) is the missing increment to the XF_VERSION value to indicate incompatibility with older standalone applications. If you agree, I woul like to squash this into the topmost commit on the "reloc" branch?
Best regards,
Wolfgang Denk
Signature · 6 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de That's the thing about people who think they hate computers. What they really hate is lousy programmers. - Larry Niven and Jerry Pournelle in "Oath of Fealty"
cover ppc: Fix relocation
Quoted 27 lines · Wolfgang Denk
Dear Peter Tyser,
Quoted 9 lines · In message <[email protected]> you wrote:
This series attempts to fix relocation to RAM for ppc boards.
I split the patches up pretty liberally, let me know if you'd like them organized differently.
I tried to be thorough during the changes (especially #1), let me know if I missed anything, there's lots of linker scripts for ppc boards:)
Quoted 14 lines
Peter Tyser (13):
ppc: Enable full relocation to RAM
ppc: Check for compilers that don't support relocation
ppc: Removeboard.crelocation fixups
ppc: Remove pci config table pointer relocation fixups
ppc: Remove extable relocation fixups
ppc: Remove board-specific command table relocation fixups
tsec: Remove PHY command relocation fixups
fpga: Remove relocation fixups
mpl: Remove memory test relocation fixups
lwmon, lwmon5: Remove sysmon POST relocation fixups
p3mx: Remove serial relocation fixups Conditionally perform common relocation fixups
ppc: Removereloc_offfield fromglobal_datastructure
Quoted 7 lines
All patches applied to "reloc" branch. Thanks for all this work.
So far the only issue I've seen (I didn't do any actual testing yet, though) is the missing increment to the
XF_VERSIONvalue to indicate incompatibility with older standalone applications. If you agree, I woul like to squash this into the topmost commit on the "reloc" branch?
That sounds good to me. 2 additional comments:
1. Might be nice to move the jumptable to the beginning of the global_data struct when we increment XF_VERSION.
2. Depending on when you merge the reloc branch, it would be nice for people to give the patch in "[PATCH/RFC] arm/microblaze/nios/nios2/sh:
Remove relocation fixups" a try. It should reduce the bloat on some other arches and will put pressure on other, non-relocatable arches to fix relocation:)
Best,
Peter
cover ppc: Fix relocation
In reply to Wolfgang DenkQuoted 27 lines · Wolfgang Denk
Dear Peter Tyser,
Quoted 9 lines · In message <[email protected]> you wrote:
This series attempts to fix relocation to RAM for ppc boards.
I split the patches up pretty liberally, let me know if you'd like them organized differently.
I tried to be thorough during the changes (especially #1), let me know if I missed anything, there's lots of linker scripts for ppc boards:)
Quoted 14 lines
Peter Tyser (13):
ppc: Enable full relocation to RAM
ppc: Check for compilers that don't support relocation
ppc: Removeboard.crelocation fixups
ppc: Remove pci config table pointer relocation fixups
ppc: Remove extable relocation fixups
ppc: Remove board-specific command table relocation fixups
tsec: Remove PHY command relocation fixups
fpga: Remove relocation fixups
mpl: Remove memory test relocation fixups
lwmon, lwmon5: Remove sysmon POST relocation fixups
p3mx: Remove serial relocation fixups Conditionally perform common relocation fixups
ppc: Removereloc_offfield fromglobal_datastructure
Quoted 7 lines
All patches applied to "reloc" branch. Thanks for all this work.
So far the only issue I've seen (I didn't do any actual testing yet, though) is the missing increment to the
XF_VERSIONvalue to indicate incompatibility with older standalone applications. If you agree, I woul like to squash this into the topmost commit on the "reloc" branch?
Hi Wolfgang,
Is the plan to apply these patches for the upcoming release, or the release after that one? I ask because some of X-ES's boards broke when the 85xx linker script was consolidated. These patches fix the breakage, but if these patches won't be included in the upcoming release I'll send a small fixup just for X-ES's boards.
Thanks,
Peter
cover ppc: Fix relocation
Quoted 8 lines · On Thursday 24 September 2009 16:28:39 Peter Tyser wrote:
Quoted 7 lines
All patches applied to "reloc" branch. Thanks for all this work.
So far the only issue I've seen (I didn't do any actual testing yet, though) is the missing increment to the
XF_VERSIONvalue to indicate incompatibility with older standalone applications. If you agree, I woul like to squash this into the topmost commit on the "reloc" branch?
Quoted 6 lines
Hi Wolfgang,
Is the plan to apply these patches for the upcoming release, or the release after that one? I ask because some of X-ES's boards broke when the 85xx linker script was consolidated. These patches fix the breakage, but if these patches won't be included in the upcoming release I'll send a small fixup just for X-ES's boards.
I'm voting for getting this relocation fixes mainlined in this upcoming release. We're still in the merge-window and should (hopefully) have enough time to solve all remaining problems.
Cheers,
Stefan
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-0 Fax: (+49)-8142-66989-80 Email: office at denx.de
cover ppc: Fix relocation
Quoted 17 lines · On Thursday 24 September 2009 16:28:39 Peter Tyser wrote:
Quoted 8 lines
Quoted 7 lines
All patches applied to "reloc" branch. Thanks for all this work.
So far the only issue I've seen (I didn't do any actual testing yet, though) is the missing increment to the
XF_VERSIONvalue to indicate incompatibility with older standalone applications. If you agree, I woul like to squash this into the topmost commit on the "reloc" branch?Quoted 6 lines
Hi Wolfgang,
Is the plan to apply these patches for the upcoming release, or the release after that one? I ask because some of X-ES's boards broke when the 85xx linker script was consolidated. These patches fix the breakage, but if these patches won't be included in the upcoming release I'll send a small fixup just for X-ES's boards.
Quoted 3 lines
I'm voting for getting this relocation fixes mainlined in this upcoming release. We're still in the merge-window and should (hopefully) have enough time to solve all remaining problems.
Yes please, I have not seen any objections so far only a few in favour.
Jocke
cover ppc: Fix relocation
Dear Joakim Tjernlund,
Quoted 7 lines · In message <OFB7458D83.28073D19-ONC125763B.0079A19D-C125763B.0079CD5C@transmode…
Quoted 7 lines
Quoted 6 lines
Is the plan to apply these patches for the upcoming release, or the release after that one? I ask because some of X-ES's boards broke when the 85xx linker script was consolidated. These patches fix the breakage, but if these patches won't be included in the upcoming release I'll send a small fixup just for X-ES's boards.
Quoted 6 lines
Quoted 3 lines
I'm voting for getting this relocation fixes mainlined in this upcoming release. We're still in the merge-window and should (hopefully) have enough time to solve all remaining problems.
Yes please, I have not seen any objections so far only a few in favour.
I'm just waiting for a few (positive) test reports. Yes, this is stuff for this release.
Best regards,
Wolfgang Denk
Signature · 5 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de "May the forces of evil become confused on the way to your house." - George Carlin
cover ppc: Fix relocation
Quoted 5 lines · On Friday 25 September 2009 01:46:10 Wolfgang Denk wrote:
Quoted 2 lines
Yes please, I have not seen any objections so far only a few in favour.
I'm just waiting for a few (positive) test reports. Yes, this is stuff for this release.
OK, here some (positive) test reports:
Tested sucessfully on a few AMCC PPC4xx eval boards:
- Kilauea, OK
- Canyonlands, OK
- Sequoia, OK
So you can add my:
to the patch series. Thanks.
Cheers,
Stefan
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-0 Fax: (+49)-8142-66989-80 Email: office at denx.de
cover ppc: Fix relocation
In reply to Wolfgang DenkFrom: Wolfgang Denk
Quoted 2 lines
All patches applied to "reloc" branch. Thanks for all this work.
With -m relocatable, x86emu crashes because the op codes tables are forced to GOT2 section:
Video: ATI Radeon video card (1002, 5b60) found @(6:0:0)
videoboot: Booting PCI video card bus 6, function 0, device 0
NIP: 8FFA8120 LR: 3FFB40F8 REGS: 3fe6dbd0 TRAP: 0700 DAR: 00000000
MSR: 00021200 EE: 0 PR: 0 FP: 0 ME: 1 IR/DR: 00
GPR00: 8FFA8120 3FE6DCC0 3FE6DF68 0000009A 00000003 00000000
GPR08: 00004000 3FE75800 3F000000 3FE6DCC0 84000024 81C5D766
GPR16: 3FFF92E8 3FFCB384 3FE6DDA8 00000000 00000000 00000000
GPR24: 3FFDA09C 3FFE0544 3FFF9A6C 3FFF9A6C 3FE6DD24 3FFF9A6C ** Illegal Instruction **
This patch fixes it:
http://article.gmane.org/gmane.comp.boot-loaders.u-boot/48103
-Ed
cover ppc: Fix relocation
From: Edward
Quoted 17 lines
Sent: Thursday, September 24, 2009 11:05 AM
To: Wolfgang Denk; Peter TyserWith -m relocatable, x86emu crashes because the op codes tables are forced to GOT2 section:
Video: ATI Radeon video card (1002, 5b60) found @(6:0:0)
videoboot: Booting PCI video card bus 6, function 0, dev 0
NIP: 8FFA8120 LR: 3FFB40F8 REGS:3fe6dbd0TRAP: 0700 DAR: 0
MSR: 00021200 EE: 0 PR: 0 FP: 0 ME: 1 IR/DR: 00GPR00: 8FFA8120 3FE6DCC0 3FE6DF68 0000009A 00000003 00000000
GPR08: 00004000 3FE75800 3F000000 3FE6DCC0 84000024 81C5D766
GPR16: 3FFF92E8 3FFCB384 3FE6DDA8 00000000 00000000 00000000
GPR24: 3FFDA09C 3FFE0544 3FFF9A6C 3FFF9A6C 3FE6DD24 3FFF9A6C ** Illegal Instruction **
Quoted 4 lines
This patch fixes it:
http://article.gmane.org/gmane.comp.boot-loaders.u-boot/48103
I still get this crash with latest head
(u-boot 2009.08-00338-gcd77dd1).
-EdS
cover ppc: Fix relocation
Quoted 18 lines · Swarthout Edward L-SWARTHOU
From: Edward
Quoted 17 lines
Sent: Thursday, September 24, 2009 11:05 AM
To: Wolfgang Denk; Peter TyserWith -m relocatable, x86emu crashes because the op codes tables are forced to GOT2 section:
Video: ATI Radeon video card (1002, 5b60) found @(6:0:0)
videoboot: Booting PCI video card bus 6, function 0, dev 0
NIP: 8FFA8120 LR: 3FFB40F8 REGS:3fe6dbd0TRAP: 0700 DAR: 0
MSR: 00021200 EE: 0 PR: 0 FP: 0 ME: 1 IR/DR: 00GPR00: 8FFA8120 3FE6DCC0 3FE6DF68 0000009A 00000003 00000000
GPR08: 00004000 3FE75800 3F000000 3FE6DCC0 84000024 81C5D766
GPR16: 3FFF92E8 3FFCB384 3FE6DDA8 00000000 00000000 00000000
GPR24: 3FFDA09C 3FFE0544 3FFF9A6C 3FFF9A6C 3FE6DD24 3FFF9A6C ** Illegal Instruction **
Quoted 7 lines
Quoted 4 lines
This patch fixes it:
http://article.gmane.org/gmane.comp.boot-loaders.u-boot/48103
I still get this crash with latest head
(u-boot 2009.08-00338-gcd77dd1).
Thanks Ed,
To clarify, you're saying that the patch linked above just needs to be applied, right? Was there a reason the patch wasn't applied back in 2008?
The change looks good to me for what its worth. Wolfgang or Kumar, could one of you pick it up?
Best,
Peter
cover ppc: Fix relocation
From: Peter Tyser
Quoted 5 lines
Quoted 5 lines
From: Edward
This patch fixes it:
Quoted 8 lines
Quoted 4 lines
http://article.gmane.org/gmane.comp.boot-loaders.u-boot/48103
I still get this crash with latest head (u-boot
2009.08-00338-gcd77dd1).Thanks Ed,
To clarify, you're saying that the patch linked above just needs to be applied, right?
Yes, I applied it asis.
I tested it on mpc8572ds with ATI Radeon video card.
Quoted 1 line
Was there a reason the patch wasn't applied back in 2008?
Yes, it breaks CONFIG_BIOSEMU without -mrelocatable.
Quoted 2 lines
The change looks good to me for what its worth.
Wolfgang or Kumar, could one of you pick it up?
-EdS
Wolfgang Denk
Appliedcover ppc: Fix relocation
Dear "Swarthout Edward L-SWARTHOU",
Quoted 10 lines · In message <B52955765C54604CB1A62A9967F22C730499F58D@az33exm20.fsl.freescale.ne…
Quoted 3 lines
To clarify, you're saying that the patch linked above just needs to be applied, right?
Yes, I applied it asis.
I tested it on mpc8572ds with ATI Radeon video card.Quoted 1 line
Was there a reason the patch wasn't applied back in 2008?
Yes, it breaks
CONFIG_BIOSEMUwithout -mrelocatable.
OK - AFAICT we have CONFIG_BIOSEMU only used in combination with PowerPC boards, and we do use -mrelocatable here. Correct?
Quoted 2 lines
Quoted 2 lines
The change looks good to me for what its worth.
Wolfgang or Kumar, could one of you pick it up?
Applied.
Best regards,
Wolfgang Denk
Signature · 5 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
It is a good thing for an uneducated man to read books of quotations.
- Sir Winston Churchill _My Early Life_ ch. 9