1. 22 Sep, 2009 1 commit
  2. 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>
  3. 04 Sep, 2009 1 commit
  4. 26 Aug, 2009 6 commits
  5. 25 Aug, 2009 1 commit
    • Feng Kan's avatar
      ppc4xx: Fix ECC Correction bug with SMC ordering for NDFC driver · 68e74567
      Feng Kan authored
      Fix ECC Correction bug where the byte offset location were double
      flipped causing correction routine to toggle the wrong byte location
      in the ECC segment. The ndfc_calculate_ecc routine change the order
      of getting the ECC code.
              /* The NDFC uses Smart Media (SMC) bytes order */
              ecc_code[0] = p[2];
              ecc_code[1] = p[1];
              ecc_code[2] = p[3];
      But in the Correction algorithm when calculating the byte offset
      location, the s1 is used as the upper part of the address. Which
      again reverse the order making the final byte offset address
      location incorrect.
      	byteoffs = (s1 << 0) & 0x80;
      	byteoffs |= (s0 >> 4) & 0x08;
      The order is change to read it in straight and let the correction
      function to revert it to SMC order.
      Signed-off-by: default avatarFeng Kan <fkan@amcc.com>
      Acked-by: default avatarVictor Gallardo <vgallardo@amcc.com>
      Acked-by: default avatarProdyut Hazarika <phazarika@amcc.com>
      Signed-off-by: default avatarStefan Roese <sr@denx.de>
  6. 21 Aug, 2009 1 commit
  7. 08 Aug, 2009 2 commits
  8. 07 Aug, 2009 1 commit
  9. 17 Jul, 2009 1 commit
    • Scott Wood's avatar
      Remove legacy NAND and disk on chip code. · be33b046
      Scott Wood authored
      Legacy NAND had been scheduled for removal.  Any boards that use this
      were already not building in the previous release due to an #error.
      The disk on chip code in common/cmd_doc.c relies on legacy NAND,
      and it has also been removed.  There is newer disk on chip code
      in drivers/mtd/nand; someone with access to hardware and sufficient
      time and motivation can try to get that working, but for now disk
      on chip is not supported.
      Signed-off-by: default avatarScott Wood <scottwood@freescale.com>
  10. 16 Jul, 2009 4 commits
  11. 08 Jul, 2009 1 commit
  12. 07 Jul, 2009 7 commits
  13. 06 Jul, 2009 1 commit
    • Thomas Lange's avatar
      ARM DaVinci: EMIF settings · d583ef51
      Thomas Lange authored
      NAND module should not modify EMIF registers unrelated to CS2
      that is used for NAND, i.e. do not modify EWAIT config register
      or registers for other Chip Selects.
      Without this patch, EMIF configurations made in board_init()
      will be invalidated.
      Signed-off-by: default avatarThomas Lange <thomas@corelatus.se>
  14. 12 Jun, 2009 3 commits
    • Stefan Roese's avatar
      nand/mpc512x: Add MPC512x NAND support (NFC) · 35f2edbb
      Stefan Roese authored
      This patch adds NAND Flash Controller driver for MPC5121 revision 2.
      All device features, except hardware ECC and power management, are
      This NFC driver replaces the one orignally posted by John Rigby:
      "[PATCH] Freescale NFC NAND driver"
      It's a port of the Linux driver version posted by Piotr Ziecik a few
      weeks ago. Using this driver has the following advantages (from my
      point of view):
      - Compatibility with the Linux NAND driver (e.g. ECC usage)
      - Better code quality in general
      - Resulting U-Boot image is a bit smaller (approx. 3k)
      - Better to sync with newer Linux driver versions
      The only disadvantage I can see, is that HW-ECC is not supported right
      now. But this could be added later (e.g. port from Linux driver after
      it's supported there). Using HW-ECC on the MCP5121 NFC has a general
      problem because of the ECC usage in the spare area. This collides with
      JFFS2 for example.
      Signed-off-by: default avatarStefan Roese <sr@denx.de>
      Cc: Piotr Ziecik <kosmo@semihalf.com>
      Cc: Wolfgang Denk <wd@denx.de>
      Cc: John Rigby <jcrigby@gmail.com>
      Cc: Scott Wood <scottwood@freescale.com>
    • Stefan Roese's avatar
      mtd: Introduce CONFIG_MTD_DEVICE to select compilation of mtdcore.o · d558107c
      Stefan Roese authored
      This new define enables mtdcore.c compilation and with this we can
      select the MTD device infrastructure needed for the reworked mtdparts
      We now have the 2 MTD infrastructure defines, CONFIG_MTD_DEVICE and
      CONFIG_MTD_PARTITIONS. CONFIG_MTD_DEVICE is needed (as explained above)
      for the "mtdparts" command and CONFIG_MTD_PARTITIONS is needed for UBI.
      Signed-off-by: default avatarStefan Roese <sr@denx.de>
      Cc: Scott Wood <scottwood@freescale.com>
    • Stefan Roese's avatar
      mtd: Update MTD infrastructure to support 64bit device size · 8d2effea
      Stefan Roese authored
      This patch brings the U-Boot MTD infrastructure in sync with the current
      Linux MTD version (2.6.30-rc3). Biggest change is the 64bit device size
      support and a resync of the mtdpart.c file which has seen multiple fixes
      Signed-off-by: default avatarStefan Roese <sr@denx.de>
      Cc: Scott Wood <scottwood@freescale.com>
      Cc: Kyungmin Park <kmpark@infradead.org>
  15. 23 May, 2009 1 commit
  16. 27 Apr, 2009 2 commits
  17. 06 Apr, 2009 1 commit
  18. 30 Mar, 2009 2 commits
  19. 23 Mar, 2009 3 commits