Commit Graph

727 Commits

Author SHA1 Message Date
Marian Balakowicz 6db3970811 Fix JFFS2 support for legacy NAND driver.
Some more NAND cleanup and small fixes.
2006-04-08 19:08:06 +02:00
Wolfgang Denk 0a112d8696 Merge with port of MPC8349EMDS board 2006-03-17 17:41:56 +01:00
Wolfgang Denk 09e4b0c5d3 Add support for Lite5200B board.
Patch by  Patch by Jose Maria (Txema) Lopez, 16 Jan 2006
2006-03-17 11:42:53 +01:00
Rafal Jaworowski dc9e499c62 Support for DDR with 32-data path. Addotional notes on injecting
multiple-bit errors.
2006-03-16 17:46:46 +01:00
Marian Balakowicz d326f4a242 Add command for handling DDR ECC registers on MPC8349EE MDS board. 2006-03-16 15:19:35 +01:00
Marian Balakowicz 991425fe05 Add initial support for MPC8349E MDS board. 2006-03-14 16:24:38 +01:00
Wolfgang Denk ff7fefe679 Apply SoC concept to arm926ejs CPUs, i.e. move the SoC specific timer and
cpu_reset code from cpu/$(CPU) into the new cpu/$(CPU)/$(SOC) directories
Patch by Andreas Engel, 13 Mar 2006
2006-03-13 12:37:35 +01:00
Wolfgang Denk 84c960ce6d Add support for EmbeddedPlanet EP88x boards
Patch by Yuli Barcohen, 13 Jul 2005
2006-03-12 23:17:31 +01:00
Wolfgang Denk 763b5f34c3 Remove board specific configuration includes from the common xilinx
ethernet and iic adapter code.
Patch by Michael Libeskind, 12 Jul 2005
2006-03-12 23:13:27 +01:00
Wolfgang Denk 47705af5da Merge with git://git.kernel.org/pub/scm/boot/u-boot/u-boot.git#mpc8349ads 2006-03-12 21:49:19 +01:00
Wolfgang Denk 8e7b703a62 Coding Style cleanup 2006-03-12 02:55:22 +01:00
Wolfgang Denk 6cb142fa3b Add missing Blackfin files. 2006-03-12 02:12:27 +01:00
Wolfgang Denk 8ff0208d31 Switch MPC86xADS and MPC885ADS boards to use cpuclk environment
variable to set clock
Patch by Yuli Barcohen, 05 Jun 2005
2006-03-12 01:55:43 +01:00
Wolfgang Denk aba9f1af60 Memory configuration changes for ZPC.1900 board
- Fix SDRAM timing on both local bus and 60x bus
- Add support for second flash bank (SIMM)
- Change boot flash base
Patch by Yuli Barcohen, 05 Jun 2005
2006-03-12 01:45:44 +01:00
Wolfgang Denk 5797b821dc Add support for Adder boards with 16MB SDRAM;
add support for second FEC on Adder87x board.
Patch by Yuli Barcohen, 05 Jun 2005
2006-03-12 01:43:03 +01:00
Wolfgang Denk 84ef51a632 Fix cleanup for netstart board.
Remove build results from repository
2006-03-12 00:04:20 +01:00
Wolfgang Denk d2ed2f661b More GCC 4.x woes 2006-03-11 23:07:09 +01:00
Wolfgang Denk 8de7ed3abe More GCC 4.x code cleanup 2006-03-11 22:56:07 +01:00
Wolfgang Denk d52fb7e3d1 Some code cleanup for GCC 4.x 2006-03-11 22:53:33 +01:00
Wolfgang Denk 951a954b77 Merge with /home/wd/git/u-boot/master
Code cleanup.
2006-03-06 23:18:48 +01:00
Markus Klotzbücher 43638c674a Cleanup of NAND support of delta board using the Monahans Data Flash
Controller.
2006-03-06 15:04:25 +01:00
Markus Klotzbücher f9e029184b NAND finally working. Two bugs fixed:
* For READ_STATUS and READID commands always 8 bytes need to be read from
   NDDB. Otherwise they stay there and get send to flash as the first data
   word when writing.

 * In nand_base.c the oob variable is not reset so this->oob_buf is
   overwritten what eventually screws up the bad block descriptor table.
2006-03-06 13:45:42 +01:00
Wolfgang Denk bfc81252c0 Minor code cleanup 2006-03-06 13:03:37 +01:00
Wolfgang Denk 4e3ccd2692 Merge the new NAND code (testing-NAND brach); see doc/README.nand
Rewrite of NAND code based on what is in 2.6.12 Linux kernel
Patch by Ladislav Michl, 29 Jun 2005

[Merge with /home/tur/nand/u-boot]
2006-03-06 11:25:22 +01:00
Bartlomiej Sieka addb2e1650 Re-factoring the legacy NAND code (legacy NAND now only in board-specific
code and in SoC code). Boards using the old way have CFG_NAND_LEGACY and
BOARDLIBS = drivers/nand_legacy/libnand_legacy.a added. Build breakage for
NETTA.ERR and NETTA_ISDN - will go away when the new NAND support is
implemented for these boards.
2006-03-05 18:57:33 +01:00
Markus Klotzbücher bf7cac033b Lots of new stuff:
* Debug message can be turned on and off.
 * Waiting for events now times out.
 * Implemented RESET command.
 * Added appropriate nand_bbt_descriptor and nand_oobinfo.

Remaining Problems:
 * Read Status still behaves weird an returns invalid stuff sometimes.
 * ECC Placement does not respect our scheme in nand_oobinfo.
2006-03-04 18:35:51 +01:00
Stefan Roese f1ee982506 Add lowboot target to mcc200 board
Patch by Stefan Roese, 4 Mar 2006
2006-03-04 14:57:03 +01:00
Markus Klotzbücher f8785e96c9 Erasing works too now. The CS don't care causes problem with READSTATUS,
don't ask me why. There are still bugs in the bad block logic.
2006-03-03 20:13:43 +01:00
Markus Klotzbücher 24e1217be3 Write operation is working. Turned out that the READSTATUS hack was wrong
after all.
2006-03-03 16:09:28 +01:00
Markus Klotzbücher 9187a35b6c Writing is working, but there's still a bug that causes the data written to
start at an offset of 4 bytes from the start of the page.
2006-03-03 15:37:01 +01:00
Markus Klotzbücher 19fdeff433 Implemented writing, not working yet. 2006-03-03 12:11:11 +01:00
Markus Klotzbücher e2053f9c7a Moved the waiting loop for "Read Data Request" RDDREQ into the
delta_cmdfunc function, because this bit is only set once after a command
is sent and this allows read functions to be called multiple times.
2006-03-02 14:02:36 +01:00
Markus Klotzbücher bb1ff049fb Read bug fixed. Now "nand bad" list the badblocks correctly (i hope, since
there are 0)
2006-03-02 12:10:01 +01:00
Markus Klotzbücher 481911c78c Further NAND stuff implemented. Basic read commands seem to work. 2006-03-01 23:33:27 +01:00
Stefan Roese f18e874ad5 Fix problem with flash_get_size() from CFI driver update
Patch by Stefan Roese, 1 Mar 2006
2006-03-01 17:00:49 +01:00
Markus Klotzbücher 00c35bd214 Added GPIO initialization of DF signal. Still not working. 2006-02-28 22:51:01 +01:00
Markus Klotzbücher 6949328d7d First steps implementing NAND support. Not working, fails to read ID. 2006-02-28 18:05:25 +01:00
Stefan Roese 58ad497833 Convert mcc200 to use common CFI flash driver
Patch by Stefan Roese, 28 Feb 2006
2006-02-28 15:33:28 +01:00
Stefan Roese 79b4cda076 Major CFI-FLASH driver update:
* Add env-variable "unlock" to handle initial state of sectors
  (locked/unlocked).

  Only the U-Boot image and it's environment is protected,
  all other sectors are unprotected (unlocked) if flash
  hardware protection is used (CFG_FLASH_PROTECTION) and
  the environment variable "unlock" is set to "yes".

  Patch by Stefan Roese, 28 Feb 2006

* Update drivers/cfi_flash.c:
  - find_sector() called in both versions of flash_write_cfiword()
  Patch by Peter Pearse, 27th Feb 2006

* CFI support for a x8/x16 AMD/Spansion flash configured in x8 mode
  Patch by Jose Maria Lopez, 16 Jan 2006

* Add support for AMD/Spansion Flashes in flash_write_cfibuffer
  Patch by Alex Bastos and Thomas Schaefer, 2005-08-29

* Changes/fixes for drivers/cfi_flash.c:
  We *should* check if there are any error bits if the previous call
  returned ERR_OK (Otherwise we will have output an error message in
  flash_status_check() already.)  The original code would only check for
  error bits if flash_status_check() returns ERR_TIMEOUT.
  Patch by Marcus Hall, 23 Aug 2005

* Changes/fixes for drivers/cfi_flash.c:
  - Add CFG_FLASH_PROTECT_CLEAR on drivers/cfi_flash.c
  - Prohibit buffer write when buffer_size is 1 on drivers/cfi_flash.c
  Patch by Sangmoon Kim, 19 Aug 2005

* Fixes for drivers/cfi_flash.c:
  - Fix wrong timeout value usage in flash_status_check()
  - Round write_tout up when converting to msec in flash_get_size()
  - Remove clearing flash status at the end of flash_write_cfibuffer()
    which sets Intel 28F640J3 flash back to command mode on CSB472
  Patch by Tolunay Orkun, 02 July 2005
2006-02-28 15:29:58 +01:00
Markus Klotzbücher 0377dca227 Merge /home/tur/nand/u-boot/
This is a first version of the testing-NAND branch merged back to main.
2006-02-24 14:16:31 +01:00
Markus Klotzbücher 7d4d1ce48c Merge branch 'master' of http://www.denx.de/git/u-boot 2006-02-24 11:34:34 +01:00
Bartlomiej Sieka 038ccac511 Merge with /home/wd/git/u-boot/testing-NAND/ to add new NAND handling. 2006-02-24 09:37:22 +01:00
Wolfgang Denk c81eb1f5f5 Cleanup MCC200 board. 2006-02-24 01:42:40 +01:00
Markus Klotzbücher 599f52253a SDRAM now working. 2006-02-22 17:48:43 +01:00
Markus Klotzbücher ff3c2a9478 SDRAM now working for delta board, but there are still aliasing problems,
we only see 64MB.
2006-02-22 14:05:44 +01:00
Wolfgang Denk 86ea5f93d7 Initial port to MCC200 board (work in progress)
Minimally modified patch by Bluetechnix, Vienna
2006-02-22 00:43:16 +01:00
Markus Klotzbücher 48b6242aa1 SDRAM seems to be working on delta board, though u-boot doesn't start yet. 2006-02-22 00:06:01 +01:00
Markus Klotzbücher 4f7a0e3671 New board directory and config for the benq delta board (copied from
zylonite). Minor pxa-regs.h update.
2006-02-20 16:37:37 +01:00
Markus Klotzbücher b3c36e6b94 basic u-boot is working, boots into the command shell. 2006-02-09 13:19:25 +01:00
Markus Klotzbücher 9d803d8c0b Changes:
* lots of bugfixes in the assembler code
	* reverted hardware.h back to original
	* enabled hardware DRAM calibration
	* GCC-4 fix: modified GLOBAL_DATA_POINTER macro
2006-02-08 18:56:28 +01:00