Skip to content
Snippets Groups Projects
  1. Oct 27, 2009
  2. Oct 18, 2009
    • Mike Frysinger's avatar
      env: only build env_embedded and envcrc when needed · 6dab6add
      Mike Frysinger authored
      
      The env code is protected by the ENV_IS_EMBEDDED define, so attempting to
      compile the code when this isn't defined is pointless.  Now that the env
      headers have unified around CONFIG_ENV_IS_EMBEDDED, convert the build
      system to only build the env objects when this is enabled.  And now that
      the env code is conditionally compiled, we can drop the source code checks.
      
      For people who want to extract the environment manually, add a new option
      CONFIG_BUILD_ENVCRC that only enables the envcrc utility.
      
      Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
      6dab6add
  3. Oct 18, 2008
  4. Sep 10, 2008
  5. Feb 05, 2008
  6. Sep 16, 2007
    • Wolfgang Denk's avatar
      TQM8xx[LM]: Fix broken environment alignment. · 67c31036
      Wolfgang Denk authored
      
      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: default avatarWolfgang Denk <wd@denx.de>
      67c31036
  7. Dec 19, 2006
  8. Sep 12, 2006
  9. May 09, 2006
  10. Aug 03, 2005
  11. Dec 31, 2004
    • Wolfgang Denk's avatar
      * Code cleanup, mostly for GCC-3.3.x · e2ffd59b
      Wolfgang Denk authored
      * Cleanup confusing use of CONFIG_ETH*ADDR - ust his only to
        pre-define a MAC address; use CONFIG_HAS_ETH* to enable support for
        additional ethernet addresses.
      
      * Cleanup drivers/i82365.c - avoid duplication of code
      
      * Fix bogus "cannot span across banks" flash error message
      
      * Add support for CompactFlash for the CPC45 Board.
      e2ffd59b
  12. Apr 18, 2004
  13. Mar 31, 2003
    • Wolfgang Denk's avatar
      * Patch by Martin Winistoerfer, 23 Mar 2003 · 0db5bca8
      Wolfgang Denk authored
        - Add port to MPC555/556 microcontrollers
        - Add support for cmi customer board with
          Intel 28F128J3A, 28F320J3A or 28F640J3A flash.
      
      * Patch by Rick Bronson, 28 Mar 2003:
        - fix common/cmd_nand.c
      0db5bca8
  14. Feb 14, 2003
  15. Jan 11, 2003
  16. Nov 03, 2002
Loading