Skip to content
Snippets Groups Projects
  1. Sep 22, 2007
  2. Sep 19, 2007
  3. Sep 18, 2007
  4. 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
    • Wolfgang Denk's avatar
  5. Sep 15, 2007
  6. Sep 13, 2007
  7. Sep 11, 2007
  8. Sep 10, 2007
  9. Sep 09, 2007
  10. Sep 08, 2007
  11. Sep 07, 2007
    • Grzegorz Bernacki's avatar
      [PPC440SPe] PCIe environment settings for Katmai and Yucca · 6efc1fc0
      Grzegorz Bernacki authored
      
      - 'pciconfighost' is set by default in order to be able to scan bridges
      behind the primary host/PCIe
      
      - 'pciscandelay' env variable is recognized to allow for user-controlled
      delay before the PCIe bus enumeration; some peripheral devices require a
      significant delay before they can be scanned (e.g. LSI8408E); without the
      delay they are not detected
      
      Signed-off-by: default avatarGrzegorz Bernacki <gjb@semihalf.com>
      6efc1fc0
    • Grzegorz Bernacki's avatar
      [PPC440SPe] Improve PCIe configuration space access · 7f191393
      Grzegorz Bernacki authored
      
      - correct configuration space mapping
      - correct bus numbering
      - better access to config space
      
      Prior to this patch, the 440SPe host/PCIe bridge was able to configure only the
      first device on the first bus. We now allow to configure up to 16 buses;
      also, scanning for devices behind the PCIe-PCIe bridge is supported, so
      peripheral devices farther in hierarchy can be identified.
      
      Signed-off-by: default avatarGrzegorz Bernacki <gjb@semihalf.com>
      7f191393
    • Grzegorz Bernacki's avatar
      [PPC440SPe] Convert machine check exceptions handling · 15ee4734
      Grzegorz Bernacki authored
      
      Convert using fixup mechanism to suppressing MCK for the duration of config
      read/write transaction: while fixups work fine with the case of a precise
      exception, we identified a major drawback with this approach when there's
      an imprecise case. In this scenario there is the following race condition:
      the fixup is (by design) set to catch the instruction following the one
      actually causing the exception; if an interrupt (e.g. decrementer) happens
      between those two instructions, the ISR code is executed before the fixup
      handler the machine check is no longer protected by the fixup handler as it
      appears as within the ISR code. In consequence the fixup approach is being
      phased out and replaced with explicit suppressing of MCK during a PCIe
      config read/write cycle.
      
      Signed-off-by: default avatarGrzegorz Bernacki <gjb@semihalf.com>
      15ee4734
    • Wolfgang Denk's avatar
      Fix typo in MAKEALL script. · ff7640c9
      Wolfgang Denk authored
      
      Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
      ff7640c9
    • Grzegorz Bernacki's avatar
      [MPC512x] Proper handling of larger frames in the FEC driver · 08e2e5fc
      Grzegorz Bernacki authored
      
      When frame larger than local RX buffer is received, it is split and handled
      by two buffer descriptors. Prior to this patch the FEC driver discarded
      contents of a buffer descriptor without the 'LAST' bit set, so the first
      part of the frame was lost in case of larger frames. This fix allows to
      safely combine the two pieces into the whole frame.
      
      Signed-off-by: default avatarGrzegorz Bernacki <gjb@semihalf.com>
      08e2e5fc
Loading