rename environment.c in env_embedded.c to reflect is functionality

Signed-off-by: default avatarJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
parent c0878af6
......@@ -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
......
......@@ -63,7 +63,7 @@ SECTIONS
lib_generic/zlib.o (.text)
/* . = env_offset; */
common/environment.o(.text)
common/env_embedded.o(.text)
*(.text)
*(.fixup)
......
......@@ -77,7 +77,7 @@ SECTIONS
lib_ppc/ticks.o (.text)
. = env_offset;
common/environment.o (.text)
common/env_embedded.o (.text)
*(.text)
*(.fixup)
......
......@@ -70,7 +70,7 @@ SECTIONS
lib_generic/crc32.o (.text)
. = env_offset;
common/environment.o (.text)
common/env_embedded.o (.text)
*(.text)
*(.fixup)
......
......@@ -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)
......
......@@ -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)
......
......@@ -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)
......
......@@ -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);
......
......@@ -64,7 +64,7 @@ SECTIONS
/* XXX ?
. = env_offset;
*/
common/environment.o(.text)
common/env_embedded.o(.text)
*(.text)
*(.fixup)
......
......@@ -61,7 +61,7 @@ SECTIONS
lib_generic/crc32.o (.text)
. = env_offset;
common/environment.o(.text)
common/env_embedded.o(.text)
*(.text)
*(.fixup)
......
......@@ -64,7 +64,7 @@ SECTIONS
/* XXX ?
. = env_offset;
*/
common/environment.o(.text)
common/env_embedded.o(.text)
*(.text)
*(.fixup)
......
......@@ -61,7 +61,7 @@ SECTIONS
lib_generic/crc32.o (.text)
. = env_offset;
common/environment.o(.text)
common/env_embedded.o(.text)
*(.text)
*(.fixup)
......
......@@ -64,7 +64,7 @@ SECTIONS
/* XXX ?
. = env_offset;
*/
common/environment.o(.text)
common/env_embedded.o(.text)
*(.text)
*(.fixup)
......
......@@ -61,7 +61,7 @@ SECTIONS
lib_generic/crc32.o (.text)
. = env_offset;
common/environment.o(.text)
common/env_embedded.o(.text)
*(.text)
*(.fixup)
......
......@@ -66,7 +66,7 @@ SECTIONS
lib_ppc/time.o (.text)
. = env_offset;
common/environment.o (.ppcenv)
common/env_embedded.o (.ppcenv)
*(.text)
*(.fixup)
......
......@@ -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)
}
......
......@@ -38,7 +38,7 @@ SECTIONS
cpu/ixp/cpu.o(.text)
. = env_offset;
common/environment.o (.ppcenv)
common/env_embedded.o (.ppcenv)
* (.text)
}
......
......@@ -38,7 +38,7 @@ SECTIONS
cpu/ixp/cpu.o (.text)
. = env_offset;
common/environment.o (.ppcenv)
common/env_embedded.o (.ppcenv)
* (.text)
}
......
......@@ -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);
......
......@@ -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);
......
......@@ -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);
......
......@@ -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);
......
......@@ -70,7 +70,7 @@ SECTIONS
board/amcc/redwood/init.o (.text)
/* . = env_offset;*/
/* common/environment.o(.text)*/
/* common/env_embedded.o(.text)*/
*(.text)
*(.fixup)
......
......@@ -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);
......
......@@ -69,7 +69,7 @@ SECTIONS
lib_generic/zlib.o (.text)
/* . = env_offset;*/
/* common/environment.o(.text)*/
/* common/env_embedded.o(.text)*/
*(.text)
*(.fixup)
......
......@@ -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);
......
......@@ -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.*)
......
......@@ -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.*)
......
......@@ -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.*)
......
......@@ -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.*)
......
......@@ -63,7 +63,7 @@ SECTIONS
lib_generic/zlib.o (.text)
. = env_offset;
common/environment.o(.text)
common/env_embedded.o(.text)
*(.text)
*(.fixup)
......
......@@ -61,7 +61,7 @@ SECTIONS
lib_generic/crc32.o (.text)
. = env_offset;
common/environment.o(.text)
common/env_embedded.o(.text)
*(.text)
*(.fixup)
......
......@@ -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)
......
......@@ -53,7 +53,7 @@ SECTIONS
.text :
{
*(.text)
common/environment.o(.text)
common/env_embedded.o(.text)
*(.fixup)
*(.got1)
}
......
......@@ -61,7 +61,7 @@ SECTIONS
lib_generic/crc32.o (.text)
. = env_offset;
common/environment.o(.text)
common/env_embedded.o(.text)
*(.text)
*(.fixup)
......
......@@ -75,7 +75,7 @@ SECTIONS
lib_generic/zlib.o (.text)
/*. = env_offset;*/
common/environment.o(.text)
common/env_embedded.o(.text)
*(.text)
*(.fixup)
......
......@@ -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)
......
......@@ -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)
......
......@@ -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)
......
......@@ -147,7 +147,7 @@ SECTIONS
. = 0xFFFF8000;
.ppcenv :
{
common/environment.o(.ppcenv);
common/env_embedded.o(.ppcenv);
}
_end = . ;
......
......@@ -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)
......
......@@ -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)
......
......@@ -53,7 +53,7 @@ SECTIONS
.text :
{
cpu/mpc8xx/start.o (.text)
common/environment.o(.text)
common/env_embedded.o(.text)
*(.text)
*(.fixup)
......
......@@ -61,7 +61,7 @@ SECTIONS
lib_generic/crc32.o (.text)
. = env_offset;
common/environment.o(.text)
common/env_embedded.o(.text)
*(.text)
*(.fixup)
......
......@@ -62,7 +62,7 @@ SECTIONS
lib_ppc/extable.o (.text)
. = env_offset;
common/environment.o(.text)
common/env_embedded.o(.text)
*(.text)
*(.fixup)
......
......@@ -75,7 +75,7 @@ SECTIONS
lib_generic/zlib.o (.text)
/* . = env_offset;*/
common/environment.o(.text)
common/env_embedded.o(.text)
*(.text)
*(.fixup)
......
......@@ -72,7 +72,7 @@ SECTIONS
lib_generic/zlib.o (.text)
/* . = env_offset;*/
/* common/environment.o(.text)*/
/* common/env_embedded.o(.text)*/
*(.text)
*(.fixup)
......
......@@ -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)
......
......@@ -72,7 +72,7 @@ SECTIONS
lib_generic/zlib.o (.text)
/* . = env_offset;*/
/* common/environment.o(.text)*/
/* common/env_embedded.o(.text)*/
*(.text)
*(.fixup)
......
......@@ -82,7 +82,7 @@ SECTIONS
net/net.o (.text)
/* . = env_offset;
common/environment.o (.text)
common/env_embedded.o (.text)
*/
*(.text)
......
......@@ -72,7 +72,7 @@ SECTIONS
lib_generic/zlib.o (.text)
/* . = env_offset;*/
/* common/environment.o(.text)*/
/* common/env_embedded.o(.text)*/
*(.text)
*(.fixup)
......
......@@ -72,7 +72,7 @@ SECTIONS
lib_generic/zlib.o (.text)
/* . = env_offset;*/
/* common/environment.o(.text)*/
/* common/env_embedded.o(.text)*/
*(.text)
*(.fixup)
......
......@@ -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)
......
......@@ -72,7 +72,7 @@ SECTIONS
lib_generic/zlib.o (.text)
/* . = env_offset;*/
/* common/environment.o(.text)*/
/* common/env_embedded.o(.text)*/
*(.text)
*(.fixup)
......
......@@ -86,7 +86,7 @@ SECTIONS
net/bootp.o (.text)
. = env_offset;
common/environment.o(.text)
common/env_embedded.o(.text)
*(.text)
*(.fixup)
......
......@@ -73,7 +73,7 @@ SECTIONS
lib_generic/zlib.o (.text)
/* . = env_offset;*/
/* common/environment.o(.text)*/
/* common/env_embedded.o(.text)*/
*(.text)
*(.fixup)
......
......@@ -72,7 +72,7 @@ SECTIONS
lib_generic/zlib.o (.text)
/* . = env_offset;*/
/* common/environment.o(.text)*/
/* common/env_embedded.o(.text)*/
*(.text)
*(.fixup)
......
......@@ -72,7 +72,7 @@ SECTIONS
lib_generic/zlib.o (.text)
/* . = env_offset;*/
/* common/environment.o(.text)*/
/* common/env_embedded.o(.text)*/
*(.text)
*(.fixup)
......
......@@ -73,7 +73,7 @@ SECTIONS
lib_generic/zlib.o (.text)
/* . = env_offset;*/
/* common/environment.o(.text)*/
/* common/env_embedded.o(.text)*/
*(.text)
*(.fixup)
......
......@@ -72,7 +72,7 @@ SECTIONS
lib_generic/zlib.o (.text)
/* . = env_offset;*/
/* common/environment.o(.text)*/
/* common/env_embedded.o(.text)*/
*(.text)
*(.fixup)
......
......@@ -72,7 +72,7 @@ SECTIONS
lib_generic/zlib.o (.text)
/* . = env_offset;*/
/* common/environment.o(.text)*/
/* common/env_embedded.o(.text)*/
*(.text)
*(.fixup)
......
......@@ -72,7 +72,7 @@ SECTIONS
lib_generic/zlib.o (.text)
/* . = env_offset;*/
/* common/environment.o(.text)*/
/* common/env_embedded.o(.text)*/
*(.text)
*(.fixup)
......
......@@ -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);
......
......@@ -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)
......
......@@ -73,7 +73,7 @@ SECTIONS
lib_generic/zlib.o (.text)
/* . = env_offset;*/
/* common/environment.o(.text)*/
/* common/env_embedded.o(.text)*/
*(.text)
*(.fixup)
......
......@@ -72,7 +72,7 @@ SECTIONS
lib_generic/zlib.o (.text)
/* . = env_offset;*/
/* common/environment.o(.text)*/
/* common/env_embedded.o(.text)*/
*(.text)
*(.fixup)
......
......@@ -63,7 +63,7 @@ SECTIONS
lib_generic/zlib.o (.text)
. = env_offset;
common/environment.o(.text)
common/env_embedded.o(.text)
*(.text)
*(.fixup)
......
......@@ -66,7 +66,7 @@ SECTIONS
lib_generic/zlib.o (.text)
. = env_offset;
common/environment.o(.text)
common/env_embedded.o(.text)
*(.text)
*(.fixup)
*(.got1)
......
......@@ -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)
......
......@@ -60,7 +60,7 @@ SECTIONS
/* store the environment in a seperate sector in the boot flash */