Replace CONFIG_SYS_GBL_DATA_SIZE by auto-generated value
authorWolfgang Denk <wd@denx.de>
Tue, 26 Oct 2010 12:34:52 +0000 (14:34 +0200)
committerWolfgang Denk <wd@denx.de>
Tue, 26 Oct 2010 19:05:30 +0000 (21:05 +0200)
commit25ddd1fb0a2281b182529afbc8fda5de2dc16d96
treeb1d57d9d1324fb6b8fddf7ebc976dbe822468649
parent16a354f920f3959ed847bd917bdfbc7eba48cf1e
Replace CONFIG_SYS_GBL_DATA_SIZE by auto-generated value

CONFIG_SYS_GBL_DATA_SIZE has always been just a bad workarond for not
being able to use "sizeof(struct global_data)" in assembler files.
Recent experience has shown that manual synchronization is not
reliable enough.  This patch renames CONFIG_SYS_GBL_DATA_SIZE into
GENERATED_GBL_DATA_SIZE which gets automatically generated by the
asm-offsets tool.  In the result, all definitions of this value can be
deleted from the board config files.  We have to make sure that all
files that reference such data include the new <asm-offsets.h> file.

No other changes have been done yet, but it is obvious that similar
changes / simplifications can be done for other, related macro
definitions as well.

Signed-off-by: Wolfgang Denk <wd@denx.de>
Acked-by: Kumar Gala <galak@kernel.crashing.org>
560 files changed:
arch/arm/cpu/arm1136/start.S
arch/arm/cpu/arm1176/start.S
arch/arm/cpu/arm720t/start.S
arch/arm/cpu/arm920t/start.S
arch/arm/cpu/arm925t/start.S
arch/arm/cpu/arm926ejs/start.S
arch/arm/cpu/arm946es/start.S
arch/arm/cpu/arm_intcm/start.S
arch/arm/cpu/armv7/start.S
arch/arm/cpu/ixp/start.S
arch/arm/cpu/lh7a40x/start.S
arch/arm/cpu/pxa/start.S
arch/arm/cpu/s3c44b0/start.S
arch/arm/cpu/sa1100/start.S
arch/arm/include/asm/global_data.h
arch/arm/lib/interrupts.c
arch/avr32/cpu/start.S
arch/avr32/include/asm/global_data.h
arch/blackfin/include/asm/config.h
arch/blackfin/include/asm/global_data.h
arch/blackfin/lib/board.c
arch/i386/include/asm/global_data.h
arch/m68k/cpu/mcf5227x/start.S
arch/m68k/cpu/mcf523x/start.S
arch/m68k/cpu/mcf52x2/start.S
arch/m68k/cpu/mcf532x/start.S
arch/m68k/cpu/mcf5445x/start.S
arch/m68k/cpu/mcf547x_8x/start.S
arch/m68k/include/asm/global_data.h
arch/microblaze/cpu/start.S
arch/microblaze/include/asm/global_data.h
arch/microblaze/lib/board.c
arch/mips/cpu/cache.S
arch/mips/cpu/start.S
arch/mips/include/asm/global_data.h
arch/nios2/cpu/start.S
arch/nios2/lib/board.c
arch/powerpc/cpu/74xx_7xx/start.S
arch/powerpc/cpu/mpc512x/start.S
arch/powerpc/cpu/mpc5xx/start.S
arch/powerpc/cpu/mpc5xxx/start.S
arch/powerpc/cpu/mpc8220/start.S
arch/powerpc/cpu/mpc824x/start.S
arch/powerpc/cpu/mpc8260/start.S
arch/powerpc/cpu/mpc83xx/start.S
arch/powerpc/cpu/mpc85xx/release.S
arch/powerpc/cpu/mpc85xx/start.S
arch/powerpc/cpu/mpc86xx/start.S
arch/powerpc/cpu/mpc8xx/start.S
arch/powerpc/cpu/ppc4xx/start.S
arch/powerpc/include/asm/global_data.h
arch/sh/cpu/sh2/start.S
arch/sh/cpu/sh3/start.S
arch/sh/cpu/sh4/start.S
arch/sh/lib/board.c
arch/sparc/cpu/leon2/start.S
arch/sparc/cpu/leon3/start.S
arch/sparc/include/asm/global_data.h
arch/sparc/lib/board.c
board/amcc/bamboo/init.S
board/amcc/bluestone/init.S
board/amcc/canyonlands/init.S
board/amcc/sequoia/init.S
board/amcc/yosemite/init.S
board/barco/early_init.S
board/esd/du440/init.S
board/esd/pmc440/init.S
board/fads/fads.h
board/gdsys/gdppc440etx/init.S
board/gdsys/intip/init.S
board/hidden_dragon/early_init.S
board/korat/init.S
board/lwmon5/init.S
board/pcs440ep/init.S
board/prodrive/alpr/init.S
board/sandpoint/early_init.S
board/t3corp/init.S
common/cmd_bdinfo.c
include/asm-offsets.h
include/common.h
include/configs/A3000.h
include/configs/ADCIOP.h
include/configs/AMX860.h
include/configs/AP1000.h
include/configs/APC405.h
include/configs/AR405.h
include/configs/ASH405.h
include/configs/ATUM8548.h
include/configs/Adder.h
include/configs/Alaska8220.h
include/configs/B2.h
include/configs/BAB7xx.h
include/configs/BC3450.h
include/configs/BMW.h
include/configs/CANBT.h
include/configs/CATcenter.h
include/configs/CMS700.h
include/configs/CPC45.h
include/configs/CPCI2DP.h
include/configs/CPCI405.h
include/configs/CPCI4052.h
include/configs/CPCI405AB.h
include/configs/CPCI405DT.h
include/configs/CPCI750.h
include/configs/CPCIISER4.h
include/configs/CPU86.h
include/configs/CPU87.h
include/configs/CRAYL1.h
include/configs/CU824.h
include/configs/DASA_SIM.h
include/configs/DB64360.h
include/configs/DB64460.h
include/configs/DP405.h
include/configs/DU405.h
include/configs/DU440.h
include/configs/EB+MCF-EV123.h
include/configs/ELPPC.h
include/configs/ELPT860.h
include/configs/EP88x.h
include/configs/ERIC.h
include/configs/ESTEEM192E.h
include/configs/ETX094.h
include/configs/EVB64260.h
include/configs/EXBITGEN.h
include/configs/FADS823.h
include/configs/FADS850SAR.h
include/configs/FLAGADM.h
include/configs/FPS850L.h
include/configs/FPS860L.h
include/configs/G2000.h
include/configs/GENIETV.h
include/configs/HH405.h
include/configs/HIDDEN_DRAGON.h
include/configs/HUB405.h
include/configs/IAD210.h
include/configs/ICU862.h
include/configs/IDS8247.h
include/configs/IP860.h
include/configs/IPHASE4539.h
include/configs/ISPAN.h
include/configs/IVML24.h
include/configs/IVMS8.h
include/configs/IceCube.h
include/configs/JSE.h
include/configs/KAREF.h
include/configs/KUP4K.h
include/configs/KUP4X.h
include/configs/LANTEC.h
include/configs/M5208EVBE.h
include/configs/M52277EVB.h
include/configs/M5235EVB.h
include/configs/M5249EVB.h
include/configs/M5253DEMO.h
include/configs/M5253EVBE.h
include/configs/M5271EVB.h
include/configs/M5272C3.h
include/configs/M5275EVB.h
include/configs/M5282EVB.h
include/configs/M53017EVB.h
include/configs/M5329EVB.h
include/configs/M5373EVB.h
include/configs/M54451EVB.h
include/configs/M54455EVB.h
include/configs/M5475EVB.h
include/configs/M5485EVB.h
include/configs/MBX.h
include/configs/MBX860T.h
include/configs/METROBOX.h
include/configs/MHPC.h
include/configs/MIP405.h
include/configs/ML2.h
include/configs/MOUSSE.h
include/configs/MPC8260ADS.h
include/configs/MPC8266ADS.h
include/configs/MPC8308RDB.h
include/configs/MPC8313ERDB.h
include/configs/MPC8315ERDB.h
include/configs/MPC8323ERDB.h
include/configs/MPC832XEMDS.h
include/configs/MPC8349EMDS.h
include/configs/MPC8349ITX.h
include/configs/MPC8360EMDS.h
include/configs/MPC8360ERDK.h
include/configs/MPC837XEMDS.h
include/configs/MPC837XERDB.h
include/configs/MPC8536DS.h
include/configs/MPC8540ADS.h
include/configs/MPC8540EVAL.h
include/configs/MPC8541CDS.h
include/configs/MPC8544DS.h
include/configs/MPC8548CDS.h
include/configs/MPC8555CDS.h
include/configs/MPC8560ADS.h
include/configs/MPC8568MDS.h
include/configs/MPC8569MDS.h
include/configs/MPC8572DS.h
include/configs/MPC8610HPCD.h
include/configs/MPC8641HPCN.h
include/configs/MUSENKI.h
include/configs/MVBC_P.h
include/configs/MVBLM7.h
include/configs/MVBLUE.h
include/configs/MVS1.h
include/configs/MVSMR.h
include/configs/MigoR.h
include/configs/NETPHONE.h
include/configs/NETTA.h
include/configs/NETTA2.h
include/configs/NETVIA.h
include/configs/NSCU.h
include/configs/NX823.h
include/configs/OCRTC.h
include/configs/ORSG.h
include/configs/OXC.h
include/configs/P1022DS.h
include/configs/P1_P2_RDB.h
include/configs/P2020DS.h
include/configs/P3G4.h
include/configs/PATI.h
include/configs/PCI405.h
include/configs/PCI5441.h
include/configs/PCIPPC2.h
include/configs/PCIPPC6.h
include/configs/PIP405.h
include/configs/PK1C20.h
include/configs/PLU405.h
include/configs/PM520.h
include/configs/PM826.h
include/configs/PM828.h
include/configs/PM854.h
include/configs/PM856.h
include/configs/PMC405.h
include/configs/PMC405DE.h
include/configs/PMC440.h
include/configs/PN62.h
include/configs/PPChameleonEVB.h
include/configs/QS823.h
include/configs/QS850.h
include/configs/QS860T.h
include/configs/R360MPI.h
include/configs/RBC823.h
include/configs/RPXClassic.h
include/configs/RPXlite.h
include/configs/RPXlite_DW.h
include/configs/RPXsuper.h
include/configs/RRvision.h
include/configs/Rattler.h
include/configs/SBC8540.h
include/configs/SCM.h
include/configs/SIMPC8313.h
include/configs/SM850.h
include/configs/SMN42.h
include/configs/SPD823TS.h
include/configs/SX1.h
include/configs/SXNI855T.h
include/configs/Sandpoint8240.h
include/configs/Sandpoint8245.h
include/configs/TASREG.h
include/configs/TB5200.h
include/configs/TK885D.h
include/configs/TOP5200.h
include/configs/TOP860.h
include/configs/TQM5200.h
include/configs/TQM823L.h
include/configs/TQM823M.h
include/configs/TQM8260.h
include/configs/TQM8272.h
include/configs/TQM834x.h
include/configs/TQM850L.h
include/configs/TQM850M.h
include/configs/TQM855L.h
include/configs/TQM855M.h
include/configs/TQM85xx.h
include/configs/TQM860L.h
include/configs/TQM860M.h
include/configs/TQM862L.h
include/configs/TQM862M.h
include/configs/TQM866M.h
include/configs/TQM885D.h
include/configs/Total5200.h
include/configs/VCMA9.h
include/configs/VOH405.h
include/configs/VOM405.h
include/configs/VoVPN-GW.h
include/configs/W7OLMC.h
include/configs/W7OLMG.h
include/configs/WUH405.h
include/configs/Yukon8220.h
include/configs/ZPC1900.h
include/configs/ZUMA.h
include/configs/a320evb.h
include/configs/a4m072.h
include/configs/acadia.h
include/configs/actux1.h
include/configs/actux2.h
include/configs/actux3.h
include/configs/actux4.h
include/configs/aev.h
include/configs/afeb9260.h
include/configs/alpr.h
include/configs/am3517_evm.h
include/configs/ap325rxa.h
include/configs/apollon.h
include/configs/aria.h
include/configs/armadillo.h
include/configs/assabet.h
include/configs/astro_mcf5373l.h
include/configs/at91cap9adk.h
include/configs/at91rm9200dk.h
include/configs/at91rm9200ek.h
include/configs/at91sam9260ek.h
include/configs/at91sam9261ek.h
include/configs/at91sam9263ek.h
include/configs/at91sam9m10g45ek.h
include/configs/at91sam9rlek.h
include/configs/atc.h
include/configs/balloon3.h
include/configs/bamboo.h
include/configs/barco.h
include/configs/bluestone.h
include/configs/bubinga.h
include/configs/c2mon.h
include/configs/ca9x4_ct_vxp.h
include/configs/canmb.h
include/configs/canyonlands.h
include/configs/cerf250.h
include/configs/cm4008.h
include/configs/cm41xx.h
include/configs/cm5200.h
include/configs/cmc_pu2.h
include/configs/cmi_mpc5xx.h
include/configs/cobra5272.h
include/configs/cogent_mpc8260.h
include/configs/cogent_mpc8xx.h
include/configs/colibri_pxa270.h
include/configs/corenet_ds.h
include/configs/cpci5200.h
include/configs/cpu9260.h
include/configs/cpuat91.h
include/configs/cradle.h
include/configs/csb226.h
include/configs/csb272.h
include/configs/csb472.h
include/configs/csb637.h
include/configs/da830evm.h
include/configs/da850evm.h
include/configs/davinci_dm355evm.h
include/configs/davinci_dm355leopard.h
include/configs/davinci_dm365evm.h
include/configs/davinci_dm6467evm.h
include/configs/davinci_dvevm.h
include/configs/davinci_schmoogie.h
include/configs/davinci_sffsdr.h
include/configs/davinci_sonata.h
include/configs/debris.h
include/configs/devkit8000.h
include/configs/digsy_mtc.h
include/configs/dlvision.h
include/configs/dnp1110.h
include/configs/eXalion.h
include/configs/eb_cpux9k2.h
include/configs/ebony.h
include/configs/edb93xx.h
include/configs/edminiv2.h
include/configs/ep7312.h
include/configs/ep8248.h
include/configs/ep8260.h
include/configs/ep82xxm.h
include/configs/espt.h
include/configs/evb4510.h
include/configs/galaxy5200.h
include/configs/gcplus.h
include/configs/gdppc440etx.h
include/configs/gr_cpci_ax2000.h
include/configs/gr_ep2s60.h
include/configs/gr_xc3s_1500.h
include/configs/grsim.h
include/configs/grsim_leon2.h
include/configs/gw8260.h
include/configs/hcu4.h
include/configs/hcu5.h
include/configs/hermes.h
include/configs/hmi1001.h
include/configs/hymod.h
include/configs/icon.h
include/configs/idmr.h
include/configs/igep0020.h
include/configs/igep0030.h
include/configs/impa7.h
include/configs/imx27lite-common.h
include/configs/imx31_litekit.h
include/configs/imx31_phycore.h
include/configs/inka4x0.h
include/configs/innokom.h
include/configs/integratorap.h
include/configs/integratorcp.h
include/configs/intip.h
include/configs/ipek01.h
include/configs/ixdp425.h
include/configs/ixdpg425.h
include/configs/jadecpu.h
include/configs/jornada.h
include/configs/jupiter.h
include/configs/katmai.h
include/configs/kb9202.h
include/configs/kilauea.h
include/configs/km8xx.h
include/configs/km_arm.h
include/configs/kmeter1.h
include/configs/korat.h
include/configs/kvme080.h
include/configs/lart.h
include/configs/linkstation.h
include/configs/lpc2292sodimm.h
include/configs/lpd7a400.h
include/configs/lpd7a404.h
include/configs/luan.h
include/configs/lubbock.h
include/configs/lwmon.h
include/configs/lwmon5.h
include/configs/m501sk.h
include/configs/makalu.h
include/configs/manroland/mpc5200-common.h
include/configs/mcc200.h
include/configs/mcu25.h
include/configs/mecp5123.h
include/configs/mecp5200.h
include/configs/meesc.h
include/configs/mgcoge.h
include/configs/microblaze-generic.h
include/configs/modnet50.h
include/configs/motionpro.h
include/configs/mp2usb.h
include/configs/mpc5121-common.h
include/configs/mpc5121ads.h
include/configs/mpc7448hpc2.h
include/configs/mpc8308_p1m.h
include/configs/mpr2.h
include/configs/ms7720se.h
include/configs/ms7722se.h
include/configs/ms7750se.h
include/configs/muas3001.h
include/configs/munices.h
include/configs/mv-common.h
include/configs/mx1ads.h
include/configs/mx1fs2.h
include/configs/mx31ads.h
include/configs/mx31pdk.h
include/configs/mx51evk.h
include/configs/neo.h
include/configs/netstar.h
include/configs/nhk8815.h
include/configs/nios2-generic.h
include/configs/ns9750dev.h
include/configs/o2dnt.h
include/configs/ocotea.h
include/configs/omap1510inn.h
include/configs/omap1610h2.h
include/configs/omap1610inn.h
include/configs/omap2420h4.h
include/configs/omap3_beagle.h
include/configs/omap3_evm.h
include/configs/omap3_overo.h
include/configs/omap3_pandora.h
include/configs/omap3_sdp3430.h
include/configs/omap3_zoom1.h
include/configs/omap3_zoom2.h
include/configs/omap4_panda.h
include/configs/omap4_sdp4430.h
include/configs/omap5912osk.h
include/configs/omap730p2.h
include/configs/otc570.h
include/configs/p3mx.h
include/configs/p3p440.h
include/configs/palmld.h
include/configs/palmtc.h
include/configs/pcm030.h
include/configs/pcs440ep.h
include/configs/pdnb3.h
include/configs/pf5200.h
include/configs/pleb2.h
include/configs/pm9261.h
include/configs/pm9263.h
include/configs/pm9g45.h
include/configs/ppmc7xx.h
include/configs/ppmc8260.h
include/configs/pxa255_idp.h
include/configs/qong.h
include/configs/quad100hd.h
include/configs/quantum.h
include/configs/r2dplus.h
include/configs/r7780mp.h
include/configs/redwood.h
include/configs/rmu.h
include/configs/rsdproto.h
include/configs/rsk7203.h
include/configs/s5p_goni.h
include/configs/sacsng.h
include/configs/sbc2410x.h
include/configs/sbc35_a9g20.h
include/configs/sbc405.h
include/configs/sbc8240.h
include/configs/sbc8260.h
include/configs/sbc8349.h
include/configs/sbc8548.h
include/configs/sbc8560.h
include/configs/sbc8641d.h
include/configs/sc3.h
include/configs/scb9328.h
include/configs/sequoia.h
include/configs/sh7763rdp.h
include/configs/sh7785lcr.h
include/configs/shannon.h
include/configs/smdk2400.h
include/configs/smdk2410.h
include/configs/smdk6400.h
include/configs/smdkc100.h
include/configs/socrates.h
include/configs/sorcery.h
include/configs/spc1920.h
include/configs/spear-common.h
include/configs/spieval.h
include/configs/stxgp3.h
include/configs/stxssa.h
include/configs/stxxtc.h
include/configs/svm_sc8xx.h
include/configs/t3corp.h
include/configs/taihu.h
include/configs/taishan.h
include/configs/tnetv107x_evm.h
include/configs/tny_a9260.h
include/configs/trab.h
include/configs/trizepsiv.h
include/configs/tx25.h
include/configs/uc100.h
include/configs/utx8245.h
include/configs/v37.h
include/configs/v38b.h
include/configs/ve8313.h
include/configs/versatile.h
include/configs/virtlab2.h
include/configs/vision2.h
include/configs/vme8349.h
include/configs/voiceblue.h
include/configs/vpac270.h
include/configs/walnut.h
include/configs/xaeniax.h
include/configs/xilinx-ppc.h
include/configs/xm250.h
include/configs/xpedite1000.h
include/configs/xpedite517x.h
include/configs/xpedite520x.h
include/configs/xpedite537x.h
include/configs/xpedite550x.h
include/configs/yosemite.h
include/configs/yucca.h
include/configs/zeus.h
include/configs/zipitz2.h
include/configs/zylonite.h
lib/asm-offsets.c