uboot-mt623x/common
Wolfgang Denk 67c31036ac TQM8xx[LM]: Fix broken environment alignment.
With recent toolchains, the environment sectors were no longer aligned to
sector boundaries. The reason was a combination of two bugs:

1) common/environment.c assumed that CONFIG_TQM8xxL would be defined
   for all TQM8xxL and TQM8xxM boards. But "include/common.h", where
   this gets defined, is not included here (and cannot be included
   without causing lots of problems).

   Added a new #define CFG_USE_PPCENV for all boards which really
   want to put the environment is a ".ppcenv" section.

2) The linker scripts just include environment.o, silently assuming
   that the objects in that file are really in the order in which
   they are coded in the C file, i. e. "environment" first, then
   "redundand_environment", and "env_size" last. However, current
   toolchains (GCC-4.x) reorder the objects, causing the environment
   data not to start on a flash sector boundary:

   Instead of:					we got:

	40008000 T environment			40008000 T env_size
	4000c000 T redundand_environment	40008004 T redundand_environment
	40010000 T env_size			4000c004 T environment

   Note: this patch fixes just the first part, and cures the alignment
   problem by making sure that "env_size" gets placed correctly. However,
   we still have a potential issue because primary and redundant
   environment sectors are actually swapped, i. e. we have now:

	40008000 T redundand_environment
	4000c000 T environment
	40010000 T env_size

   This shall be fixed in the next version.

Signed-off-by: Wolfgang Denk <wd@denx.de>
2007-09-16 17:20:37 +02:00
..
ACEX1K.c * Patch by Steven Scholz, 25 Feb 2004: 2004-02-27 00:07:27 +00:00
Makefile Merge with /home/git/u-boot 2007-05-17 00:06:11 +02:00
altera.c Merge with /home/stefan/git/u-boot/denx 2006-09-18 10:48:03 +02:00
bedbug.c common/cmd_[af]*: Remove obsolete references to CONFIG_COMMANDS. 2007-07-08 17:55:57 -05:00
circbuf.c Add support for Siemens SX1 mobile phone; 2004-03-12 00:14:09 +00:00
cmd_autoscript.c common/: Remove lingering references to CFG_CMD_* symbols. 2007-07-10 11:02:44 -05:00
cmd_bdinfo.c ColdFire: Fix some remaining problems with CFG_CMD_ 2007-08-18 14:37:52 +02:00
cmd_bedbug.c common/: Remove lingering references to CFG_CMD_* symbols. 2007-07-10 11:02:44 -05:00
cmd_bmp.c common/cmd_[af]*: Remove obsolete references to CONFIG_COMMANDS. 2007-07-08 17:55:57 -05:00
cmd_boot.c Undo commit 3033ebb2: reset command does not take any arguments 2007-01-13 11:17:10 +01:00
cmd_bootm.c Bugfix: make bootm+libfdt compile on boards with no flash 2007-09-09 00:41:52 +02:00
cmd_cache.c common/: Remove lingering references to CFG_CMD_* symbols. 2007-07-10 11:02:44 -05:00
cmd_console.c common/: Remove lingering references to CFG_CMD_* symbols. 2007-07-10 11:02:44 -05:00
cmd_date.c common/: Remove lingering references to CFG_CMD_* symbols. 2007-07-10 11:02:44 -05:00
cmd_dcr.c common/: Remove lingering references to CFG_CMD_* symbols. 2007-07-10 11:02:44 -05:00
cmd_diag.c common/: Remove lingering references to CFG_CMD_* symbols. 2007-07-10 11:02:44 -05:00
cmd_display.c common/: Remove lingering references to CFG_CMD_* symbols. 2007-07-10 11:02:44 -05:00
cmd_doc.c Merge with /home/wd/git/u-boot/custodian/u-boot-testing 2007-08-06 01:11:08 +02:00
cmd_dtt.c common/cmd_[af]*: Remove obsolete references to CONFIG_COMMANDS. 2007-07-08 17:55:57 -05:00
cmd_eeprom.c common/: Remove lingering references to CFG_CMD_* symbols. 2007-07-10 11:02:44 -05:00
cmd_elf.c common/: Remove lingering references to CFG_CMD_* symbols. 2007-07-10 11:02:44 -05:00
cmd_ext2.c common/cmd_[af]*: Remove obsolete references to CONFIG_COMMANDS. 2007-07-08 17:55:57 -05:00
cmd_fat.c common/: Remove lingering references to CFG_CMD_* symbols. 2007-07-10 11:02:44 -05:00
cmd_fdc.c common/cmd_[af]*: Remove obsolete references to CONFIG_COMMANDS. 2007-07-08 17:55:57 -05:00
cmd_fdos.c common/cmd_[af]*: Remove obsolete references to CONFIG_COMMANDS. 2007-07-08 17:55:57 -05:00
cmd_fdt.c fdt: allow for builds that don't want env and bd_t nodes 2007-08-10 19:21:37 -04:00
cmd_flash.c Fix some compile problems introduced by the latest CFG_CMD_xxx cleanup 2007-07-11 23:03:06 +02:00
cmd_fpga.c common/cmd_[af]*: Remove obsolete references to CONFIG_COMMANDS. 2007-07-08 17:55:57 -05:00
cmd_i2c.c common/: Remove lingering references to CFG_CMD_* symbols. 2007-07-10 11:02:44 -05:00
cmd_ide.c IDE: - make ide_inb () and ide_outb () "weak", so boards can 2007-08-28 17:39:14 +02:00
cmd_immap.c common/: Remove lingering references to CFG_CMD_* symbols. 2007-07-10 11:02:44 -05:00
cmd_itest.c common/cmd_[i-n]*: Remove obsolete references to CONFIG_COMMANDS. 2007-07-08 18:02:23 -05:00
cmd_jffs2.c common/: Remove lingering references to CFG_CMD_* symbols. 2007-07-10 11:02:44 -05:00
cmd_load.c common/: Remove lingering references to CFG_CMD_* symbols. 2007-07-10 11:02:44 -05:00
cmd_log.c Coding stylke cleanup; rebuild CHANGELOG 2007-06-22 23:59:00 +02:00
cmd_mac.c Add support for reading and writing mac addresses to or from ID EEPROM. 2006-07-13 10:57:37 -05:00
cmd_mem.c common/: Remove lingering references to CFG_CMD_* symbols. 2007-07-10 11:02:44 -05:00
cmd_mfsl.c common/: Remove lingering references to CFG_CMD_* symbols. 2007-07-10 11:02:44 -05:00
cmd_mii.c Merge with git://www.denx.de/git/u-boot.git 2007-08-15 14:51:27 +02:00
cmd_misc.c common/: Remove lingering references to CFG_CMD_* symbols. 2007-07-10 11:02:44 -05:00
cmd_mmc.c common/: Remove lingering references to CFG_CMD_* symbols. 2007-07-10 11:02:44 -05:00
cmd_nand.c Fix do_div() usage in nand process output 2007-09-15 21:38:38 +02:00
cmd_net.c Merge with /home/wd/git/u-boot/custodian/u-boot-testing 2007-08-06 01:11:08 +02:00
cmd_nvedit.c [ARM] TI DaVinci support, hopefully final 2007-08-10 20:26:18 +02:00
cmd_pci.c common/cmd_[p-x]*: Remove obsolete references to CONFIG_COMMANDS. 2007-07-08 18:05:39 -05:00
cmd_pcmcia.c common/cmd_[p-x]*: Remove obsolete references to CONFIG_COMMANDS. 2007-07-08 18:05:39 -05:00
cmd_portio.c common/: Remove lingering references to CFG_CMD_* symbols. 2007-07-10 11:02:44 -05:00
cmd_reginfo.c common/cmd_[p-x]*: Remove obsolete references to CONFIG_COMMANDS. 2007-07-08 18:05:39 -05:00
cmd_reiser.c Merge branch 'testing' into working 2007-08-03 02:23:23 -05:00
cmd_sata.c Fix S-ATA support. 2007-06-30 18:50:48 +02:00
cmd_scsi.c common/cmd_[p-x]*: Remove obsolete references to CONFIG_COMMANDS. 2007-07-08 18:05:39 -05:00
cmd_spi.c common/: Remove lingering references to CFG_CMD_* symbols. 2007-07-10 11:02:44 -05:00
cmd_universe.c common/cmd_[p-x]*: Remove obsolete references to CONFIG_COMMANDS. 2007-07-08 18:05:39 -05:00
cmd_usb.c common/cmd_[p-x]*: Remove obsolete references to CONFIG_COMMANDS. 2007-07-08 18:05:39 -05:00
cmd_vfd.c common/: Remove lingering references to CFG_CMD_* symbols. 2007-07-10 11:02:44 -05:00
cmd_ximg.c common/cmd_[p-x]*: Remove obsolete references to CONFIG_COMMANDS. 2007-07-08 18:05:39 -05:00
command.c common/: Remove lingering references to CFG_CMD_* symbols. 2007-07-10 11:02:44 -05:00
console.c [PATCH] simplify silent console 2007-05-05 21:34:19 +02:00
crc16.c Code cleanup 2006-07-21 11:56:05 +02:00
cyclon2.c Add FPGA Altera Cyclone 2 support 2006-08-15 14:15:51 +02:00
devices.c GCC-4.x fixes: clean up global data pointer initialization for all boards. 2006-03-31 18:32:53 +02:00
dlmalloc.c GCC-4.x fixes: clean up global data pointer initialization for all boards. 2006-03-31 18:32:53 +02:00
dlmalloc.src * Code cleanup: 2003-06-27 21:31:46 +00:00
docecc.c common/* non-cmd*: Remove obsolete references to CONFIG_COMMANDS 2007-07-08 18:10:08 -05:00
env_common.c make show_boot_progress () weak. 2007-07-13 09:54:17 +02:00
env_dataflash.c GCC-4.x fixes: clean up global data pointer initialization for all boards. 2006-03-31 18:32:53 +02:00
env_eeprom.c GCC-4.x fixes: clean up global data pointer initialization for all boards. 2006-03-31 18:32:53 +02:00
env_flash.c Fix compilation error for omap2420h4_config. 2007-08-29 02:01:47 +02:00
env_nand.c common/: Remove lingering references to CFG_CMD_* symbols. 2007-07-10 11:02:44 -05:00
env_nowhere.c GCC-4.x fixes: clean up global data pointer initialization for all boards. 2006-03-31 18:32:53 +02:00
env_nvram.c GCC-4.x fixes: clean up global data pointer initialization for all boards. 2006-03-31 18:32:53 +02:00
environment.c TQM8xx[LM]: Fix broken environment alignment. 2007-09-16 17:20:37 +02:00
exports.c Add functions to list of exported functions 2007-08-06 00:45:40 +02:00
fdt_support.c fdt: suppress unused variable 'bd' warning 2007-08-16 12:19:28 +02:00
flash.c ppc4xx: Update AMCC Bamboo 440EP support 2007-07-31 10:24:56 +02:00
fpga.c Merge with /home/stefan/git/u-boot/denx 2006-09-18 10:48:03 +02:00
ft_build.c [PATCH 4_4] Remove local implementation of isprint() in ft_build.c 2007-02-20 09:05:07 +01:00
hush.c common/: Remove lingering references to CFG_CMD_* symbols. 2007-07-10 11:02:44 -05:00
kgdb.c common/: Remove lingering references to CFG_CMD_* symbols. 2007-07-10 11:02:44 -05:00
lcd.c common/* non-cmd*: Remove obsolete references to CONFIG_COMMANDS 2007-07-08 18:10:08 -05:00
lists.c Initial revision 2002-08-17 09:36:01 +00:00
lynxkdi.c GCC-4.x fixes: clean up global data pointer initialization for all boards. 2006-03-31 18:32:53 +02:00
main.c Merge with /home/wd/git/u-boot/custodian/u-boot-testing 2007-08-06 01:11:08 +02:00
memsize.c Sequential accesses to non-existent memory must be synchronized, 2006-11-06 17:06:36 +01:00
miiphybb.c Cleanup compile warnings. Prepare for release 1.1.5 2006-10-20 17:54:33 +02:00
miiphyutil.c common/* non-cmd*: Remove obsolete references to CONFIG_COMMANDS 2007-07-08 18:10:08 -05:00
s_record.c Initial revision 2002-08-17 09:36:01 +00:00
serial.c PXA270: Add support for multiple serial ports. 2007-09-07 01:04:59 +02:00
soft_i2c.c Add MACH_TYPE records for several AT91 boards. 2007-08-14 10:10:52 +01:00
soft_spi.c ppc4xx: Add support for AMCC 405EP Taihu board 2007-07-26 17:49:11 +02:00
spartan2.c * Patch by Steven Scholz, 25 Feb 2004: 2004-02-27 00:07:27 +00:00
spartan3.c Cleanup 2005-09-25 18:49:35 +02:00
usb.c common/* non-cmd*: Remove obsolete references to CONFIG_COMMANDS 2007-07-08 18:10:08 -05:00
usb_kbd.c USB event poll support 2007-06-06 10:08:13 +02:00
usb_storage.c common/: Remove lingering references to CFG_CMD_* symbols. 2007-07-10 11:02:44 -05:00
virtex2.c Add support for AMD's Pb1x00 eval board; 2005-09-25 00:53:22 +02:00
xilinx.c Cleanup for GCC-4.x 2005-10-13 16:45:02 +02:00
xyzModem.c Coding Style cleanup. 2006-08-31 16:46:53 +02:00