rename environment.c in env_embedded.c to reflect is functionality
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Wed, 10 Sep 2008 20:48:01 +0000 (22:48 +0200)
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Wed, 10 Sep 2008 20:48:01 +0000 (22:48 +0200)
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
202 files changed:
Makefile
board/BuS/EB+MCF-EV123/u-boot.lds
board/LEOX/elpt860/u-boot.lds
board/LEOX/elpt860/u-boot.lds.debug
board/MAI/AmigaOneG3SE/u-boot.lds
board/Marvell/db64360/u-boot.lds
board/Marvell/db64460/u-boot.lds
board/MigoR/u-boot.lds
board/RPXClassic/u-boot.lds
board/RPXClassic/u-boot.lds.debug
board/RPXlite/u-boot.lds
board/RPXlite/u-boot.lds.debug
board/RPXlite_dw/u-boot.lds
board/RPXlite_dw/u-boot.lds.debug
board/RRvision/u-boot.lds
board/actux1/u-boot.lds
board/actux2/u-boot.lds
board/actux3/u-boot.lds
board/amcc/acadia/u-boot-nand.lds
board/amcc/bamboo/u-boot-nand.lds
board/amcc/canyonlands/u-boot-nand.lds
board/amcc/kilauea/u-boot-nand.lds
board/amcc/redwood/u-boot.lds
board/amcc/sequoia/u-boot-nand.lds
board/amirix/ap1000/u-boot.lds
board/ap325rxa/u-boot.lds
board/bf533-ezkit/u-boot.lds.S
board/bf533-stamp/u-boot.lds.S
board/bf537-stamp/u-boot.lds.S
board/bf561-ezkit/u-boot.lds.S
board/c2mon/u-boot.lds
board/c2mon/u-boot.lds.debug
board/cobra5272/u-boot.lds
board/cogent/u-boot.lds
board/cogent/u-boot.lds.debug
board/cray/L1/u-boot.lds
board/cray/L1/u-boot.lds.debug
board/csb272/u-boot.lds
board/csb472/u-boot.lds
board/dave/PPChameleonEVB/u-boot.lds
board/eltec/bab7xx/u-boot.lds
board/eltec/elppc/u-boot.lds
board/eltec/mhpc/u-boot.lds
board/eltec/mhpc/u-boot.lds.debug
board/emk/top860/u-boot.lds.debug
board/eric/u-boot.lds
board/esd/apc405/u-boot.lds
board/esd/ar405/u-boot.lds
board/esd/ash405/u-boot.lds
board/esd/canbt/u-boot.lds
board/esd/cms700/u-boot.lds
board/esd/cpci2dp/u-boot.lds
board/esd/cpci750/u-boot.lds
board/esd/cpciiser4/u-boot.lds
board/esd/dasa_sim/u-boot.lds
board/esd/dp405/u-boot.lds
board/esd/du405/u-boot.lds
board/esd/hh405/u-boot.lds
board/esd/hub405/u-boot.lds
board/esd/ocrtc/u-boot.lds
board/esd/pci405/u-boot.lds
board/esd/pmc405/u-boot.lds
board/esd/pmc440/u-boot-nand.lds
board/esd/tasreg/u-boot.lds
board/esd/voh405/u-boot.lds
board/esd/wuh405/u-boot.lds
board/esteem192e/u-boot.lds
board/etx094/u-boot.lds
board/etx094/u-boot.lds.debug
board/evb64260/u-boot.lds
board/exbitgen/u-boot.lds
board/fads/u-boot.lds
board/fads/u-boot.lds.debug
board/flagadm/u-boot.lds.debug
board/freescale/m52277evb/u-boot.lds
board/freescale/m5235evb/u-boot.16
board/freescale/m5235evb/u-boot.32
board/freescale/m5235evb/u-boot.lds
board/freescale/m5249evb/u-boot.lds
board/freescale/m5253demo/u-boot.lds
board/freescale/m5253evbe/u-boot.lds
board/freescale/m5271evb/u-boot.lds
board/freescale/m5272c3/u-boot.lds
board/freescale/m5275evb/u-boot.lds
board/freescale/m5282evb/u-boot.lds
board/freescale/m5329evb/u-boot.lds
board/freescale/m5373evb/u-boot.lds
board/freescale/m54451evb/u-boot.spa
board/freescale/m54451evb/u-boot.stm
board/freescale/m54455evb/u-boot.atm
board/freescale/m54455evb/u-boot.lds
board/freescale/m547xevb/u-boot.lds
board/freescale/m548xevb/u-boot.lds
board/freescale/mpc7448hpc2/u-boot.lds
board/freescale/mx31ads/u-boot.lds
board/g2000/u-boot.lds
board/gen860t/u-boot-flashenv.lds
board/genietv/u-boot.lds
board/genietv/u-boot.lds.debug
board/gth/u-boot.lds
board/hermes/u-boot.lds
board/hermes/u-boot.lds.debug
board/hymod/u-boot.lds
board/hymod/u-boot.lds.debug
board/icu862/u-boot.lds
board/icu862/u-boot.lds.debug
board/idmr/u-boot.lds
board/ip860/u-boot.lds
board/ip860/u-boot.lds.debug
board/ivm/u-boot.lds
board/ivm/u-boot.lds.debug
board/jse/u-boot.lds
board/kup/kup4k/u-boot.lds
board/kup/kup4k/u-boot.lds.debug
board/kup/kup4x/u-boot.lds
board/kup/kup4x/u-boot.lds.debug
board/lantec/u-boot.lds
board/lantec/u-boot.lds.debug
board/lwmon/u-boot.lds
board/lwmon/u-boot.lds.debug
board/mbx8xx/u-boot.lds.debug
board/mgsuvd/u-boot.lds
board/ml2/u-boot.lds
board/ml2/u-boot.lds.debug
board/mousse/u-boot.lds.ram
board/mousse/u-boot.lds.rom
board/mpl/mip405/u-boot.lds
board/mpl/pip405/u-boot.lds
board/mpl/pip405/u-boot.lds.debug
board/mpr2/u-boot.lds
board/ms7720se/u-boot.lds
board/ms7722se/u-boot.lds
board/ms7750se/u-boot.lds
board/netphone/u-boot.lds
board/netphone/u-boot.lds.debug
board/netstal/hcu4/u-boot.lds
board/netstal/mcu25/u-boot.lds
board/netta/u-boot.lds
board/netta/u-boot.lds.debug
board/netta2/u-boot.lds
board/netta2/u-boot.lds.debug
board/netvia/u-boot.lds
board/netvia/u-boot.lds.debug
board/nx823/u-boot.lds
board/nx823/u-boot.lds.debug
board/pcippc2/u-boot.lds
board/ppmc7xx/u-boot.lds
board/prodrive/p3mx/u-boot.lds
board/purple/u-boot.lds
board/quantum/u-boot.lds
board/quantum/u-boot.lds.debug
board/r2dplus/u-boot.lds
board/r360mpi/u-boot.lds
board/r7780mp/u-boot.lds
board/rbc823/u-boot.lds
board/rmu/u-boot.lds
board/rmu/u-boot.lds.debug
board/rsk7203/u-boot.lds
board/sandburst/karef/u-boot.lds
board/sandburst/karef/u-boot.lds.debug
board/sandburst/metrobox/u-boot.lds
board/sandburst/metrobox/u-boot.lds.debug
board/sbc405/u-boot.lds
board/sc3/u-boot.lds
board/sh7763rdp/u-boot.lds
board/sh7785lcr/u-boot.lds
board/siemens/CCM/u-boot.lds
board/siemens/CCM/u-boot.lds.debug
board/siemens/IAD210/u-boot.lds
board/siemens/pcu_e/u-boot.lds
board/siemens/pcu_e/u-boot.lds.debug
board/sixnet/u-boot.lds
board/snmc/qs850/u-boot.lds
board/snmc/qs860t/u-boot.lds
board/spc1920/u-boot.lds
board/spd8xx/u-boot.lds
board/spd8xx/u-boot.lds.debug
board/stxxtc/u-boot.lds
board/stxxtc/u-boot.lds.debug
board/svm_sc8xx/u-boot.lds
board/svm_sc8xx/u-boot.lds.debug
board/tqc/tqm8xx/u-boot.lds
board/tqc/tqm8xx/u-boot.lds.debug
board/trab/u-boot.lds
board/uc100/u-boot.lds
board/uc100/u-boot.lds.debug
board/v37/u-boot.lds
board/w7o/u-boot.lds.debug
board/westel/amx860/u-boot.lds
board/westel/amx860/u-boot.lds.debug
board/xilinx/ml300/u-boot.lds
board/xilinx/ml300/u-boot.lds.debug
board/xpedite1k/u-boot.lds
board/xpedite1k/u-boot.lds.debug
common/Makefile
common/env_embedded.c [new file with mode: 0644]
common/environment.c [deleted file]
cpu/mpc5xx/u-boot.lds
cpu/mpc5xxx/u-boot-customlayout.lds
doc/README.nios
tools/.gitignore
tools/Makefile

index b2a485320177ab0502c8d335a504a7941b87bd48..4246f93eb045aee63c2498980f0f664e843a90f6 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -3213,7 +3213,7 @@ clobber:  clean
        @rm -f $(OBJS) $(obj)*.bak $(obj)ctags $(obj)etags $(obj)TAGS \
                $(obj)cscope.* $(obj)*.*~
        @rm -f $(obj)u-boot $(obj)u-boot.map $(obj)u-boot.hex $(ALL)
-       @rm -f $(obj)tools/{crc32.c,environment.c,env/crc32.c,md5.c,sha1.c,inca-swap-bytes}
+       @rm -f $(obj)tools/{crc32.c,env_embedded.c,env/crc32.c,md5.c,sha1.c,inca-swap-bytes}
        @rm -f $(obj)tools/{image.c,fdt.c,fdt_ro.c,fdt_rw.c,fdt_strerror.c,zlib.h}
        @rm -f $(obj)tools/{fdt_wip.c,libfdt_internal.h}
        @rm -f $(obj)cpu/mpc824x/bedbug_603e.c
index 4a880e68973599126aeb5119b7eb7d40ef3a6115..b22b332c49a7c5da2b6bc08c5055918090024b0d 100644 (file)
@@ -63,7 +63,7 @@ SECTIONS
     lib_generic/zlib.o (.text)
 
 /*    . = env_offset; */
-    common/environment.o(.text)
+    common/env_embedded.o(.text)
 
     *(.text)
     *(.fixup)
index 7b1440b3650475578e95f742a0e7dbd42cac5c95..40a611adb72a0c8810c887dce82d0b58315c095c 100644 (file)
@@ -77,7 +77,7 @@ SECTIONS
     lib_ppc/ticks.o                    (.text)
 
     . = env_offset;
-    common/environment.o               (.text)
+    common/env_embedded.o              (.text)
 
     *(.text)
     *(.fixup)
index 357867054c695b9ad1854ce77d6d18b07c2cbdbd..434c9b71d386b0f9e13c9b077bafdfe967fe2b2d 100644 (file)
@@ -70,7 +70,7 @@ SECTIONS
     lib_generic/crc32.o                (.text)
 
     . = env_offset;
-    common/environment.o       (.text)
+    common/env_embedded.o      (.text)
 
     *(.text)
     *(.fixup)
index 7386ea7a2525127ef600666b9b912137db66eba6..e107b479c142c3d5e3b07a22232eaa4ef115efe7 100644 (file)
@@ -62,7 +62,7 @@ SECTIONS
     cpu/74xx_7xx/start.o       (.text)
 /* store the environment in a seperate sector in the boot flash */
 /*    . = env_offset; */
-    common/environment.o(.text)
+    common/env_embedded.o(.text)
 
     *(.text)
     *(.fixup)
index 1a95755ab499fffc63b84fd2221e2c9b85529350..b6b37ef34f02117a69ee640faa954d898a2b5a07 100644 (file)
@@ -60,7 +60,7 @@ SECTIONS
 
 /* store the environment in a seperate sector in the boot flash */
 /*    . = env_offset; */
-/*    common/environment.o(.text) */
+/*    common/env_embedded.o(.text) */
 
     *(.text)
     *(.fixup)
index 1a95755ab499fffc63b84fd2221e2c9b85529350..b6b37ef34f02117a69ee640faa954d898a2b5a07 100644 (file)
@@ -60,7 +60,7 @@ SECTIONS
 
 /* store the environment in a seperate sector in the boot flash */
 /*    . = env_offset; */
-/*    common/environment.o(.text) */
+/*    common/env_embedded.o(.text) */
 
     *(.text)
     *(.fixup)
index 692bc62918e48f2ab0088697e1ea127d426e0f48..f9c1effa4485794223ed0c9d26dc991811f5770c 100644 (file)
@@ -49,9 +49,9 @@ SECTIONS
        {
                cpu/sh4/start.o         (.text)
                . = ALIGN(8192);
-               common/environment.o    (.ppcenv)
+               common/env_embedded.o   (.ppcenv)
                . = ALIGN(8192);
-               common/environment.o    (.ppcenvr)
+               common/env_embedded.o   (.ppcenvr)
                . = ALIGN(8192);
                *(.text)
                . = ALIGN(4);
index 1f9a191d4736171bde7b7b1f95a04669613f1e61..271ac766f6d2af48dd039e54d2105da26a756b18 100644 (file)
@@ -64,7 +64,7 @@ SECTIONS
 /* XXX ?
     . = env_offset;
 */
-    common/environment.o(.text)
+    common/env_embedded.o(.text)
 
     *(.text)
     *(.fixup)
index c33581d25035df5873b5b6c311f0a0380295b16b..ea8538900c0a4802bc67fce9e71e8e91a875c53b 100644 (file)
@@ -61,7 +61,7 @@ SECTIONS
     lib_generic/crc32.o                (.text)
 
     . = env_offset;
-    common/environment.o(.text)
+    common/env_embedded.o(.text)
 
     *(.text)
     *(.fixup)
index 1f9a191d4736171bde7b7b1f95a04669613f1e61..271ac766f6d2af48dd039e54d2105da26a756b18 100644 (file)
@@ -64,7 +64,7 @@ SECTIONS
 /* XXX ?
     . = env_offset;
 */
-    common/environment.o(.text)
+    common/env_embedded.o(.text)
 
     *(.text)
     *(.fixup)
index c33581d25035df5873b5b6c311f0a0380295b16b..ea8538900c0a4802bc67fce9e71e8e91a875c53b 100644 (file)
@@ -61,7 +61,7 @@ SECTIONS
     lib_generic/crc32.o                (.text)
 
     . = env_offset;
-    common/environment.o(.text)
+    common/env_embedded.o(.text)
 
     *(.text)
     *(.fixup)
index 2ee12069d747325bd683d077cd48ba80ece33f08..8ccffa217fb9ca76bb51df7a295138335a812768 100644 (file)
@@ -64,7 +64,7 @@ SECTIONS
 /* XXX ?
     . = env_offset;
 */
-    common/environment.o(.text)
+    common/env_embedded.o(.text)
 
     *(.text)
     *(.fixup)
index f6d153763981fc768be1982efc2c223a75a796a9..0f6ae696d8a38e9c77f11d865872bd3184abcc4b 100644 (file)
@@ -61,7 +61,7 @@ SECTIONS
     lib_generic/crc32.o                (.text)
 
     . = env_offset;
-    common/environment.o(.text)
+    common/env_embedded.o(.text)
 
     *(.text)
     *(.fixup)
index 9e767ee40978369f380866d109cd4efc738f9e0a..ce1148d958a3539533c4e0eaf4f373b1187749cb 100644 (file)
@@ -66,7 +66,7 @@ SECTIONS
     lib_ppc/time.o             (.text)
 
     . = env_offset;
-    common/environment.o       (.ppcenv)
+    common/env_embedded.o      (.ppcenv)
 
     *(.text)
     *(.fixup)
index 0de78d32a91ee72776b3a20218b58b6a04e00601..ae9b36c64c7f2648041bbaeda29ce3b5f55b8d8f 100644 (file)
@@ -37,7 +37,7 @@ SECTIONS
                common/dlmalloc.o(.text)
                cpu/ixp/cpu.o(.text)
                . = env_offset;
-               common/environment.o(.ppcenv)
+               common/env_embedded.o(.ppcenv)
                * (.text)
        }
 
index 90cafce6ce28b38d318f42afa328745bccebf8e2..d1f7a0a40cb8cf982b9223284cd223aa4d3b16a7 100644 (file)
@@ -38,7 +38,7 @@ SECTIONS
                cpu/ixp/cpu.o(.text)
 
                . = env_offset;
-               common/environment.o (.ppcenv)
+               common/env_embedded.o (.ppcenv)
 
                * (.text)
        }
index b9a9eb9ffaa5181f1d805124195650750ab007ed..114e5a88a6ee2bf5f00f7ee9bb1bdc8427407bce 100644 (file)
@@ -38,7 +38,7 @@ SECTIONS
                cpu/ixp/cpu.o (.text)
 
                . = env_offset;
-               common/environment.o (.ppcenv)
+               common/env_embedded.o (.ppcenv)
 
                * (.text)
        }
index cbdc0b0500e9c3db7a733569adc4f8b99b873091..bfe2769af5f715c048f1f6f1ae8b6aae14d93f60 100644 (file)
@@ -57,7 +57,7 @@ SECTIONS
 
     /* Align to next NAND block */
     . = ALIGN(0x4000);
-    common/environment.o  (.ppcenv)
+    common/env_embedded.o  (.ppcenv)
     /* Keep some space here for redundant env and potential bad env blocks */
     . = ALIGN(0x10000);
 
index cbdc0b0500e9c3db7a733569adc4f8b99b873091..bfe2769af5f715c048f1f6f1ae8b6aae14d93f60 100644 (file)
@@ -57,7 +57,7 @@ SECTIONS
 
     /* Align to next NAND block */
     . = ALIGN(0x4000);
-    common/environment.o  (.ppcenv)
+    common/env_embedded.o  (.ppcenv)
     /* Keep some space here for redundant env and potential bad env blocks */
     . = ALIGN(0x10000);
 
index 8a4b7f5d0decc830e4e6fd1810f4ac68c3d3e8ea..6e871cfa24b172747741486a9b8339104eb957d6 100644 (file)
@@ -57,7 +57,7 @@ SECTIONS
 
     /* Align to next NAND block */
     . = ALIGN(0x20000);
-    common/environment.o  (.ppcenv)
+    common/env_embedded.o  (.ppcenv)
     /* Keep some space here for redundant env and potential bad env blocks */
     . = ALIGN(0x80000);
 
index cbdc0b0500e9c3db7a733569adc4f8b99b873091..bfe2769af5f715c048f1f6f1ae8b6aae14d93f60 100644 (file)
@@ -57,7 +57,7 @@ SECTIONS
 
     /* Align to next NAND block */
     . = ALIGN(0x4000);
-    common/environment.o  (.ppcenv)
+    common/env_embedded.o  (.ppcenv)
     /* Keep some space here for redundant env and potential bad env blocks */
     . = ALIGN(0x10000);
 
index 2104cc2a3b66754681f69c902cf72b61d2de0379..8091dac3f05f0f4aecec60c47acef5c71a590aae 100644 (file)
@@ -70,7 +70,7 @@ SECTIONS
     board/amcc/redwood/init.o  (.text)
 
 /*    . = env_offset;*/
-/*    common/environment.o(.text)*/
+/*    common/env_embedded.o(.text)*/
 
     *(.text)
     *(.fixup)
index ae2e18de4e79657b368eea9d8a3d0996567436fa..6608e659203ecc4faca88d7f7984b2edb371abc0 100644 (file)
@@ -57,7 +57,7 @@ SECTIONS
 
     /* Align to next NAND block */
     . = ALIGN(0x4000);
-    common/environment.o  (.ppcenv)
+    common/env_embedded.o  (.ppcenv)
     /* Keep some space here for redundant env and potential bad env blocks */
     . = ALIGN(0x10000);
 
index a939e03311ec3ffb5888a4835fe5de90c4400f7a..f5a5616c76ad6a83664b4a45e86618e4bdab1ec1 100644 (file)
@@ -69,7 +69,7 @@ SECTIONS
     lib_generic/zlib.o         (.text)
 
 /*    . = env_offset;*/
-/*    common/environment.o(.text)*/
+/*    common/env_embedded.o(.text)*/
 
     *(.text)
     *(.fixup)
index a670374580547538a52ddccb78e87876cb72564f..015f58b45ed7c48465ad6a23734a1895cdfe638e 100644 (file)
@@ -49,9 +49,9 @@ SECTIONS
        {
                cpu/sh4/start.o         (.text)
                . = ALIGN(8192);
-               common/environment.o    (.ppcenv)
+               common/env_embedded.o   (.ppcenv)
                . = ALIGN(8192);
-               common/environment.o    (.ppcenvr)
+               common/env_embedded.o   (.ppcenvr)
                . = ALIGN(8192);
                *(.text)
                . = ALIGN(4);
index e4b83d11dc262ea0c34feb252b0c8c3ab207b94d..1fedbc5fb7b175deca988ef5e899c1af43e2ac93 100644 (file)
@@ -71,7 +71,7 @@ SECTIONS
                board/bf533-ezkit/bf533-ezkit.o         (.text)
 
                . = DEFINED(env_offset) ? env_offset : .;
-               common/environment.o    (.text)
+               common/env_embedded.o   (.text)
 #endif
 
                *(.text .text.*)
index 01780c570c90145817e23b01c206d55ff8bf9f3c..4e7fd7c04190be77777919c7082ea1e477e97b15 100644 (file)
@@ -69,7 +69,7 @@ SECTIONS
                lib_generic/crc32.o             (.text)
 
                . = DEFINED(env_offset) ? env_offset : .;
-               common/environment.o    (.text)
+               common/env_embedded.o   (.text)
 #endif
 
                *(.text .text.*)
index 01780c570c90145817e23b01c206d55ff8bf9f3c..4e7fd7c04190be77777919c7082ea1e477e97b15 100644 (file)
@@ -69,7 +69,7 @@ SECTIONS
                lib_generic/crc32.o             (.text)
 
                . = DEFINED(env_offset) ? env_offset : .;
-               common/environment.o    (.text)
+               common/env_embedded.o   (.text)
 #endif
 
                *(.text .text.*)
index ddafdcb2af4273d70c94c3193a76abc0f811ad4f..ab5ef0881d44216653fad509c873a9a1cc1e2537 100644 (file)
@@ -71,7 +71,7 @@ SECTIONS
                board/bf561-ezkit/bf561-ezkit.o         (.text)
 
                . = DEFINED(env_offset) ? env_offset : .;
-               common/environment.o    (.text)
+               common/env_embedded.o   (.text)
 #endif
 
                *(.text .text.*)
index 10b38ec356c24615d673e7586642c6ed30b4f388..2229f61a4bbd8dcbb65487a633ba54ecbdabd700 100644 (file)
@@ -63,7 +63,7 @@ SECTIONS
     lib_generic/zlib.o         (.text)
 
     . = env_offset;
-    common/environment.o(.text)
+    common/env_embedded.o(.text)
 
     *(.text)
     *(.fixup)
index 85072feda47ce32de1b81d1da925745e627ebf41..dbec9860a92a20a0969babd7d912a87e56f7e0ab 100644 (file)
@@ -61,7 +61,7 @@ SECTIONS
     lib_generic/crc32.o                (.text)
 
     . = env_offset;
-    common/environment.o(.text)
+    common/env_embedded.o(.text)
 
     *(.text)
     *(.fixup)
index f99a236a316d681e18ec38a5c4c124eafe0998d1..bed11777edb352a42dc11b4fcb10c319c31ec2f5 100644 (file)
@@ -62,7 +62,7 @@ SECTIONS
     lib_generic/zlib.o         (.text)
 
     . = DEFINED(env_offset) ? env_offset : .;
-    common/environment.o       (.text)
+    common/env_embedded.o      (.text)
 
     *(.text)
     *(.fixup)
index 59d62e101185ad9cf0c6d80b641be6ba3f1d1dd9..e9f05d3c7a9dd99deb5867f72ca147fdbd073253 100644 (file)
@@ -53,7 +53,7 @@ SECTIONS
   .text      :
   {
     *(.text)
-    common/environment.o(.text)
+    common/env_embedded.o(.text)
     *(.fixup)
     *(.got1)
   }
index c33581d25035df5873b5b6c311f0a0380295b16b..ea8538900c0a4802bc67fce9e71e8e91a875c53b 100644 (file)
@@ -61,7 +61,7 @@ SECTIONS
     lib_generic/crc32.o                (.text)
 
     . = env_offset;
-    common/environment.o(.text)
+    common/env_embedded.o(.text)
 
     *(.text)
     *(.fixup)
index a6bbef3dcc0da31d5e8357ad04f9c629a444313f..9d37257f5c5bee2f2aff424119c602aa318399a9 100644 (file)
@@ -75,7 +75,7 @@ SECTIONS
     lib_generic/zlib.o         (.text)
 
 /*. = env_offset;*/
-    common/environment.o(.text)
+    common/env_embedded.o(.text)
 
     *(.text)
     *(.fixup)
index 0552994f40ee76ed1308a192894558bbacc634e9..338392a075986f34bf1c231a084488d0ceb8d74e 100644 (file)
@@ -61,7 +61,7 @@ SECTIONS
     lib_generic/crc32.o                (.text)
     lib_ppc/extable.o  (.text)
 
-    common/environment.o(.text)
+    common/env_embedded.o(.text)
 
     *(.text)
     *(.fixup)
index 947fbd638244c40b2d484beeabfeb0d9d90b88f7..be381e17de2bad236c034efea6d3126d03aa9b6b 100644 (file)
@@ -76,7 +76,7 @@ SECTIONS
     lib_ppc/board.o    (.text)
     lib_generic/zlib.o (.text)
 /*    . = env_offset;*/
-/*    common/environment.o(.text)*/
+/*    common/env_embedded.o(.text)*/
 
     *(.text)
     *(.fixup)
index de3643eed911e5feb8130f320539a8466ec2a462..375150db15b8884280205f710cf2defb58029db9 100644 (file)
@@ -76,7 +76,7 @@ SECTIONS
     lib_ppc/board.o    (.text)
     lib_generic/zlib.o (.text)
 /*    . = env_offset;*/
-/*    common/environment.o(.text)*/
+/*    common/env_embedded.o(.text)*/
 
     *(.text)
     *(.fixup)
index 3037a049c3713a2915dd17bd12c547c1c107fe69..e42c76f8863eebb2435888a3b3ff4f91d1192a54 100644 (file)
@@ -147,7 +147,7 @@ SECTIONS
   . = 0xFFFF8000;
   .ppcenv :
   {
-    common/environment.o(.ppcenv);
+    common/env_embedded.o(.ppcenv);
   }
 
   _end = . ;
index 1a95755ab499fffc63b84fd2221e2c9b85529350..b6b37ef34f02117a69ee640faa954d898a2b5a07 100644 (file)
@@ -60,7 +60,7 @@ SECTIONS
 
 /* store the environment in a seperate sector in the boot flash */
 /*    . = env_offset; */
-/*    common/environment.o(.text) */
+/*    common/env_embedded.o(.text) */
 
     *(.text)
     *(.fixup)
index 1a95755ab499fffc63b84fd2221e2c9b85529350..b6b37ef34f02117a69ee640faa954d898a2b5a07 100644 (file)
@@ -60,7 +60,7 @@ SECTIONS
 
 /* store the environment in a seperate sector in the boot flash */
 /*    . = env_offset; */
-/*    common/environment.o(.text) */
+/*    common/env_embedded.o(.text) */
 
     *(.text)
     *(.fixup)
index 85117aa56e3792367794cdec1ebe07f58040b4c6..465566d7abbf45682d3e5bffb1670942e36688b2 100644 (file)
@@ -53,7 +53,7 @@ SECTIONS
   .text      :
   {
     cpu/mpc8xx/start.o (.text)
-    common/environment.o(.text)
+    common/env_embedded.o(.text)
 
     *(.text)
     *(.fixup)
index 85072feda47ce32de1b81d1da925745e627ebf41..dbec9860a92a20a0969babd7d912a87e56f7e0ab 100644 (file)
@@ -61,7 +61,7 @@ SECTIONS
     lib_generic/crc32.o                (.text)
 
     . = env_offset;
-    common/environment.o(.text)
+    common/env_embedded.o(.text)
 
     *(.text)
     *(.fixup)
index 5d97095c12a431879a778c8a186219e5ca8b7320..82e8dce830371adb94cc9f3bd0683f1e7095403e 100644 (file)
@@ -62,7 +62,7 @@ SECTIONS
     lib_ppc/extable.o  (.text)
 
     . = env_offset;
-    common/environment.o(.text)
+    common/env_embedded.o(.text)
 
     *(.text)
     *(.fixup)
index 00e35a6b8d1737dd5846418ab20f7cc85373da97..153e71f891aaa87d1e4b806e004186a031918c6c 100644 (file)
@@ -75,7 +75,7 @@ SECTIONS
     lib_generic/zlib.o         (.text)
 
 /*    . = env_offset;*/
-    common/environment.o(.text)
+    common/env_embedded.o(.text)
 
     *(.text)
     *(.fixup)
index 21547ac275926d3c87b2a69d07e2a7e2d869f9d9..004be5154b6d729413ba8dfd267e1e37d016fbff 100644 (file)
@@ -72,7 +72,7 @@ SECTIONS
     lib_generic/zlib.o         (.text)
 
 /*    . = env_offset;*/
-/*    common/environment.o(.text)*/
+/*    common/env_embedded.o(.text)*/
 
     *(.text)
     *(.fixup)
index 89cd067346a3d154c8385a0b93ac55cc87fe17d6..4a881b6eda8028c633304701a4e216691f87f89f 100644 (file)
@@ -83,9 +83,9 @@ SECTIONS
 
 /*
     . = DEFINED(env_offset) ? env_offset : .;
-    common/environment.o       (.ppcenv)
+    common/env_embedded.o      (.ppcenv)
 */
-    common/environment.o       (.text)
+    common/env_embedded.o      (.text)
 
     *(.text)
     *(.fixup)
index 644174a46db17765fd02f37311ed7c72323e2cab..fba3de8f00ad71479606201c48531e17676c5ad6 100644 (file)
@@ -72,7 +72,7 @@ SECTIONS
     lib_generic/zlib.o         (.text)
 
 /*    . = env_offset;*/
-/*    common/environment.o(.text)*/
+/*    common/env_embedded.o(.text)*/
 
     *(.text)
     *(.fixup)
index 71bac09f232f6b8300566bb8dd20ef9b0025be1f..bf3f534607c42d7d89182e349b70c0175c5588e5 100644 (file)
@@ -82,7 +82,7 @@ SECTIONS
     net/net.o                  (.text)
 
 /*    . = env_offset;
-    common/environment.o       (.text)
+    common/env_embedded.o      (.text)
 */
 
     *(.text)
index 21547ac275926d3c87b2a69d07e2a7e2d869f9d9..004be5154b6d729413ba8dfd267e1e37d016fbff 100644 (file)
@@ -72,7 +72,7 @@ SECTIONS
     lib_generic/zlib.o         (.text)
 
 /*    . = env_offset;*/
-/*    common/environment.o(.text)*/
+/*    common/env_embedded.o(.text)*/
 
     *(.text)
     *(.fixup)
index 21547ac275926d3c87b2a69d07e2a7e2d869f9d9..004be5154b6d729413ba8dfd267e1e37d016fbff 100644 (file)
@@ -72,7 +72,7 @@ SECTIONS
     lib_generic/zlib.o         (.text)
 
 /*    . = env_offset;*/
-/*    common/environment.o(.text)*/
+/*    common/env_embedded.o(.text)*/
 
     *(.text)
     *(.fixup)
index 1a95755ab499fffc63b84fd2221e2c9b85529350..b6b37ef34f02117a69ee640faa954d898a2b5a07 100644 (file)
@@ -60,7 +60,7 @@ SECTIONS
 
 /* store the environment in a seperate sector in the boot flash */
 /*    . = env_offset; */
-/*    common/environment.o(.text) */
+/*    common/env_embedded.o(.text) */
 
     *(.text)
     *(.fixup)
index 21547ac275926d3c87b2a69d07e2a7e2d869f9d9..004be5154b6d729413ba8dfd267e1e37d016fbff 100644 (file)
@@ -72,7 +72,7 @@ SECTIONS
     lib_generic/zlib.o         (.text)
 
 /*    . = env_offset;*/
-/*    common/environment.o(.text)*/
+/*    common/env_embedded.o(.text)*/
 
     *(.text)
     *(.fixup)
index 6126b1603225284c2b9e075dc65b092f1bcc3916..f97da2d611fdfbc2d86f197df9cc9b731169c1a6 100644 (file)
@@ -86,7 +86,7 @@ SECTIONS
     net/bootp.o        (.text)
 
     . = env_offset;
-    common/environment.o(.text)
+    common/env_embedded.o(.text)
 
     *(.text)
     *(.fixup)
index d70d37934e4e32457128ac7db6626d71e9aca714..7ff074c152ed5a6369351280009248d6a52b76e6 100644 (file)
@@ -73,7 +73,7 @@ SECTIONS
     lib_generic/zlib.o         (.text)
 
 /*    . = env_offset;*/
-/*    common/environment.o(.text)*/
+/*    common/env_embedded.o(.text)*/
 
     *(.text)
     *(.fixup)
index 46ef7e72ab750b65abb088e650ababf50573d18e..37c5ea7f08c8796787c98e77cfcbd914cc61f493 100644 (file)
@@ -72,7 +72,7 @@ SECTIONS
     lib_generic/zlib.o         (.text)
 
 /*    . = env_offset;*/
-/*    common/environment.o(.text)*/
+/*    common/env_embedded.o(.text)*/
 
     *(.text)
     *(.fixup)
index 21547ac275926d3c87b2a69d07e2a7e2d869f9d9..004be5154b6d729413ba8dfd267e1e37d016fbff 100644 (file)
@@ -72,7 +72,7 @@ SECTIONS
     lib_generic/zlib.o         (.text)
 
 /*    . = env_offset;*/
-/*    common/environment.o(.text)*/
+/*    common/env_embedded.o(.text)*/
 
     *(.text)
     *(.fixup)
index f21c7aad4bb2eff3d4aa020d260d008e4e5eb7d4..c4a1a4bc836501dc1c905ef13340db798da6535c 100644 (file)
@@ -73,7 +73,7 @@ SECTIONS
     lib_generic/zlib.o         (.text)
 
 /*    . = env_offset;*/
-/*    common/environment.o(.text)*/
+/*    common/env_embedded.o(.text)*/
 
     *(.text)
     *(.fixup)
index 5fb96994469a98d86b03469622897b7d9d235667..42ad8491464402a3bf9b2c229ba679be5b58bab8 100644 (file)
@@ -72,7 +72,7 @@ SECTIONS
     lib_generic/zlib.o         (.text)
 
 /*    . = env_offset;*/
-/*    common/environment.o(.text)*/
+/*    common/env_embedded.o(.text)*/
 
     *(.text)
     *(.fixup)
index 21547ac275926d3c87b2a69d07e2a7e2d869f9d9..004be5154b6d729413ba8dfd267e1e37d016fbff 100644 (file)
@@ -72,7 +72,7 @@ SECTIONS
     lib_generic/zlib.o         (.text)
 
 /*    . = env_offset;*/
-/*    common/environment.o(.text)*/
+/*    common/env_embedded.o(.text)*/
 
     *(.text)
     *(.fixup)
index 81ee614f65b24dfc8d4f7f56c08422f33e8db44d..87449d49a8a7fcef1972a36227b660b6fade5475 100644 (file)
@@ -72,7 +72,7 @@ SECTIONS
     lib_generic/zlib.o         (.text)
 
 /*    . = env_offset;*/
-/*    common/environment.o(.text)*/
+/*    common/env_embedded.o(.text)*/
 
     *(.text)
     *(.fixup)
index ae2e18de4e79657b368eea9d8a3d0996567436fa..6608e659203ecc4faca88d7f7984b2edb371abc0 100644 (file)
@@ -57,7 +57,7 @@ SECTIONS
 
     /* Align to next NAND block */
     . = ALIGN(0x4000);
-    common/environment.o  (.ppcenv)
+    common/env_embedded.o  (.ppcenv)
     /* Keep some space here for redundant env and potential bad env blocks */
     . = ALIGN(0x10000);
 
index afdb7202ca86cd9af7a5154e7acc39d6624b6fff..aec7e9bf43a7919b79a45d108fd10decba2b31e6 100644 (file)
@@ -62,7 +62,7 @@ SECTIONS
     lib_generic/zlib.o         (.text)
 
     . = DEFINED(env_offset) ? env_offset : .;
-    common/environment.o       (.text)
+    common/env_embedded.o      (.text)
 
     *(.text)
     *(.fixup)
index d70d37934e4e32457128ac7db6626d71e9aca714..7ff074c152ed5a6369351280009248d6a52b76e6 100644 (file)
@@ -73,7 +73,7 @@ SECTIONS
     lib_generic/zlib.o         (.text)
 
 /*    . = env_offset;*/
-/*    common/environment.o(.text)*/
+/*    common/env_embedded.o(.text)*/
 
     *(.text)
     *(.fixup)
index 644174a46db17765fd02f37311ed7c72323e2cab..fba3de8f00ad71479606201c48531e17676c5ad6 100644 (file)
@@ -72,7 +72,7 @@ SECTIONS
     lib_generic/zlib.o         (.text)
 
 /*    . = env_offset;*/
-/*    common/environment.o(.text)*/
+/*    common/env_embedded.o(.text)*/
 
     *(.text)
     *(.fixup)
index acaf4e34fc1693511b7bc6fbc1ba590aaf6e32f9..cdc3cccdfdf3e0541891eae6d1264b5b837b8e17 100644 (file)
@@ -63,7 +63,7 @@ SECTIONS
     lib_generic/zlib.o         (.text)
 
     . = env_offset;
-    common/environment.o(.text)
+    common/env_embedded.o(.text)
 
     *(.text)
     *(.fixup)
index 5313bd40a558c59cc18bd8a1b163b1ad1d1b7aad..4ed75705b62aa60fcb78a8de5fd2f2d8a32111ff 100644 (file)
@@ -66,7 +66,7 @@ SECTIONS
     lib_generic/zlib.o         (.text)
 
     . = env_offset;
-    common/environment.o(.text)
+    common/env_embedded.o(.text)
     *(.text)
     *(.fixup)
     *(.got1)
index 06115ead8281704fd56a197384c1266278cf740c..28f8804dcc161974b3c60d7dc81e7e6e0f4ac987 100644 (file)
@@ -68,7 +68,7 @@ SECTIONS
     lib_generic/crc32.o                (.text)
     common/dlmalloc.o  (.text)
     . = env_offset;
-    common/environment.o(.text)
+    common/env_embedded.o(.text)
 
     *(.text)
     *(.fixup)
index 1a95755ab499fffc63b84fd2221e2c9b85529350..b6b37ef34f02117a69ee640faa954d898a2b5a07 100644 (file)
@@ -60,7 +60,7 @@ SECTIONS
 
 /* store the environment in a seperate sector in the boot flash */
 /*    . = env_offset; */
-/*    common/environment.o(.text) */
+/*    common/env_embedded.o(.text) */
 
     *(.text)
     *(.fixup)
index e4faa446ee094316279652dde1ccf9dce5411546..cf66426357dc77865808689416d66c8529d97dd1 100644 (file)
@@ -74,7 +74,7 @@ SECTIONS
     lib_generic/zlib.o         (.text)
 
 /*    . = env_offset;*/
-    common/environment.o(.text)
+    common/env_embedded.o(.text)
 
     *(.text)
     *(.fixup)
index c7571e49967fa831f7bf59e03ffd6ff7101fe3f2..8e408a6efc05bca7e74e1a3302a40f4a4243084d 100644 (file)
@@ -53,7 +53,7 @@ SECTIONS
     cpu/mpc8xx/start.o         (.text)
 
     /*. = DEFINED(env_offset) ? env_offset : .;*/
-    common/environment.o       (.ppcenv)
+    common/env_embedded.o      (.ppcenv)
 
     *(.text)
     *(.fixup)
index fd2245f57ba8de452951c983f02c6a89c315fe21..67d37ae33449e158c434c09896bd55426175a8fd 100644 (file)
@@ -62,7 +62,7 @@ SECTIONS
     lib_ppc/extable.o  (.text)
 
     . = env_offset;
-    common/environment.o(.text)
+    common/env_embedded.o(.text)
 
     *(.text)
     *(.fixup)
index 85072feda47ce32de1b81d1da925745e627ebf41..dbec9860a92a20a0969babd7d912a87e56f7e0ab 100644 (file)
@@ -61,7 +61,7 @@ SECTIONS
     lib_generic/crc32.o                (.text)
 
     . = env_offset;
-    common/environment.o(.text)
+    common/env_embedded.o(.text)
 
     *(.text)
     *(.fixup)
index 098e9d3464fa4ae1f8f5b8d0053852c29a0af025..7ae70d455fa15283804fda84f7a01e57ad1321d2 100644 (file)
@@ -63,7 +63,7 @@ SECTIONS
     common/main.o              (.text)
 
     . = DEFINED(env_offset) ? env_offset : .;
-    common/environment.o       (.text)
+    common/env_embedded.o      (.text)
 
     *(.text)
     *(.fixup)
index 4ca026fc5327dfc58dfe5fbf70aaa6fe065e4078..c134884375dedb224d784024efdf46bbc1a6c550 100644 (file)
@@ -63,7 +63,7 @@ SECTIONS
     lib_generic/zlib.o         (.text)
 
     . = DEFINED(env_offset) ? env_offset : .;
-    common/environment.o       (.text)
+    common/env_embedded.o      (.text)
 
     *(.text)
     *(.fixup)
index eeffdfb4e7e55a13fd5cb801b794771427eec7d3..53c337df893e3efe580f99ff89514fa0b24ec261 100644 (file)
@@ -71,7 +71,7 @@ SECTIONS
     lib_generic/libgeneric.a   (.text)
 
     . = DEFINED(env_offset) ? env_offset : .;
-    common/environment.o       (.text)
+    common/env_embedded.o      (.text)
 
     *(.text)
     *(.fixup)
index 33133a0fcd455119e280a485a53b2069a9122f52..c0611b9ce3396e50a06e6a599c9ade6dff675c3a 100644 (file)
@@ -63,7 +63,7 @@ SECTIONS
     lib_generic/zlib.o         (.text)
 
     . = DEFINED(env_offset) ? env_offset : .;
-    common/environment.o       (.text)
+    common/env_embedded.o      (.text)
 
     *(.text)
     *(.fixup)
index afdb7202ca86cd9af7a5154e7acc39d6624b6fff..aec7e9bf43a7919b79a45d108fd10decba2b31e6 100644 (file)
@@ -62,7 +62,7 @@ SECTIONS
     lib_generic/zlib.o         (.text)
 
     . = DEFINED(env_offset) ? env_offset : .;
-    common/environment.o       (.text)
+    common/env_embedded.o      (.text)
 
     *(.text)
     *(.fixup)
index 4bdea5ed5f5cac5c2f0d0fb1bb890895bd0f759b..a2957645767a9e4131ba4a50e592d7e2e2fb20f7 100644 (file)
@@ -62,7 +62,7 @@ SECTIONS
     lib_generic/zlib.o         (.text)
 
     . = DEFINED(env_offset) ? env_offset : .;
-    common/environment.o       (.text)
+    common/env_embedded.o      (.text)
 
 
     *(.text)
index 6d225f5281910e50396b71fd5755839b666ad36e..239cf95e5db12a5bac1cc3e4970c9bcd1933ef93 100644 (file)
@@ -62,7 +62,7 @@ SECTIONS
     lib_generic/zlib.o         (.text)
 
     . = DEFINED(env_offset) ? env_offset : .;
-    common/environment.o       (.text)
+    common/env_embedded.o      (.text)
 
     *(.text)
     *(.fixup)
index c07d02383458d92cbb1fbd0f0a61ae59d3a24e29..0bc7fa1ab9e6eccc70d57d3127892c03db48e685 100644 (file)
@@ -63,7 +63,7 @@ SECTIONS
     lib_generic/zlib.o         (.text)
 
     . = DEFINED(env_offset) ? env_offset : .;
-    common/environment.o       (.ppcenv)
+    common/env_embedded.o      (.ppcenv)
 
     *(.text)
     *(.fixup)
index 8420c91a7c6afcd344d92fc9144859396407d595..e5c7b67c69c8fcb174c005c7b1da83792f6efb98 100644 (file)
@@ -62,7 +62,7 @@ SECTIONS
     lib_generic/zlib.o         (.text)
 
     . = DEFINED(env_offset) ? env_offset : .;
-    common/environment.o       (.text)
+    common/env_embedded.o      (.text)
 
     *(.text)
     *(.fixup)
index d810ebc144125673607600852238a2f6746a36e8..a3e03d556c337d76db654af2dd4005e025778185 100644 (file)
@@ -61,7 +61,7 @@ SECTIONS
     lib_generic/zlib.o         (.text)
 
     . = DEFINED(env_offset) ? env_offset : .;
-    common/environment.o(.text)
+    common/env_embedded.o(.text)
 
     *(.text)
     *(.fixup)
index 96fde65382185655217693015c4bfb4f41f6c8ec..707b228afd6cb0bdc58e8873aa47695976577e81 100644 (file)
@@ -62,7 +62,7 @@ SECTIONS
     lib_generic/crc32.o        (.text)
 
     . = env_offset;
-    common/environment.o(.text)
+    common/env_embedded.o(.text)
 
     *(.text)
     *(.fixup)
index 1ddfbc47064d23bf311cb5e512237940a342a9b1..c9da922aea6fadef2def44ab48bab8e6ab6d471f 100644 (file)
@@ -62,7 +62,7 @@ SECTIONS
     lib_generic/zlib.o         (.text)
 
     . = DEFINED(env_offset) ? env_offset : .;
-    common/environment.o       (.text)
+    common/env_embedded.o      (.text)
 
     *(.text)
     *(.fixup)
index d30a401be93ed146d3df5e64516b68dcea1f88fb..fcf1ff1d828982a8b0e797ff9e604623163eb74b 100644 (file)
@@ -62,7 +62,7 @@ SECTIONS
     lib_generic/zlib.o         (.text)
 
     . = DEFINED(env_offset) ? env_offset : .;
-    common/environment.o       (.text)
+    common/env_embedded.o      (.text)
 
     *(.text)
     *(.fixup)
index 22c60486539c4a8b505894ebe26b0e678ba186f6..08e184c1e66cbcdffa69ae0ee43f274bf22d0c4c 100644 (file)
@@ -62,7 +62,7 @@ SECTIONS
     lib_generic/zlib.o         (.text)
 
     . = DEFINED(env_offset) ? env_offset : .;
-    common/environment.o       (.text)
+    common/env_embedded.o      (.text)
 
     *(.text)
     *(.fixup)
index 0752e271514ac4dd84355e0d61b008bb29da8af8..e9eac67b90ed074977434d759c05976448aa30cd 100644 (file)
@@ -68,7 +68,7 @@ SECTIONS
     board/freescale/m54455evb/m54455evb.o      (.text)
 
     . = DEFINED(env_offset) ? env_offset : .;
-    common/environment.o       (.text)
+    common/env_embedded.o      (.text)
 */
     *(.text)
     *(.fixup)
index 22c60486539c4a8b505894ebe26b0e678ba186f6..08e184c1e66cbcdffa69ae0ee43f274bf22d0c4c 100644 (file)
@@ -62,7 +62,7 @@ SECTIONS
     lib_generic/zlib.o         (.text)
 
     . = DEFINED(env_offset) ? env_offset : .;
-    common/environment.o       (.text)
+    common/env_embedded.o      (.text)
 
     *(.text)
     *(.fixup)
index 1aa53c23f61f60d261d94c4096a665061c229ffc..bcf30c3532f862a8342628f9e20c02ee58759d69 100644 (file)
@@ -62,7 +62,7 @@ SECTIONS
     lib_generic/zlib.o         (.text)
 
     . = DEFINED(env_offset) ? env_offset : .;
-    common/environment.o       (.text)
+    common/env_embedded.o      (.text)
 
     *(.text)
     *(.fixup)
index cc7f3eba878a88527de586c6fbd709e4939495c6..c25c8dcdc816a8d88394eb1c68fdeb3ff48ee364 100644 (file)
@@ -61,7 +61,7 @@ SECTIONS
     common/dlmalloc.o          (.text)
 
     . = DEFINED(env_offset) ? env_offset : .;
-    common/environment.o       (.text)
+    common/env_embedded.o      (.text)
 
     *(.text)
     *(.fixup)
index cc7f3eba878a88527de586c6fbd709e4939495c6..c25c8dcdc816a8d88394eb1c68fdeb3ff48ee364 100644 (file)
@@ -61,7 +61,7 @@ SECTIONS
     common/dlmalloc.o          (.text)
 
     . = DEFINED(env_offset) ? env_offset : .;
-    common/environment.o       (.text)
+    common/env_embedded.o      (.text)
 
     *(.text)
     *(.fixup)
index 6b228f7a91fc1e41f3af7379b029ff4c4d4d01fa..68110ffd5bc62214d661073cbf3133ebaa8b477f 100644 (file)
@@ -60,7 +60,7 @@ SECTIONS
 
 /* store the environment in a seperate sector in the boot flash */
 /*    . = env_offset; */
-/*    common/environment.o(.text) */
+/*    common/env_embedded.o(.text) */
 
     *(.text)
     *(.fixup)
index c379460c9b0eb152f66bdf76ed6b2af361d2edc4..1c35fa614efd63ab72fbe7a9ca76432bd0ae5ce3 100644 (file)
@@ -44,7 +44,7 @@ SECTIONS
          drivers/mtd/libmtd.a                  (.text)
 
          . = DEFINED(env_offset) ? env_offset : .;
-         common/environment.o(.text)
+         common/env_embedded.o(.text)
 
          *(.text)
        }
index d70d37934e4e32457128ac7db6626d71e9aca714..7ff074c152ed5a6369351280009248d6a52b76e6 100644 (file)
@@ -73,7 +73,7 @@ SECTIONS
     lib_generic/zlib.o         (.text)
 
 /*    . = env_offset;*/
-/*    common/environment.o(.text)*/
+/*    common/env_embedded.o(.text)*/
 
     *(.text)
     *(.fixup)
index bb03d3aacd34e61e9327aa2bc5a014ed7a7a0b9f..8215a230c7f64a85fd7b3348026be124e98690b1 100644 (file)
@@ -133,6 +133,6 @@ SECTIONS
   .ppcenv:
   {
     . = env_offset;
-    common/environment.o
+    common/env_embedded.o
   }
 }
index 3573608d2b2fa4bab4a27edac09a67c24497d3bf..99d743b5a1259ad9f323b7822b761febb8f341ea 100644 (file)
@@ -63,7 +63,7 @@ SECTIONS
     lib_generic/zlib.o         (.text)
 
     . = env_offset;
-    common/environment.o(.text)
+    common/env_embedded.o(.text)
     *(.text)
     *(.fixup)
     *(.got1)
@@ -137,7 +137,7 @@ SECTIONS
   . = ALIGN(256 * 1024);
   .ppcenv      :
   {
-    common/environment.o (.ppcenv)
+    common/env_embedded.o (.ppcenv)
   }
   _end = . ;
   PROVIDE (end = .);
index 8dedba81470c3360a6f3813db1e7aa4f2acd3081..61fdfe53ec7a2ae27bb5499970a889af412637f5 100644 (file)
@@ -63,7 +63,7 @@ SECTIONS
     lib_generic/zlib.o         (.text)
 
     . = env_offset;
-    common/environment.o(.text)
+    common/env_embedded.o(.text)
     *(.text)
     *(.fixup)
     *(.got1)
@@ -135,7 +135,7 @@ SECTIONS
   . = ALIGN(256 * 1024);
   .ppcenv      :
   {
-    common/environment.o (.ppcenv)
+    common/env_embedded.o (.ppcenv)
   }
   _end = . ;
   PROVIDE (end = .);
index 95f94454d0018ccc4337f3746dedc59598529a67..ea5fafe2b4bae60693e82db547987d7199a0a1ff 100644 (file)
@@ -54,7 +54,7 @@ SECTIONS
   {
     cpu/mpc8xx/start.o(.text)
     *(.text)
-    common/environment.o(.text)
+    common/env_embedded.o(.text)
     *(.fixup)
     *(.got1)
   }
index 5f5fb0d58e3fffce2d0ad49f399d2d0ea6868272..47c4c7b16d78e4a4faebef0b6341b124b61619ec 100644 (file)
@@ -63,7 +63,7 @@ SECTIONS
     lib_ppc/cache.o            (.text)
     lib_generic/crc32.o                (.text)
     . = env_offset;
-    common/environment.o(.text)
+    common/env_embedded.o(.text)
 
     *(.text)
     *(.fixup)
index 41d603f7ea194d2c7d305ec00a71a3b2a2aac056..78456e6d8f7867f9d5b958abcb677bdf5a3295b5 100644 (file)
@@ -61,7 +61,7 @@ SECTIONS
     lib_ppc/time.o             (.text)
     lib_ppc/ticks.o            (.text)
     . = env_offset;
-    common/environment.o(.text)
+    common/env_embedded.o(.text)
 
     *(.text)
     *(.fixup)
index cb7b4ea0676c86da16db33d07361cd32fe153bae..2b7e54bf742c4ca8593fae4c860b79d5324388be 100644 (file)
@@ -65,7 +65,7 @@ SECTIONS
 
     . = env_offset;
 */
-    common/environment.o(.text)
+    common/env_embedded.o(.text)
 
     *(.text)
     *(.fixup)
@@ -140,7 +140,7 @@ SECTIONS
   . = ALIGN(256 * 1024);
   .ppcenv      :
   {
-    common/environment.o (.ppcenv)
+    common/env_embedded.o (.ppcenv)
   }
   _end = . ;
   PROVIDE (end = .);
index c33581d25035df5873b5b6c311f0a0380295b16b..ea8538900c0a4802bc67fce9e71e8e91a875c53b 100644 (file)
@@ -61,7 +61,7 @@ SECTIONS
     lib_generic/crc32.o                (.text)
 
     . = env_offset;
-    common/environment.o(.text)
+    common/env_embedded.o(.text)
 
     *(.text)
     *(.fixup)
index be4bf7278c88cf3afd69118672abe29148584689..5594633d31854a88d09f571e3621d3cf6961314d 100644 (file)
@@ -65,7 +65,7 @@ SECTIONS
     lib_generic/zlib.o         (.text)
 
     . = env_offset;
-    common/environment.o(.text)
+    common/env_embedded.o(.text)
 */
 
     *(.text)
index 7a7a40c23eeb6c20f63f4e7b5f8d0afa71817cd6..dbd1f9d1064a7a74778fcbf10f522cece405b479 100644 (file)
@@ -62,7 +62,7 @@ SECTIONS
     lib_ppc/extable.o  (.text)
 
     . = env_offset;
-    common/environment.o(.text)
+    common/env_embedded.o(.text)
 
     *(.text)
     *(.fixup)
index c07d02383458d92cbb1fbd0f0a61ae59d3a24e29..0bc7fa1ab9e6eccc70d57d3127892c03db48e685 100644 (file)
@@ -63,7 +63,7 @@ SECTIONS
     lib_generic/zlib.o         (.text)
 
     . = DEFINED(env_offset) ? env_offset : .;
-    common/environment.o       (.ppcenv)
+    common/env_embedded.o      (.ppcenv)
 
     *(.text)
     *(.fixup)
index ef88297930d56fa22c7e409cb218f6ae0591d676..8335364251d2920ceaf08abb364bee5cb1ceee55 100644 (file)
@@ -63,7 +63,7 @@ SECTIONS
     lib_ppc/ticks.o            (.text)
 /**
     . = env_offset;
-    common/environment.o(.text)
+    common/env_embedded.o(.text)
 **/
     *(.text)
     *(.fixup)
index ad685e6f8d43dacde82eff88273ebaa0732172dc..e8a47f7a0b994c7d4ce21ea76301ebcb4a25350f 100644 (file)
@@ -62,7 +62,7 @@ SECTIONS
     lib_ppc/ticks.o            (.text)
 /**
     . = env_offset;
-    common/environment.o(.text)
+    common/env_embedded.o(.text)
 **/
     *(.text)
     *(.fixup)
index d7f360f3bbb9f9546543a0d9b27f18ffec568bec..c869e2781f222e0879671fcfd3e350be0a0053af 100644 (file)
@@ -53,7 +53,7 @@ SECTIONS
   .text      :
   {
     cpu/mpc8xx/start.o (.text)
-    common/environment.o(.text)
+    common/env_embedded.o(.text)
     *(.text)
     *(.fixup)
     *(.got1)
index 995fc8327041b208413c5cdd38be1f51612aec33..4d49f1bbef41c9f5566ad5c2360d5dbb5c758751 100644 (file)
@@ -62,7 +62,7 @@ SECTIONS
     lib_ppc/extable.o  (.text)
 
     . = env_offset;
-    common/environment.o(.text)
+    common/env_embedded.o(.text)
 
     *(.text)
     *(.fixup)
index 7e060cbfd0eb536418caca931fff01ca24a648fc..3789db9728dea996ab4f2f7647fb47fade970211 100644 (file)
@@ -65,7 +65,7 @@ SECTIONS
     cpu/ppc4xx/kgdb.o  (.text)
 
 /*    . = env_offset;*/
-/*    common/environment.o(.text)*/
+/*    common/env_embedded.o(.text)*/
 
     *(.text)
     *(.fixup)
index 2e9169c16383ca6d24d54728e385d719ae4f2529..466a8f230dcfb3b263d08a20b2dac5b2c446cc05 100644 (file)
@@ -65,7 +65,7 @@ SECTIONS
     lib_generic/zlib.o         (.text)
 
     . = env_offset;
-    common/environment.o(.text)
+    common/env_embedded.o(.text)
 */
 
     *(.text)
index f6d153763981fc768be1982efc2c223a75a796a9..0f6ae696d8a38e9c77f11d865872bd3184abcc4b 100644 (file)
@@ -61,7 +61,7 @@ SECTIONS
     lib_generic/crc32.o                (.text)
 
     . = env_offset;
-    common/environment.o(.text)
+    common/env_embedded.o(.text)
 
     *(.text)
     *(.fixup)
index 2e9169c16383ca6d24d54728e385d719ae4f2529..466a8f230dcfb3b263d08a20b2dac5b2c446cc05 100644 (file)
@@ -65,7 +65,7 @@ SECTIONS
     lib_generic/zlib.o         (.text)
 
     . = env_offset;
-    common/environment.o(.text)
+    common/env_embedded.o(.text)
 */
 
     *(.text)
index f6d153763981fc768be1982efc2c223a75a796a9..0f6ae696d8a38e9c77f11d865872bd3184abcc4b 100644 (file)
@@ -61,7 +61,7 @@ SECTIONS
     lib_generic/crc32.o                (.text)
 
     . = env_offset;
-    common/environment.o(.text)
+    common/env_embedded.o(.text)
 
     *(.text)
     *(.fixup)
index 2d266434f4eb87703b3278fb108ebfee41917ad1..185a9f8cdabe30d47bbf28d01521969010e24204 100644 (file)
@@ -63,7 +63,7 @@ SECTIONS
     lib_generic/zlib.o         (.text)
 
     . = env_offset;
-    common/environment.o(.text)
+    common/env_embedded.o(.text)
 
     *(.text)
     *(.fixup)
index 7dc4408c67456b0b0fa307647a639273e02dbb85..d5e2c1d579ba179caf8211812ca37c6445da4537 100644 (file)
@@ -61,7 +61,7 @@ SECTIONS
     lib_generic/crc32.o                (.text)
 
     . = env_offset;
-    common/environment.o(.text)
+    common/env_embedded.o(.text)
 
     *(.text)
     *(.fixup)
index bc1ea73723c6fbb5a4489869622ddf9daef06dda..a513ab500e1d48a6c6af2eac9d7d8c93f78555da 100644 (file)
@@ -53,7 +53,7 @@ SECTIONS
   .text      :
   {
     cpu/mpc8xx/start.o (.text)
-    common/environment.o(.text)
+    common/env_embedded.o(.text)
     *(.text)
     *(.fixup)
     *(.got1)
index 2ee8237451814c1faa27c59bd9813c7785ab119d..bd9d76ce2067a6cdd77ccb8ffce28d2c4d35c412 100644 (file)
@@ -62,7 +62,7 @@ SECTIONS
     lib_ppc/extable.o  (.text)
 
     . = env_offset;
-    common/environment.o(.text)
+    common/env_embedded.o(.text)
 
     *(.text)
     *(.fixup)
index fd2245f57ba8de452951c983f02c6a89c315fe21..67d37ae33449e158c434c09896bd55426175a8fd 100644 (file)
@@ -62,7 +62,7 @@ SECTIONS
     lib_ppc/extable.o  (.text)
 
     . = env_offset;
-    common/environment.o(.text)
+    common/env_embedded.o(.text)
 
     *(.text)
     *(.fixup)
index 8c46e4677f0bfa9c091ff2957259625f8d4b4196..26aa5d654611f47ed093477ffb6976edec36f16e 100644 (file)
@@ -66,7 +66,7 @@ SECTIONS
     lib_ppc/time.o             (.text)
 
     . = DEFINED(env_offset) ? env_offset : .;
-    common/environment.o       (.ppcenv)
+    common/env_embedded.o      (.ppcenv)
 
     *(.text)
     *(.fixup)
index c9406ad7f05424901521c2ccaa2bd7776d51a182..1182f74002225318f88bdf508b1d2fa9a0010288 100644 (file)
@@ -70,7 +70,7 @@ SECTIONS
     lib_generic/zlib.o         (.text)
 
 /*    . = env_offset;*/
-/*    common/environment.o(.text)*/
+/*    common/env_embedded.o(.text)*/
 
     *(.text)
     *(.fixup)
index 0552994f40ee76ed1308a192894558bbacc634e9..338392a075986f34bf1c231a084488d0ceb8d74e 100644 (file)
@@ -61,7 +61,7 @@ SECTIONS
     lib_generic/crc32.o                (.text)
     lib_ppc/extable.o  (.text)
 
-    common/environment.o(.text)
+    common/env_embedded.o(.text)
 
     *(.text)
     *(.fixup)
index 46b98a04a87d57eceed72583da529803d4cc70b2..d048e52d35ad481038c8e578811801926574fe63 100644 (file)
@@ -96,7 +96,7 @@ SECTIONS
 
   .ppcenv      :
   {
-    common/environment.o (.ppcenv)
+    common/env_embedded.o (.ppcenv)
   } > ram
 
   _end = . ;
index 3ba7c3c9a4759a919e18e8f2a2e4fc785a624b31..27d10b6d6a09656738f8bbaf44df365c5d2bc150 100644 (file)
@@ -60,7 +60,7 @@ SECTIONS
     lib_generic/zlib.o         (.text)
 
                . = env_offset;
-    common/environment.o (.text)
+    common/env_embedded.o (.text)
 
                *(.text)
 
index 7932b9fc0f25a72faaef9a08096502eb621f6eeb..717f0d24db076ca67605a98d04b466c6dcbea0c2 100644 (file)
@@ -79,7 +79,7 @@ SECTIONS
     lib_generic/zlib.o         (.text)
 
 /*    . = env_offset;*/
-/*    common/environment.o(.text)*/
+/*    common/env_embedded.o(.text)*/
 
     *(.text)
     *(.fixup)
index fb710649a5256b537efa4505218a03fe0e46c5c7..dfc233f0d1f53d9dee132beb64b7bdb927a10657 100644 (file)
@@ -74,7 +74,7 @@ SECTIONS
     lib_generic/zlib.o         (.text)
 
 /*    . = env_offset;*/
-/*    common/environment.o(.text)*/
+/*    common/env_embedded.o(.text)*/
 
     *(.text)
     *(.fixup)
index 0552994f40ee76ed1308a192894558bbacc634e9..338392a075986f34bf1c231a084488d0ceb8d74e 100644 (file)
@@ -61,7 +61,7 @@ SECTIONS
     lib_generic/crc32.o                (.text)
     lib_ppc/extable.o  (.text)
 
-    common/environment.o(.text)
+    common/env_embedded.o(.text)
 
     *(.text)
     *(.fixup)
index eda6b442abf42b9ee6256c9a7950e86d63b48828..b1f0e1d6dd6d09d1c249759f16ef0467c383db03 100644 (file)
@@ -53,9 +53,9 @@ SECTIONS
        {
                cpu/sh3/start.o         (.text)
                . = ALIGN(8192);
-               common/environment.o    (.ppcenv)
+               common/env_embedded.o   (.ppcenv)
                . = ALIGN(8192);
-               common/environment.o    (.ppcenvr)
+               common/env_embedded.o   (.ppcenvr)
                . = ALIGN(8192);
                *(.text)
                . = ALIGN(4);
index ba71a9195ee41826575cbd79ec61a7f3e5d4ed59..2156f6a57915cbfb2e62cf43342df4f98a34cd96 100644 (file)
@@ -52,9 +52,9 @@ SECTIONS
        {
                cpu/sh3/start.o         (.text)
                . = ALIGN(8192);
-               common/environment.o    (.ppcenv)
+               common/env_embedded.o   (.ppcenv)
                . = ALIGN(8192);
-               common/environment.o    (.ppcenvr)
+               common/env_embedded.o   (.ppcenvr)
                . = ALIGN(8192);
                *(.text)
                . = ALIGN(4);
index 88b4f5c45face33a0bd64a500ffd9a41be244072..7dffe008af0b96ad185584c5f7e142317990497b 100644 (file)
@@ -49,9 +49,9 @@ SECTIONS
        {
                cpu/sh4/start.o         (.text)
                . = ALIGN(8192);
-               common/environment.o    (.ppcenv)
+               common/env_embedded.o   (.ppcenv)
                . = ALIGN(8192);
-               common/environment.o    (.ppcenvr)
+               common/env_embedded.o   (.ppcenvr)
                . = ALIGN(8192);
                *(.text)
                . = ALIGN(4);
index 88b4f5c45face33a0bd64a500ffd9a41be244072..7dffe008af0b96ad185584c5f7e142317990497b 100644 (file)
@@ -49,9 +49,9 @@ SECTIONS
        {
                cpu/sh4/start.o         (.text)
                . = ALIGN(8192);
-               common/environment.o    (.ppcenv)
+               common/env_embedded.o   (.ppcenv)
                . = ALIGN(8192);
-               common/environment.o    (.ppcenvr)
+               common/env_embedded.o   (.ppcenvr)
                . = ALIGN(8192);
                *(.text)
                . = ALIGN(4);
index 271102b770c6c7572eafe439c8f5c95eb02ef456..8272a5588d4409d64844bf06ed0fdff725ae2274 100644 (file)
@@ -63,7 +63,7 @@ SECTIONS
     lib_ppc/time.o             (.text)
 
     . = DEFINED(env_offset) ? env_offset : .;
-    common/environment.o       (.text)
+    common/env_embedded.o      (.text)
 
     *(.text)
     *(.fixup)
index 5bf1a66286b62d9fd5bc1da18b02e91dc41c245d..d47c4082aa8f9ff9e6ddb60f9834b94217a44ecd 100644 (file)
@@ -61,7 +61,7 @@ SECTIONS
     lib_generic/crc32.o                (.text)
 
     . = env_offset;
-    common/environment.o(.text)
+    common/env_embedded.o(.text)
 
     *(.text)
     *(.fixup)
index 3bcfea2a8cf3211ed47df26ef4b706021ae6b0e0..368e3a4d8f0a31c782ab6eeeffc699c0008f0882 100644 (file)
@@ -62,7 +62,7 @@ SECTIONS
     cpu/ppc4xx/start.o (.text)
 
 /*    . = env_offset;*/
-/*    common/environment.o(.text)*/
+/*    common/env_embedded.o(.text)*/
 
     *(.text)
     *(.fixup)
index 740bc9c9708ffbadf3a351981097a8c2312ad81c..093c0804cefdf6bc77bb91c794f34477db002fd3 100644 (file)
@@ -62,7 +62,7 @@ SECTIONS
     cpu/ppc4xx/start.o (.text)
 
 /*    . = env_offset;*/
-/*    common/environment.o(.text)*/
+/*    common/env_embedded.o(.text)*/
 
     *(.text)
     *(.fixup)
index f560189c0bc49897f68ab86cc35a297eed877206..861f6ba28a5f28e76be9ed22a300487c471e7637 100644 (file)
@@ -63,7 +63,7 @@ SECTIONS
     lib_ppc/time.o             (.text)
 
     . = DEFINED(env_offset) ? env_offset : .;
-    common/environment.o       (.text)
+    common/env_embedded.o      (.text)
 
     *(.text)
     *(.fixup)
index 5bf1a66286b62d9fd5bc1da18b02e91dc41c245d..d47c4082aa8f9ff9e6ddb60f9834b94217a44ecd 100644 (file)
@@ -61,7 +61,7 @@ SECTIONS
     lib_generic/crc32.o                (.text)
 
     . = env_offset;
-    common/environment.o(.text)
+    common/env_embedded.o(.text)
 
     *(.text)
     *(.fixup)
index f560189c0bc49897f68ab86cc35a297eed877206..861f6ba28a5f28e76be9ed22a300487c471e7637 100644 (file)
@@ -63,7 +63,7 @@ SECTIONS
     lib_ppc/time.o             (.text)
 
     . = DEFINED(env_offset) ? env_offset : .;
-    common/environment.o       (.text)
+    common/env_embedded.o      (.text)
 
     *(.text)
     *(.fixup)
index 5bf1a66286b62d9fd5bc1da18b02e91dc41c245d..d47c4082aa8f9ff9e6ddb60f9834b94217a44ecd 100644 (file)
@@ -61,7 +61,7 @@ SECTIONS
     lib_generic/crc32.o                (.text)
 
     . = env_offset;
-    common/environment.o(.text)
+    common/env_embedded.o(.text)
 
     *(.text)
     *(.fixup)
index b4f210e48468755114e7a64db4695c6df7b4f56b..58bd7575e68bc3a55fef1208148b6b4836064158 100644 (file)
@@ -63,7 +63,7 @@ SECTIONS
     lib_ppc/time.o             (.text)
 
     . = DEFINED(env_offset) ? env_offset : .;
-    common/environment.o       (.text)
+    common/env_embedded.o      (.text)
 
     *(.text)
     *(.fixup)
index 1014ec6e8cf6677d2a71bf4f7ab8e2f11dd227f9..9210c43d52d755707daf46f481232685699bb083 100644 (file)
@@ -61,7 +61,7 @@ SECTIONS
     lib_generic/crc32.o                (.text)
 
     . = env_offset;
-    common/environment.o(.text)
+    common/env_embedded.o(.text)
 
     *(.text)
     *(.fixup)
index 85117aa56e3792367794cdec1ebe07f58040b4c6..465566d7abbf45682d3e5bffb1670942e36688b2 100644 (file)
@@ -53,7 +53,7 @@ SECTIONS
   .text      :
   {
     cpu/mpc8xx/start.o (.text)
-    common/environment.o(.text)
+    common/env_embedded.o(.text)
 
     *(.text)
     *(.fixup)
index 85072feda47ce32de1b81d1da925745e627ebf41..dbec9860a92a20a0969babd7d912a87e56f7e0ab 100644 (file)
@@ -61,7 +61,7 @@ SECTIONS
     lib_generic/crc32.o                (.text)
 
     . = env_offset;
-    common/environment.o(.text)
+    common/env_embedded.o(.text)
 
     *(.text)
     *(.fixup)
index ebb1b6d46a4949ef1e814e2ce6eebb53176f3347..ad41f20c5ed3dbb874884aa26d76fbfa1be316db 100644 (file)
@@ -63,7 +63,7 @@ SECTIONS
 
 /* store the environment in a seperate sector in the boot flash */
 /*    . = env_offset; */
-/*    common/environment.o(.text) */
+/*    common/env_embedded.o(.text) */
 
     *(.text)
     *(.fixup)
index 5239b35af294dcb21ddda32ef496a757a421ec1c..bfa497513e5b312660f817608d30c4863eeccee1 100644 (file)
@@ -60,7 +60,7 @@ SECTIONS
 
 /* store the environment in a seperate sector in the boot flash */
 /*    . = env_offset; */
-/*    common/environment.o(.text) */
+/*    common/env_embedded.o(.text) */
 
     *(.text)
     *(.fixup)
index 1a95755ab499fffc63b84fd2221e2c9b85529350..b6b37ef34f02117a69ee640faa954d898a2b5a07 100644 (file)
@@ -60,7 +60,7 @@ SECTIONS
 
 /* store the environment in a seperate sector in the boot flash */
 /*    . = env_offset; */
-/*    common/environment.o(.text) */
+/*    common/env_embedded.o(.text) */
 
     *(.text)
     *(.fixup)
index 972e6e7207c9291aa053dbb1d4137c3debc40795..09d6847da6fa17b55270a3c5e2f206f2f406d0b9 100644 (file)
@@ -42,7 +42,7 @@ SECTIONS
          common/cmd_boot.o             (.text)
          lib_generic/zlib.o            (.text)
          . = DEFINED(env_offset) ? env_offset : .;
-         common/environment.o  (.ppcenv)
+         common/env_embedded.o (.ppcenv)
 
          *(.text)
        }
index 1f9a191d4736171bde7b7b1f95a04669613f1e61..271ac766f6d2af48dd039e54d2105da26a756b18 100644 (file)
@@ -64,7 +64,7 @@ SECTIONS
 /* XXX ?
     . = env_offset;
 */
-    common/environment.o(.text)
+    common/env_embedded.o(.text)
 
     *(.text)
     *(.fixup)
index 0cd053a8bbaa8fba6c740b226feae69a1c7b8bb2..016048dae2a55dce877babda7421d3f1ce5bc736 100644 (file)
@@ -61,7 +61,7 @@ SECTIONS
     lib_generic/crc32.o                (.text)
 
     . = env_offset;
-    common/environment.o(.text)
+    common/env_embedded.o(.text)
 
     *(.text)
     *(.fixup)
index 96d8d81acf8d06f4eea0bd84bb6efe3da9b66a97..040e530179bf6d153f09e57c875e376973c2af72 100644 (file)
@@ -49,9 +49,9 @@ SECTIONS
        {
                cpu/sh4/start.o         (.text)
                . = ALIGN(8192);
-               common/environment.o    (.ppcenv)
+               common/env_embedded.o   (.ppcenv)
                . = ALIGN(8192);
-               common/environment.o    (.ppcenvr)
+               common/env_embedded.o   (.ppcenvr)
                . = ALIGN(8192);
                *(.text)
                . = ALIGN(4);
index 5fcd5c9f1b089304dfc1501fb5b53622b25fd411..88c1b306daa405ff6337fc46dd6285207a44f6a1 100644 (file)
@@ -61,7 +61,7 @@ SECTIONS
     cpu/mpc8xx/traps.o         (.text)
 /***
     . = env_offset;
-    common/environment.o       (.text)
+    common/env_embedded.o      (.text)
 ***/
     *(.text)
     *(.fixup)
@@ -138,6 +138,6 @@ SECTIONS
   . = ALIGN(128 * 1024);
   .ppcenv      :
   {
-    common/environment.o (.ppcenv)
+    common/env_embedded.o (.ppcenv)
   }
 }
index e7499e5cd98d279e27e0b66fbf7f5cc2ef1301f1..eaa05d0d58cb70b5d1daf37769ce1251a4242d79 100644 (file)
@@ -49,9 +49,9 @@ SECTIONS
        {
                cpu/sh4/start.o         (.text)
                . = ALIGN(8192);
-               common/environment.o    (.ppcenv)
+               common/env_embedded.o   (.ppcenv)
                . = ALIGN(8192);
-               common/environment.o    (.ppcenvr)
+               common/env_embedded.o   (.ppcenvr)
                . = ALIGN(8192);
                *(.text)
                . = ALIGN(4);
index e41782554f0e3e1bcd9eae7373a82b1ccc3719a9..8247430e94c3c75843cddc0a769cd77c45d9c6bd 100644 (file)
@@ -63,7 +63,7 @@ SECTIONS
     lib_generic/zlib.o         (.text)
 
     . = env_offset;
-    common/environment.o(.text)
+    common/env_embedded.o(.text)
 
     *(.text)
     *(.fixup)
index 1f9a191d4736171bde7b7b1f95a04669613f1e61..271ac766f6d2af48dd039e54d2105da26a756b18 100644 (file)
@@ -64,7 +64,7 @@ SECTIONS
 /* XXX ?
     . = env_offset;
 */
-    common/environment.o(.text)
+    common/env_embedded.o(.text)
 
     *(.text)
     *(.fixup)
index 0cd053a8bbaa8fba6c740b226feae69a1c7b8bb2..016048dae2a55dce877babda7421d3f1ce5bc736 100644 (file)
@@ -61,7 +61,7 @@ SECTIONS
     lib_generic/crc32.o                (.text)
 
     . = env_offset;
-    common/environment.o(.text)
+    common/env_embedded.o(.text)
 
     *(.text)
     *(.fixup)
index bf4433a236d94afdec420be4823b332e7f79d657..63e5b9744efcc2bed0ecaa7b53055fa46fae835d 100644 (file)
@@ -46,9 +46,9 @@ SECTIONS
        {
                cpu/sh2/start.o         (.text)
                . = ALIGN(8192);
-               common/environment.o    (.ppcenv)
+               common/env_embedded.o   (.ppcenv)
                . = ALIGN(8192);
-               common/environment.o    (.ppcenvr)
+               common/env_embedded.o   (.ppcenvr)
                . = ALIGN(8192);
                *(.text)
                . = ALIGN(4);
index 216f9c64dc6ed59553b83148df95cf152e0ab7a5..9b2c0788f6fa1ef2699a5687e3107184f86c52e4 100644 (file)
@@ -81,7 +81,7 @@ SECTIONS
     lib_generic/zlib.o         (.text)
 
 /*    . = env_offset;*/
-/*    common/environment.o(.text)*/
+/*    common/env_embedded.o(.text)*/
 
     *(.text)
     *(.fixup)
index af7d5c08aadfbe76bfbf2dfac947decdd7bfc6b1..15fe1e3f8b978106b49ec0bd4518aa91abc5a580 100644 (file)
@@ -70,7 +70,7 @@ SECTIONS
     lib_ppc/extable.o  (.text)
     lib_generic/zlib.o         (.text)
 
-/*    common/environment.o(.text) */
+/*    common/env_embedded.o(.text) */
 
     *(.text)
     *(.fixup)
index 6abf3f390a83d75813cb76b31d78290ec52dac3b..16e0709b5d107dbf2e2948bbc5d1e4a454e869fb 100644 (file)
@@ -81,7 +81,7 @@ SECTIONS
     lib_generic/zlib.o         (.text)
 
 /*    . = env_offset;*/
-/*    common/environment.o(.text)*/
+/*    common/env_embedded.o(.text)*/
 
     *(.text)
     *(.fixup)
index 527c264326e0f69092b71bba86375276c4f0ee08..d122c050b015b5f5aa02bf7702211a1e387d3cd9 100644 (file)
@@ -70,7 +70,7 @@ SECTIONS
     lib_ppc/extable.o  (.text)
     lib_generic/zlib.o         (.text)
 
-/*    common/environment.o(.text) */
+/*    common/env_embedded.o(.text) */
 
     *(.text)
     *(.fixup)
index 7b1c6b211d5b288d6ec938617bce7a8949e702f2..f3fd56f99cf8730f8c4f6cbdc1b41a33aa842ec3 100644 (file)
@@ -73,7 +73,7 @@ SECTIONS
     lib_generic/zlib.o         (.text)
 
 /*    . = env_offset;*/
-/*    common/environment.o(.text)*/
+/*    common/env_embedded.o(.text)*/
 
     *(.text)
     *(.fixup)
index 27cc0b928cca359bbf89479880226b43293e4e52..c67aa96c702e6fcc8ab3f55be1bff4c14191540f 100644 (file)
@@ -74,7 +74,7 @@ SECTIONS
     lib_generic/zlib.o         (.text)
 
 /*    . = env_offset;*/
-/*    common/environment.o(.text)*/
+/*    common/env_embedded.o(.text)*/
 
     *(.text)
     *(.fixup)
index c07f0d80ed01bd2a179c7bafb6b176f1c96eefe6..7177416c2fce3b19d2817256d684e7b239b92c04 100644 (file)
@@ -49,9 +49,9 @@ SECTIONS
        {
                cpu/sh4/start.o         (.text)
                . = ALIGN(8192);
-               common/environment.o    (.ppcenv)
+               common/env_embedded.o   (.ppcenv)
                . = ALIGN(8192);
-               common/environment.o    (.ppcenvr)
+               common/env_embedded.o   (.ppcenvr)
                . = ALIGN(8192);
                *(.text)
                . = ALIGN(4);
index f0109eb24f419f46a52308054776103d1aaa4f5b..8dcc6c7b1bf9d7e8e34fcab07afafc0c25d3f449 100644 (file)
@@ -40,9 +40,9 @@ SECTIONS
        {
                cpu/sh4/start.o         (.text)
                . = ALIGN(8192);
-               common/environment.o    (.ppcenv)
+               common/env_embedded.o   (.ppcenv)
                . = ALIGN(8192);
-               common/environment.o    (.ppcenvr)
+               common/env_embedded.o   (.ppcenvr)
                . = ALIGN(8192);
                *(.text)
                . = ALIGN(4);
index 10b38ec356c24615d673e7586642c6ed30b4f388..2229f61a4bbd8dcbb65487a633ba54ecbdabd700 100644 (file)
@@ -63,7 +63,7 @@ SECTIONS
     lib_generic/zlib.o         (.text)
 
     . = env_offset;
-    common/environment.o(.text)
+    common/env_embedded.o(.text)
 
     *(.text)
     *(.fixup)
index bf639919768b8db1e3a45630c8ce6d4ce75548e4..88dbd3810ffb082cf24a9ac75d0f7bcf18623022 100644 (file)
@@ -61,7 +61,7 @@ SECTIONS
     lib_generic/crc32.o                (.text)
 /*
     . = env_offset;
-    common/environment.o(.text)
+    common/env_embedded.o(.text)
 */
     *(.text)
     *(.fixup)
index 291f6b368439baf818963f12f586150e6d511b51..7a0d746d749e56dc363b3daeb1e0e6db40012db2 100644 (file)
@@ -61,7 +61,7 @@ SECTIONS
     cpu/mpc8xx/interrupts.o (.text)
     lib_ppc/time.o             (.text)
     . = env_offset;
-    common/environment.o(.text)
+    common/env_embedded.o(.text)
 
     *(.text)
     *(.fixup)
index bc1ea73723c6fbb5a4489869622ddf9daef06dda..a513ab500e1d48a6c6af2eac9d7d8c93f78555da 100644 (file)
@@ -53,7 +53,7 @@ SECTIONS
   .text      :
   {
     cpu/mpc8xx/start.o (.text)
-    common/environment.o(.text)
+    common/env_embedded.o(.text)
     *(.text)
     *(.fixup)
     *(.got1)
index 2ee8237451814c1faa27c59bd9813c7785ab119d..bd9d76ce2067a6cdd77ccb8ffce28d2c4d35c412 100644 (file)
@@ -62,7 +62,7 @@ SECTIONS
     lib_ppc/extable.o  (.text)
 
     . = env_offset;
-    common/environment.o(.text)
+    common/env_embedded.o(.text)
 
     *(.text)
     *(.fixup)
index b91c44a57d2906176a5762c2c9ddf51bae83cbc1..974e45cabfd69490f7cf416c6627c3d40fc50abe 100644 (file)
@@ -53,7 +53,7 @@ SECTIONS
   .text      :
   {
     cpu/mpc8xx/start.o (.text)
-    common/environment.o(.text)
+    common/env_embedded.o(.text)
     *(.text)
     *(.fixup)
     *(.got1)
index 2410d5f2c383bf93c4e715e931c6ae175319da92..f1de08b9ea3a85a4fbe9f0fe17fcb0171823c9d5 100644 (file)
@@ -66,7 +66,7 @@ SECTIONS
        lib_ppc/time.o          (.text)
 
     . = DEFINED(env_offset) ? env_offset : .;
-       common/environment.o    (.ppcenv)
+       common/env_embedded.o   (.ppcenv)
 
     *(.text)
     *(.fixup)
index 2410d5f2c383bf93c4e715e931c6ae175319da92..f1de08b9ea3a85a4fbe9f0fe17fcb0171823c9d5 100644 (file)
@@ -66,7 +66,7 @@ SECTIONS
        lib_ppc/time.o          (.text)
 
     . = DEFINED(env_offset) ? env_offset : .;
-       common/environment.o    (.ppcenv)
+       common/env_embedded.o   (.ppcenv)
 
     *(.text)
     *(.fixup)
index 8c46e4677f0bfa9c091ff2957259625f8d4b4196..26aa5d654611f47ed093477ffb6976edec36f16e 100644 (file)
@@ -66,7 +66,7 @@ SECTIONS
     lib_ppc/time.o             (.text)
 
     . = DEFINED(env_offset) ? env_offset : .;
-    common/environment.o       (.ppcenv)
+    common/env_embedded.o      (.ppcenv)
 
     *(.text)
     *(.fixup)
index 13b29084f1820b010060dcadb89fc6945627f161..6a65b4f555cf928996ffaa9e8f93c7a5c1be17ff 100644 (file)
@@ -53,7 +53,7 @@ SECTIONS
   .text      :
   {
     cpu/mpc8xx/start.o (.text)
-    common/environment.o(.text)
+    common/env_embedded.o(.text)
     *(.text)
     *(.fixup)
     *(.got1)
index fd2245f57ba8de452951c983f02c6a89c315fe21..67d37ae33449e158c434c09896bd55426175a8fd 100644 (file)
@@ -62,7 +62,7 @@ SECTIONS
     lib_ppc/extable.o  (.text)
 
     . = env_offset;
-    common/environment.o(.text)
+    common/env_embedded.o(.text)
 
     *(.text)
     *(.fixup)
index f560189c0bc49897f68ab86cc35a297eed877206..861f6ba28a5f28e76be9ed22a300487c471e7637 100644 (file)
@@ -63,7 +63,7 @@ SECTIONS
     lib_ppc/time.o             (.text)
 
     . = DEFINED(env_offset) ? env_offset : .;
-    common/environment.o       (.text)
+    common/env_embedded.o      (.text)
 
     *(.text)
     *(.fixup)
index 5bf1a66286b62d9fd5bc1da18b02e91dc41c245d..d47c4082aa8f9ff9e6ddb60f9834b94217a44ecd 100644 (file)
@@ -61,7 +61,7 @@ SECTIONS
     lib_generic/crc32.o                (.text)
 
     . = env_offset;
-    common/environment.o(.text)
+    common/env_embedded.o(.text)
 
     *(.text)
     *(.fixup)
index 14ff179879b6fdad637a2e351a2810b4b9f3929e..d4fe7188058492cedcc8d0cf885266ea20167dfa 100644 (file)
@@ -66,7 +66,7 @@ SECTIONS
     lib_ppc/time.o             (.text)
 
     . = env_offset;
-    common/environment.o       (.ppcenv)
+    common/env_embedded.o      (.ppcenv)
 
     *(.text)
     *(.fixup)
index 0cd053a8bbaa8fba6c740b226feae69a1c7b8bb2..016048dae2a55dce877babda7421d3f1ce5bc736 100644 (file)
@@ -61,7 +61,7 @@ SECTIONS
     lib_generic/crc32.o                (.text)
 
     . = env_offset;
-    common/environment.o(.text)
+    common/env_embedded.o(.text)
 
     *(.text)
     *(.fixup)
index 8c46e4677f0bfa9c091ff2957259625f8d4b4196..26aa5d654611f47ed093477ffb6976edec36f16e 100644 (file)
@@ -66,7 +66,7 @@ SECTIONS
     lib_ppc/time.o             (.text)
 
     . = DEFINED(env_offset) ? env_offset : .;
-    common/environment.o       (.ppcenv)
+    common/env_embedded.o      (.ppcenv)
 
     *(.text)
     *(.fixup)
index c33581d25035df5873b5b6c311f0a0380295b16b..ea8538900c0a4802bc67fce9e71e8e91a875c53b 100644 (file)
@@ -61,7 +61,7 @@ SECTIONS
     lib_generic/crc32.o                (.text)
 
     . = env_offset;
-    common/environment.o(.text)
+    common/env_embedded.o(.text)
 
     *(.text)
     *(.fixup)
index 043e01c9b3696187dd17277ea9dd5e2a7575151b..45a4410135c7634c058a90cae2558724391f0106 100644 (file)
@@ -39,7 +39,7 @@ SECTIONS
          lib_generic/string.o  (.text)
 
        . = DEFINED(env_offset) ? env_offset : .;
-         common/environment.o  (.ppcenv)
+         common/env_embedded.o (.ppcenv)
 
          *(.text)
        }
index db2934249168d020c0583d4bab200d869cf2cbfa..c69fe474ae2ca3be94696240fead371fef11a2c1 100644 (file)
@@ -65,7 +65,7 @@ SECTIONS
     lib_ppc/cache.o            (.text)
     lib_ppc/time.o             (.text)
 
-    common/environment.o       (.text)
+    common/env_embedded.o      (.text)
 
     *(.text)
     *(.fixup)
index 25702a543ca6f1ea820ee69ce4bf89c174503ce8..5750657111fb6e726ec228cfb1fe951db9bd0ad3 100644 (file)
@@ -60,7 +60,7 @@ SECTIONS
     lib_generic/vsprintf.o     (.text)
     lib_generic/crc32.o                (.text)
 
-    common/environment.o(.text)
+    common/env_embedded.o(.text)
 
     *(.text)
     *(.fixup)
index 7bcf061555f915b05bd7813c2841b1c3148977bd..f4ea41e0fc2bed1d6d4f23b7a818e72e674d0e74 100644 (file)
@@ -68,7 +68,7 @@ SECTIONS
 /*
     . = env_offset;
 */
-    common/environment.o       (.ppcenv)
+    common/env_embedded.o      (.ppcenv)
 
     *(.text)
     *(.fixup)
index d3ffed300a941967638c3aa8c6922fb47d60482c..d2089de9d4fa0b4ef5bc252ce6fe1cd1e622c23f 100644 (file)
@@ -61,7 +61,7 @@ SECTIONS
     lib_generic/crc32.o                (.text)
     lib_ppc/extable.o  (.text)
 
-    common/environment.o(.text)
+    common/env_embedded.o(.text)
 
     *(.text)
     *(.fixup)
index 10b38ec356c24615d673e7586642c6ed30b4f388..2229f61a4bbd8dcbb65487a633ba54ecbdabd700 100644 (file)
@@ -63,7 +63,7 @@ SECTIONS
     lib_generic/zlib.o         (.text)
 
     . = env_offset;
-    common/environment.o(.text)
+    common/env_embedded.o(.text)
 
     *(.text)
     *(.fixup)
index 7a7a40c23eeb6c20f63f4e7b5f8d0afa71817cd6..dbd1f9d1064a7a74778fcbf10f522cece405b479 100644 (file)
@@ -62,7 +62,7 @@ SECTIONS
     lib_ppc/extable.o  (.text)
 
     . = env_offset;
-    common/environment.o(.text)
+    common/env_embedded.o(.text)
 
     *(.text)
     *(.fixup)
index 2d32225d4f6079e5769b78a102dcacb85b2b2fc3..f05c7a61ea9615aa989378b2c37d505e53139cc2 100644 (file)
@@ -71,7 +71,7 @@ SECTIONS
     lib_generic/zlib.o         (.text)
 */
 /*    . = env_offset;*/
-/*    common/environment.o(.text)*/
+/*    common/env_embedded.o(.text)*/
 
     *(.text)
     *(.fixup)
index 0552994f40ee76ed1308a192894558bbacc634e9..338392a075986f34bf1c231a084488d0ceb8d74e 100644 (file)
@@ -61,7 +61,7 @@ SECTIONS
     lib_generic/crc32.o                (.text)
     lib_ppc/extable.o  (.text)
 
-    common/environment.o(.text)
+    common/env_embedded.o(.text)
 
     *(.text)
     *(.fixup)
index 70b1e38f3c3e93cf9647e801d8137cd582b3b94a..c365c6f8315cb2956d58f095a92a344b6ff39de2 100644 (file)
@@ -79,7 +79,7 @@ SECTIONS
     lib_generic/zlib.o         (.text)
 
 /*    . = env_offset;*/
-/*    common/environment.o(.text)*/
+/*    common/env_embedded.o(.text)*/
 
     *(.text)
     *(.fixup)
index e0da854a4ddad786e0f030f288cfc876e6c040ac..116c2ba6a7130d044374fb320b55f1114ac51b51 100644 (file)
@@ -68,7 +68,7 @@ SECTIONS
     lib_ppc/extable.o  (.text)
     lib_generic/zlib.o         (.text)
 
-/*    common/environment.o(.text) */
+/*    common/env_embedded.o(.text) */
 
     *(.text)
     *(.fixup)
index cf861c575c1e90eabcfc2043361005f9685406e2..fad9bc1b614d989f04f76e080c1c46174510fd07 100644 (file)
@@ -48,10 +48,10 @@ COBJS-y += cmd_bootm.o
 COBJS-y += cmd_nvedit.o
 
 # environment
-COBJS-y += environment.o
 COBJS-y += env_common.o
 COBJS-$(CONFIG_ENV_IS_IN_DATAFLASH) += env_dataflash.o
 COBJS-$(CONFIG_ENV_IS_IN_EEPROM) += env_eeprom.o
+COBJS-y += env_embedded.o
 COBJS-y += env_flash.o
 COBJS-$(CONFIG_ENV_IS_IN_NAND) += env_nand.o
 COBJS-$(CONFIG_ENV_IS_IN_NVRAM) += env_nvram.o
@@ -167,10 +167,10 @@ all:      $(LIB) $(AOBJS)
 $(LIB): $(obj).depend $(OBJS)
        $(AR) $(ARFLAGS) $@ $(OBJS)
 
-$(obj)environment.o: $(src)environment.c $(obj)../tools/envcrc
+$(obj)env_embedded.o: $(src)env_embedded.c $(obj)../tools/envcrc
        $(CC) $(AFLAGS) -Wa,--no-warn \
                -DENV_CRC=$(shell $(obj)../tools/envcrc) \
-               -c -o $@ $(src)environment.c
+               -c -o $@ $(src)env_embedded.c
 
 $(obj)../tools/envcrc:
        $(MAKE) -C ../tools
diff --git a/common/env_embedded.c b/common/env_embedded.c
new file mode 100644 (file)
index 0000000..3b9914f
--- /dev/null
@@ -0,0 +1,208 @@
+/*
+ * (C) Copyright 2001
+ * Erik Theisen,  Wave 7 Optics, etheisen@mindspring.com.
+ *
+ * See file CREDITS for list of people who contributed to this
+ * project.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License as
+ * published by the Free Software Foundation; either version 2 of
+ * the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.         See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ */
+
+#ifndef __ASSEMBLY__
+#define        __ASSEMBLY__                    /* Dirty trick to get only #defines     */
+#endif
+#define        __ASM_STUB_PROCESSOR_H__        /* don't include asm/processor.         */
+#include <config.h>
+#undef __ASSEMBLY__
+#include <environment.h>
+
+/*
+ * Handle HOSTS that have prepended
+ * crap on symbol names, not TARGETS.
+ */
+#if defined(__APPLE__)
+/* Leading underscore on symbols */
+#  define SYM_CHAR "_"
+#else /* No leading character on symbols */
+#  define SYM_CHAR
+#endif
+
+/*
+ * Generate embedded environment table
+ * inside U-Boot image, if needed.
+ */
+#if defined(ENV_IS_EMBEDDED)
+/*
+ * Only put the environment in it's own section when we are building
+ * U-Boot proper.  The host based program "tools/envcrc" does not need
+ * a seperate section.  Note that ENV_CRC is only defined when building
+ * U-Boot itself.
+ */
+#if (defined(CFG_USE_PPCENV) || defined(CONFIG_NAND_U_BOOT)) && \
+     defined(ENV_CRC) /* Environment embedded in U-Boot .ppcenv section */
+/* XXX - This only works with GNU C */
+#  define __PPCENV__ __attribute__ ((section(".ppcenv")))
+#  define __PPCTEXT__ __attribute__ ((section(".text")))
+
+#elif defined(USE_HOSTCC) /* Native for 'tools/envcrc' */
+#  define __PPCENV__ /*XXX DO_NOT_DEL_THIS_COMMENT*/
+#  define __PPCTEXT__ /*XXX DO_NOT_DEL_THIS_COMMENT*/
+
+#else /* Environment is embedded in U-Boot's .text section */
+/* XXX - This only works with GNU C */
+#  define __PPCENV__ __attribute__ ((section(".text")))
+#  define __PPCTEXT__ __attribute__ ((section(".text")))
+#endif
+
+/*
+ * Macros to generate global absolutes.
+ */
+#if defined(__bfin__)
+# define GEN_SET_VALUE(name, value) asm (".set " GEN_SYMNAME(name) ", " GEN_VALUE(value))
+#else
+# define GEN_SET_VALUE(name, value) asm (GEN_SYMNAME(name) " = " GEN_VALUE(value))
+#endif
+#define GEN_SYMNAME(str) SYM_CHAR #str
+#define GEN_VALUE(str) #str
+#define GEN_ABS(name, value) \
+               asm (".globl " GEN_SYMNAME(name)); \
+               GEN_SET_VALUE(name, value)
+
+/*
+ * Macros to transform values
+ * into environment strings.
+ */
+#define XMK_STR(x)     #x
+#define MK_STR(x)      XMK_STR(x)
+
+/*
+ * Check to see if we are building with a
+ * computed CRC.  Otherwise define it as ~0.
+ */
+#if !defined(ENV_CRC)
+#  define ENV_CRC      ~0
+#endif
+
+env_t environment __PPCENV__ = {
+       ENV_CRC,        /* CRC Sum */
+#ifdef CFG_REDUNDAND_ENVIRONMENT
+       1,              /* Flags: valid */
+#endif
+       {
+#if defined(CONFIG_BOOTARGS)
+       "bootargs="     CONFIG_BOOTARGS                 "\0"
+#endif
+#if defined(CONFIG_BOOTCOMMAND)
+       "bootcmd="      CONFIG_BOOTCOMMAND              "\0"
+#endif
+#if defined(CONFIG_RAMBOOTCOMMAND)
+       "ramboot="      CONFIG_RAMBOOTCOMMAND           "\0"
+#endif
+#if defined(CONFIG_NFSBOOTCOMMAND)
+       "nfsboot="      CONFIG_NFSBOOTCOMMAND           "\0"
+#endif
+#if defined(CONFIG_BOOTDELAY) && (CONFIG_BOOTDELAY >= 0)
+       "bootdelay="    MK_STR(CONFIG_BOOTDELAY)        "\0"
+#endif
+#if defined(CONFIG_BAUDRATE) && (CONFIG_BAUDRATE >= 0)
+       "baudrate="     MK_STR(CONFIG_BAUDRATE)         "\0"
+#endif
+#ifdef CONFIG_LOADS_ECHO
+       "loads_echo="   MK_STR(CONFIG_LOADS_ECHO)       "\0"
+#endif
+#ifdef CONFIG_ETHADDR
+       "ethaddr="      MK_STR(CONFIG_ETHADDR)          "\0"
+#endif
+#ifdef CONFIG_ETH1ADDR
+       "eth1addr="     MK_STR(CONFIG_ETH1ADDR)         "\0"
+#endif
+#ifdef CONFIG_ETH2ADDR
+       "eth2addr="     MK_STR(CONFIG_ETH2ADDR)         "\0"
+#endif
+#ifdef CONFIG_ETH3ADDR
+       "eth3addr="     MK_STR(CONFIG_ETH3ADDR)         "\0"
+#endif
+#ifdef CONFIG_ETHPRIME
+       "ethprime="     CONFIG_ETHPRIME                 "\0"
+#endif
+#ifdef CONFIG_IPADDR
+       "ipaddr="       MK_STR(CONFIG_IPADDR)           "\0"
+#endif
+#ifdef CONFIG_SERVERIP
+       "serverip="     MK_STR(CONFIG_SERVERIP)         "\0"
+#endif
+#ifdef CFG_AUTOLOAD
+       "autoload="     CFG_AUTOLOAD                    "\0"
+#endif
+#ifdef CONFIG_ROOTPATH
+       "rootpath="     MK_STR(CONFIG_ROOTPATH)         "\0"
+#endif
+#ifdef CONFIG_GATEWAYIP
+       "gatewayip="    MK_STR(CONFIG_GATEWAYIP)        "\0"
+#endif
+#ifdef CONFIG_NETMASK
+       "netmask="      MK_STR(CONFIG_NETMASK)          "\0"
+#endif
+#ifdef CONFIG_HOSTNAME
+       "hostname="     MK_STR(CONFIG_HOSTNAME)         "\0"
+#endif
+#ifdef CONFIG_BOOTFILE
+       "bootfile="     MK_STR(CONFIG_BOOTFILE)         "\0"
+#endif
+#ifdef CONFIG_LOADADDR
+       "loadaddr="     MK_STR(CONFIG_LOADADDR)         "\0"
+#endif
+#ifdef CONFIG_PREBOOT
+       "preboot="      CONFIG_PREBOOT                  "\0"
+#endif
+#ifdef CONFIG_CLOCKS_IN_MHZ
+       "clocks_in_mhz=" "1"                            "\0"
+#endif
+#if defined(CONFIG_PCI_BOOTDELAY) && (CONFIG_PCI_BOOTDELAY > 0)
+       "pcidelay="     MK_STR(CONFIG_PCI_BOOTDELAY)    "\0"
+#endif
+#ifdef  CONFIG_EXTRA_ENV_SETTINGS
+       CONFIG_EXTRA_ENV_SETTINGS
+#endif
+       "\0"            /* Term. env_t.data with 2 NULs */
+       }
+};
+#ifdef CFG_ENV_ADDR_REDUND
+env_t redundand_environment __PPCENV__ = {
+       0,              /* CRC Sum: invalid */
+       0,              /* Flags:   invalid */
+       {
+       "\0"
+       }
+};
+#endif /* CFG_ENV_ADDR_REDUND */
+
+/*
+ * These will end up in the .text section
+ * if the environment strings are embedded
+ * in the image.  When this is used for
+ * tools/envcrc, they are placed in the
+ * .data/.sdata section.
+ *
+ */
+unsigned long env_size __PPCTEXT__ = sizeof(env_t);
+
+/*
+ * Add in absolutes.
+ */
+GEN_ABS(env_offset, CFG_ENV_OFFSET);
+
+#endif /* ENV_IS_EMBEDDED */
diff --git a/common/environment.c b/common/environment.c
deleted file mode 100644 (file)
index 3b9914f..0000000
+++ /dev/null
@@ -1,208 +0,0 @@
-/*
- * (C) Copyright 2001
- * Erik Theisen,  Wave 7 Optics, etheisen@mindspring.com.
- *
- * See file CREDITS for list of people who contributed to this
- * project.
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of
- * the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.         See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
- * MA 02111-1307 USA
- */
-
-#ifndef __ASSEMBLY__
-#define        __ASSEMBLY__                    /* Dirty trick to get only #defines     */
-#endif
-#define        __ASM_STUB_PROCESSOR_H__        /* don't include asm/processor.         */
-#include <config.h>
-#undef __ASSEMBLY__
-#include <environment.h>
-
-/*
- * Handle HOSTS that have prepended
- * crap on symbol names, not TARGETS.
- */
-#if defined(__APPLE__)
-/* Leading underscore on symbols */
-#  define SYM_CHAR "_"
-#else /* No leading character on symbols */
-#  define SYM_CHAR
-#endif
-
-/*
- * Generate embedded environment table
- * inside U-Boot image, if needed.
- */
-#if defined(ENV_IS_EMBEDDED)
-/*
- * Only put the environment in it's own section when we are building
- * U-Boot proper.  The host based program "tools/envcrc" does not need
- * a seperate section.  Note that ENV_CRC is only defined when building
- * U-Boot itself.
- */
-#if (defined(CFG_USE_PPCENV) || defined(CONFIG_NAND_U_BOOT)) && \
-     defined(ENV_CRC) /* Environment embedded in U-Boot .ppcenv section */
-/* XXX - This only works with GNU C */
-#  define __PPCENV__ __attribute__ ((section(".ppcenv")))
-#  define __PPCTEXT__ __attribute__ ((section(".text")))
-
-#elif defined(USE_HOSTCC) /* Native for 'tools/envcrc' */
-#  define __PPCENV__ /*XXX DO_NOT_DEL_THIS_COMMENT*/
-#  define __PPCTEXT__ /*XXX DO_NOT_DEL_THIS_COMMENT*/
-
-#else /* Environment is embedded in U-Boot's .text section */
-/* XXX - This only works with GNU C */
-#  define __PPCENV__ __attribute__ ((section(".text")))
-#  define __PPCTEXT__ __attribute__ ((section(".text")))
-#endif
-
-/*
- * Macros to generate global absolutes.
- */
-#if defined(__bfin__)
-# define GEN_SET_VALUE(name, value) asm (".set " GEN_SYMNAME(name) ", " GEN_VALUE(value))
-#else
-# define GEN_SET_VALUE(name, value) asm (GEN_SYMNAME(name) " = " GEN_VALUE(value))
-#endif
-#define GEN_SYMNAME(str) SYM_CHAR #str
-#define GEN_VALUE(str) #str
-#define GEN_ABS(name, value) \
-               asm (".globl " GEN_SYMNAME(name)); \
-               GEN_SET_VALUE(name, value)
-
-/*
- * Macros to transform values
- * into environment strings.
- */
-#define XMK_STR(x)     #x
-#define MK_STR(x)      XMK_STR(x)
-
-/*
- * Check to see if we are building with a
- * computed CRC.  Otherwise define it as ~0.
- */
-#if !defined(ENV_CRC)
-#  define ENV_CRC      ~0
-#endif
-
-env_t environment __PPCENV__ = {
-       ENV_CRC,        /* CRC Sum */
-#ifdef CFG_REDUNDAND_ENVIRONMENT
-       1,              /* Flags: valid */
-#endif
-       {
-#if defined(CONFIG_BOOTARGS)
-       "bootargs="     CONFIG_BOOTARGS                 "\0"
-#endif
-#if defined(CONFIG_BOOTCOMMAND)
-       "bootcmd="      CONFIG_BOOTCOMMAND              "\0"
-#endif
-#if defined(CONFIG_RAMBOOTCOMMAND)
-       "ramboot="      CONFIG_RAMBOOTCOMMAND           "\0"
-#endif
-#if defined(CONFIG_NFSBOOTCOMMAND)
-       "nfsboot="      CONFIG_NFSBOOTCOMMAND           "\0"
-#endif
-#if defined(CONFIG_BOOTDELAY) && (CONFIG_BOOTDELAY >= 0)
-       "bootdelay="    MK_STR(CONFIG_BOOTDELAY)        "\0"
-#endif
-#if defined(CONFIG_BAUDRATE) && (CONFIG_BAUDRATE >= 0)
-       "baudrate="     MK_STR(CONFIG_BAUDRATE)         "\0"
-#endif
-#ifdef CONFIG_LOADS_ECHO
-       "loads_echo="   MK_STR(CONFIG_LOADS_ECHO)       "\0"
-#endif
-#ifdef CONFIG_ETHADDR
-       "ethaddr="      MK_STR(CONFIG_ETHADDR)          "\0"
-#endif
-#ifdef CONFIG_ETH1ADDR
-       "eth1addr="     MK_STR(CONFIG_ETH1ADDR)         "\0"
-#endif
-#ifdef CONFIG_ETH2ADDR
-       "eth2addr="     MK_STR(CONFIG_ETH2ADDR)         "\0"
-#endif
-#ifdef CONFIG_ETH3ADDR
-       "eth3addr="     MK_STR(CONFIG_ETH3ADDR)         "\0"
-#endif
-#ifdef CONFIG_ETHPRIME
-       "ethprime="     CONFIG_ETHPRIME                 "\0"
-#endif
-#ifdef CONFIG_IPADDR
-       "ipaddr="       MK_STR(CONFIG_IPADDR)           "\0"
-#endif
-#ifdef CONFIG_SERVERIP
-       "serverip="     MK_STR(CONFIG_SERVERIP)         "\0"
-#endif
-#ifdef CFG_AUTOLOAD
-       "autoload="     CFG_AUTOLOAD                    "\0"
-#endif
-#ifdef CONFIG_ROOTPATH
-       "rootpath="     MK_STR(CONFIG_ROOTPATH)         "\0"
-#endif
-#ifdef CONFIG_GATEWAYIP
-       "gatewayip="    MK_STR(CONFIG_GATEWAYIP)        "\0"
-#endif
-#ifdef CONFIG_NETMASK
-       "netmask="      MK_STR(CONFIG_NETMASK)          "\0"
-#endif
-#ifdef CONFIG_HOSTNAME
-       "hostname="     MK_STR(CONFIG_HOSTNAME)         "\0"
-#endif
-#ifdef CONFIG_BOOTFILE
-       "bootfile="     MK_STR(CONFIG_BOOTFILE)         "\0"
-#endif
-#ifdef CONFIG_LOADADDR
-       "loadaddr="     MK_STR(CONFIG_LOADADDR)         "\0"
-#endif
-#ifdef CONFIG_PREBOOT
-       "preboot="      CONFIG_PREBOOT                  "\0"
-#endif
-#ifdef CONFIG_CLOCKS_IN_MHZ
-       "clocks_in_mhz=" "1"                            "\0"
-#endif
-#if defined(CONFIG_PCI_BOOTDELAY) && (CONFIG_PCI_BOOTDELAY > 0)
-       "pcidelay="     MK_STR(CONFIG_PCI_BOOTDELAY)    "\0"
-#endif
-#ifdef  CONFIG_EXTRA_ENV_SETTINGS
-       CONFIG_EXTRA_ENV_SETTINGS
-#endif
-       "\0"            /* Term. env_t.data with 2 NULs */
-       }
-};
-#ifdef CFG_ENV_ADDR_REDUND
-env_t redundand_environment __PPCENV__ = {
-       0,              /* CRC Sum: invalid */
-       0,              /* Flags:   invalid */
-       {
-       "\0"
-       }
-};
-#endif /* CFG_ENV_ADDR_REDUND */
-
-/*
- * These will end up in the .text section
- * if the environment strings are embedded
- * in the image.  When this is used for
- * tools/envcrc, they are placed in the
- * .data/.sdata section.
- *
- */
-unsigned long env_size __PPCTEXT__ = sizeof(env_t);
-
-/*
- * Add in absolutes.
- */
-GEN_ABS(env_offset, CFG_ENV_OFFSET);
-
-#endif /* ENV_IS_EMBEDDED */
index 7434e3fb621dcf9f3d6b5efad7dac2ace92840db..c83f155197615146933890eb2617a7d44a2aa8bd 100644 (file)
@@ -133,7 +133,7 @@ SECTIONS
 /*   . = env_start;
        .ppcenv :
        {
-               common/environment.o (.ppcenv)
+               common/env_embedded.o (.ppcenv)
        }
 */
 }
index 38478601ab46fa3f2a6f08f2a709e365b322bd8c..df8eb7e0a57538116f8ea900e9e9fb5f3970a47c 100644 (file)
@@ -62,7 +62,7 @@ SECTIONS
     lib_ppc/time.o              (.text)
 
     . = DEFINED(env_offset) ? env_offset : .;
-    common/environment.o        (.ppcenv)
+    common/env_embedded.o        (.ppcenv)
 
     *(.text)
     *(.fixup)
index 671e7277fa93cfc015ff0bb9de62ed5be980d260..2f1148975ae061afb10c1b1a5ef5de67a1a0df6f 100644 (file)
@@ -325,16 +325,16 @@ For developers using the Altera cygwin tools you can remove the
 also have to edit common/Makefile:
 
 Replace:
-environment.o: environment.c ../tools/envcrc
+env_embedded.o: env_embedded.c ../tools/envcrc
        $(CC) $(AFLAGS) -Wa,--no-warn \
                -DENV_CRC=$(shell ../tools/envcrc) \
-               -c -o $@ environment.c
+               -c -o $@ env_embedded.c
 
 With:
-environment.o: environment.c
+env_embedded.o: env_embedded.c
        $(CC) $(AFLAGS) -Wa,--no-warn \
                -DENV_CRC=0 \
-               -c -o $@ environment.c
+               -c -o $@ env_embedded.c
 
 BTW, thats a 'zero' ... not the letter 'O'. And not that the
 "../tools/envcrc" dependency is removed.
index 157b6790e1a411e01e4c86f6c2b0d383693d4134..377ca9aaa88d8f85f5ad4437c386679c7ff813b9 100644 (file)
@@ -1,7 +1,7 @@
 /bmp_logo
 /crc32.c
 /envcrc
-/environment.c
+/env_embedded.c
 /gen_eth_addr
 /img2srec
 /md5.c
index 21ea1c204f45a7c2e64ccabb8f78fcc529f3e43f..9e9ee15fb87dc4f94ec1e24fa4d83c8b3ba5e1a1 100644 (file)
@@ -23,7 +23,7 @@
 
 BIN_FILES      = img2srec$(SFX) mkimage$(SFX) envcrc$(SFX) ubsha1$(SFX) gen_eth_addr$(SFX) bmp_logo$(SFX)
 
-OBJ_LINKS      = environment.o crc32.o md5.o sha1.o image.o
+OBJ_LINKS      = env_embedded.o crc32.o md5.o sha1.o image.o
 OBJ_FILES      = img2srec.o mkimage.o envcrc.o ubsha1.o gen_eth_addr.o bmp_logo.o
 
 ifeq ($(ARCH),mips)
@@ -137,7 +137,7 @@ MAKEDEPEND = makedepend
 
 all:   $(obj).depend $(BINS) $(LOGO_H) subdirs
 
-$(obj)envcrc$(SFX):    $(obj)envcrc.o $(obj)crc32.o $(obj)environment.o $(obj)sha1.o
+$(obj)envcrc$(SFX):    $(obj)envcrc.o $(obj)crc32.o $(obj)env_embedded.o $(obj)sha1.o
                $(CC) $(CFLAGS) -o $@ $^
 
 $(obj)ubsha1$(SFX):    $(obj)ubsha1.o $(obj)sha1.o
@@ -237,11 +237,11 @@ else
                done
 endif
 
-$(obj)environment.c:
-               @rm -f $(obj)environment.c
-               ln -s $(src)../common/environment.c $(obj)environment.c
+$(obj)env_embedded.c:
+               @rm -f $(obj)env_embedded.c
+               ln -s $(src)../common/env_embedded.c $(obj)env_embedded.c
 
-$(obj)environment.o:   $(obj)environment.c
+$(obj)env_embedded.o:  $(obj)env_embedded.c
                $(CC) -g $(HOST_ENVIRO_CFLAGS) $(CPPFLAGS) -c -o $@ $<
 
 $(obj)zlib.h: