1. 22 Sep, 2009 1 commit
  2. 16 Sep, 2009 1 commit
    • Mingkai Hu's avatar
      ppc/85xx: add boot from NAND/eSDHC/eSPI support · 7da53351
      Mingkai Hu authored
      
      
      The MPC8536E is capable of booting form NAND/eSDHC/eSPI, this patch
      implements these three bootup methods in a unified way - all of these
      use the general cpu/mpc85xx/start.S, and load the main image to L2SRAM
      which lets us use the SPD to initialize the SDRAM.
      
      For all three bootup methods, the bootup process can be divided into two
      stages: the first stage will initialize the corresponding controller,
      configure the L2SRAM, then copy the second stage image to L2SRAM and
      jump to it. The second stage image is just like the general U-Boot image
      to configure all the hardware and boot up to U-Boot command line.
      
      When boot from NAND, the eLBC controller will first load the first stage
      image to internal 4K RAM buffer because it's also stored on the NAND
      flash. The first stage image, also call 4K NAND loader, will initialize
      the L2SRAM, load the second stage image to L2SRAM and jump to it. The 4K
      NAND loader's code comes from the corresponding nand_spl directory, along
      with the code twisted by CONFIG_NAND_SPL.
      
      When boot from eSDHC/eSPI, there's no such a first stage image because
      the CPU ROM code does the same work. It will initialize the L2SRAM
      according to the config addr/word pairs on the fixed address and
      initialize the eSDHC/eSPI controller, then load the second stage image
      to L2SRAM and jump to it.
      
      The macro CONFIG_SYS_RAMBOOT is used to control the code to produce the
      second stage image for all different bootup methods. It's set in the
      board config file when one of the bootup methods above is selected.
      Signed-off-by: default avatarMingkai Hu <Mingkai.hu@freescale.com>
      Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>
      7da53351
  3. 14 Sep, 2009 4 commits
    • Wolfgang Denk's avatar
      sk98lin: fix compile warnings · 2d6d9f08
      Wolfgang Denk authored
      
      
      Fix warnings:
      skge.c: In function 'BoardInitMem':
      skge.c:1389: warning: dereferencing type-punned pointer will break strict-aliasing rules
      skge.c:1390: warning: dereferencing type-punned pointer will break strict-aliasing rules
      skge.c:1391: warning: dereferencing type-punned pointer will break strict-aliasing rules
      skgesirq.c: In function 'SkGePortCheckUpXmac':
      skgesirq.c:1301: warning: dereferencing type-punned pointer will break strict-aliasing rules
      skgesirq.c:1301: warning: dereferencing type-punned pointer will break strict-aliasing rules
      skgesirq.c:1398: warning: dereferencing type-punned pointer will break strict-aliasing rules
      skgesirq.c:1398: warning: dereferencing type-punned pointer will break strict-aliasing rules
      skrlmt.c: In function 'SkRlmtInit':
      skrlmt.c:661: warning: dereferencing type-punned pointer will break strict-aliasing rules
      skxmac2.c: In function 'SkMacPromiscMode':
      skxmac2.c:753: warning: dereferencing type-punned pointer will break strict-aliasing rules
      skxmac2.c:753: warning: dereferencing type-punned pointer will break strict-aliasing rules
      skxmac2.c: In function 'SkMacHashing':
      skxmac2.c:803: warning: dereferencing type-punned pointer will break strict-aliasing rules
      skxmac2.c:803: warning: dereferencing type-punned pointer will break strict-aliasing rules
      skxmac2.c: In function 'SkMacFlushTxFifo':
      skxmac2.c:1115: warning: dereferencing type-punned pointer will break strict-aliasing rules
      skxmac2.c:1115: warning: dereferencing type-punned pointer will break strict-aliasing rules
      skxmac2.c: In function 'SkMacFlushRxFifo':
      skxmac2.c:1145: warning: dereferencing type-punned pointer will break strict-aliasing rules
      skxmac2.c:1145: warning: dereferencing type-punned pointer will break strict-aliasing rules
      skxmac2.c: In function 'SkXmInitPauseMd':
      skxmac2.c:1987: warning: dereferencing type-punned pointer will break strict-aliasing rules
      skxmac2.c:1987: warning: dereferencing type-punned pointer will break strict-aliasing rules
      skxmac2.c: In function 'SkXmOverflowStatus':
      skxmac2.c:4236: warning: dereferencing type-punned pointer will break strict-aliasing rules
      skxmac2.c:4236: warning: dereferencing type-punned pointer will break strict-aliasing rules
      skxmac2.c:4242: warning: dereferencing type-punned pointer will break strict-aliasing rules
      skxmac2.c:4242: warning: dereferencing type-punned pointer will break strict-aliasing rules
      Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
      Cc: Ben Warren <biggerbadderben@gmail.com>
      2d6d9f08
    • Wolfgang Denk's avatar
      drivers/net/natsemi.c: fix compile warning · 3708e4cd
      Wolfgang Denk authored
      
      
      Fix warning: natsemi.c:757: warning: dereferencing type-punned pointer
      will break strict-aliasing rules
      Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
      Cc: Ben Warren <biggerbadderben@gmail.com>
      3708e4cd
    • Michal Simek's avatar
    • Michal Simek's avatar
      net: Remove old Xilinx Emac driver · 3ceba1d4
      Michal Simek authored
      
      Signed-off-by: default avatarMichal Simek <monstr@monstr.eu>
      3ceba1d4
  4. 11 Sep, 2009 1 commit
    • Stefan Roese's avatar
      ppc4xx: Big cleanup of PPC4xx defines · d1c3b275
      Stefan Roese authored
      
      
      This patch cleans up multiple issues of the 4xx register (mostly
      DCR, SDR, CPR, etc) definitions:
      
      - Change lower case defines to upper case (plb4_acr -> PLB4_ACR)
      - Change the defines to better match the names from the
        user's manuals (e.g. cprpllc -> CPR0_PLLC)
      - Removal of some unused defines
      
      Please test this patch intensive on your PPC4xx platform. Even though
      I tried not to break anything and tested successfully on multiple
      4xx AMCC platforms, testing on custom platforms is recommended.
      Signed-off-by: default avatarStefan Roese <sr@denx.de>
      d1c3b275
  5. 08 Sep, 2009 1 commit
  6. 06 Sep, 2009 1 commit
  7. 04 Sep, 2009 6 commits
  8. 28 Aug, 2009 7 commits
  9. 26 Aug, 2009 10 commits
  10. 25 Aug, 2009 7 commits
  11. 21 Aug, 2009 1 commit