Commit Graph

838 Commits

Author SHA1 Message Date
Wolfgang Denk 6cb142fa3b Add missing Blackfin files. 2006-03-12 02:12:27 +01:00
Wolfgang Denk 0afe519a43 Add ADI Blackfin support
- add support for Analog Devices Blackfin BF533 CPU
- add support for the ADI BF533 Stamp uClinux board
- add support for the ADI BF533 EZKit board
Patches by Richard Klingler, June 11th 2005:
2006-03-12 02:10:00 +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 f47b661141 RPXlite configuration fixes
- Use correct flash sector size
- Use correct memory test end address
- Add support for bzip2 compression
- Various small fixes
Patch by Yuli Barcohen, 05 Jun 2005
2006-03-12 01:48:55 +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 2281490485 Word alignment fixes for word aligned NS16550 UART
Patch by Jean-Paul Saman, 01 Mar 2005
2006-03-12 01:21:19 +01:00
Wolfgang Denk d52fb7e3d1 Some code cleanup for GCC 4.x 2006-03-11 22:53:33 +01:00
Markus Klotzbücher 8371a2c0d4 Enable simple (non-redundant) NAND environment on delta board. 2006-03-08 00:13:40 +01:00
Wolfgang Denk 0be248fa9a Cleanup (get rid of debug code that sneaked in) 2006-03-07 00:22:36 +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 ac7d97dcbb Turned on SDRAM scrubbing. 2006-03-06 18:47:44 +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
Wolfgang Denk aed9e2269c Merge with /home/sr/git/u-boot/cfi-flash-fix 2006-03-02 12:30:17 +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
Wolfgang Denk 82f2e33a8d Update mcc200 config: Disable PCI and DoC, use 133 MHz IPB clock,
use hush shell.
2006-02-28 18:39:20 +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
Wolfgang Denk f6c0068fc1 Merge with Stefan Roese's branch with CFI driver fixes 2006-02-28 16:42:50 +01:00
Wolfgang Denk 36d2c5387d Merge with /home/wd/git/u-boot/master 2006-02-28 16:39:47 +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
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 6624b687bc Rename SMMACO4 board into smmaco4 for consistency with Linux. 2006-02-22 10:25:39 +01:00
Wolfgang Denk 5f0be01356 Disable CMD_BSP for SMMACO4 board. 2006-02-22 02:39:31 +01:00
Wolfgang Denk 9cdc838613 Merge with /home/hs/PanDacom/u-boot-dev 2006-02-22 01:59:13 +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
Wolfgang Denk 881a87ecba Add GIT version information (commid ID) to untagged U-Boot versions
As done in the linux kernel, the U-Boot version (U_BOOT_VERSION)
of all unreleased (untagged) U-Boot images will be automatically
extended upon compiletime with a part of the GIT commit ID and
possibly with "dirty" if uncommited changes are detected.

Here an example for the resulting version:
"U-Boot 1.1.4-g3457ac18-dirty"

The version is now maintained in the toplevel Makefile and the
version headers are autogenerated.

Patch by Stefan Roese, 9 Feb 2006
2006-02-21 17:33:04 +01:00
Wolfgang Denk 654c2d2836 Merge with /home/sr/git/u-boot 2006-02-21 16:41:43 +01:00
Heiko Schocher 075866d840 [Patch] Add basic support for the SMMACO4 Board from PanDaCom.
Signed-off-by: Heiko Schocher <hs@denx.de>
2006-02-20 17:34:12 +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 8fb1857b40 Merged and added more pxa-regs.h stuff, especially the GPIO Control
Register Definitions.
2006-02-20 15:59:07 +01:00
Markus Klotzbücher 57dc57f14d Merged sufficient changes to pxa-regs.h in order to make u-boot compile.
It doesn't run yet.
2006-02-19 16:03:49 +01:00
Kumar Gala 2688e2f972 Enable address translation on MPC83xx
Patch by Kumar Gala, 10 Feb 2006
2006-02-10 15:40:06 -06:00
Markus Klotzbücher bf5988e533 Reverting pxa-regs.h back to original, because the intel Monahans one
breaks backward compatibility and I don't trust it. Instead, i'll verify
and merge the parts I need while porting.
2006-02-10 17:12:14 +01:00
Markus Klotzbücher 6ece03f267 Config updated for compiling the SMC911111 network driver 2006-02-10 17:08:26 +01:00
Markus Klotzbücher b2b43463af Changed gcc-4.0 global data pointer fix to conform with the fix for this on
other platforms (see c75eba3b41)
2006-02-10 11:25:41 +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
Stefan Roese 79830d591a Convert CPCI750 to use common CFI flash driver
Patch by Reinhard Arlt, 8 Feb 2006
2006-02-08 15:54:15 +01:00
Markus Klotzbücher af646e865f Forgot to add files to zylonite branch. 2006-02-07 20:48:45 +01:00
Markus Klotzbücher e0269579a5 This is the first commit for the u-boot zylonite port. The following has be
done so far:

	* created zylonite board dir (based on lubbock)
	* extended some - but not all pxa sources and headers for Intel
	  Monahans support (CONFIG_CPU_MONAHANS)
	* created Makefile zylonite target + MAKEALL entry
	* added some debug nonsense, remove later, grep for mk@tbd

Status: compiles (eldk-4.0), and can be started with BDI, but runs forever
	and doesn't halt at breakpoints. Hmmm...
2006-02-07 20:04:48 +01:00
Stefan Roese 48a05a5188 Various changes to esd HH405 board specific files
Patch by Matthias Fuchs, 07 Feb 2006
2006-02-07 16:51:04 +01:00
Wolfgang Denk 84e106c09d Update default environment for INKA4x00 board. 2006-02-07 15:18:25 +01:00
Kumar Gala b970480948 Fixed defines for MPC83xx SICRL register to match current specs
Patch by Kumar Gala, 23 Jan 2006
2006-01-23 16:22:57 -06:00
Stefan Roese a7b9fb9110 Add VGA support (CT69000) to CPCI750 board.
Insert missing __le32_to_cpu() for filesize in ext2fs_read_file().

Patch by Reinhard Arlt, 30 Dec 2005
2006-01-18 20:05:34 +01:00
Stefan Roese 2076d0a15f PMC405 and CPCI405: Moved configuration of pci resources into config file.
PMC405 and CPCI2DP: Added firmware download and booting via pci.

Patch by Matthias Fuchs, 20 Dec 2005
2006-01-18 20:03:15 +01:00
Wolfgang Denk c4b465f63e Fix 28F256J3A support on PM520 board
(without bank-switching only 32 MB can be accessed)
2006-01-13 17:00:56 +01:00
Kumar Gala 86902b8e36 Added PCI support for MPC8349ADS board
Patch by Kumar Gala 11 Jan 2006
2006-01-12 19:51:38 -06:00
Kumar Gala e559a6901a Add support for passing initrd information via flat device tree
Patch by Kumar Gala 11 Jan 2006
2006-01-11 16:41:35 -06:00
Kumar Gala 4e2531378f Allow board code to fixup the flat device tree before booting a
kernel
Patch by Kumar Gala 11 Jan 2006
2006-01-11 13:54:17 -06:00
Kumar Gala e4f880eddd Added CONFIG_ options for bd_t and env in flat dev tree
CONFIG_OF_HAS_BD_T will put a copy of the bd_t
      into the resulting flat device tree.

      CONFIG_OF_HAS_UBOOT_ENV will copy the environment
      variables from u-boot into the flat device tree

Patch by Kumar Gala 11 Jan 2006
2006-01-11 13:49:31 -06:00
Kumar Gala a179012e37 Added support for PCI prefetchable region and BARs
If a host controller sets up a region as prefetchable and
a device's BAR denotes it as prefetchable, allocate the
BAR into the prefetch region.

If a BAR is prefetchable and no prefetchable region has
been setup by the controller we fall back to allocating
the BAR into the normally memory region.
Patch by Kumar Gala 11 Jan 2006
2006-01-11 13:24:15 -06:00
Kumar Gala 9260a56151 Make System IO Config Registers board configurable on MPC83xx
Patch by Kumar Gala, 11 Jan 2006
2006-01-11 11:12:57 -06:00
Wolfgang Denk c7428d49ac Add support for 28F256J3A flah (=> 64 MB) on PM520 board 2005-12-29 15:12:09 +01:00
Wolfgang Denk 97c8d0bbbd Add support for 28F256J3A flash chips 2005-12-22 01:50:50 +01:00
Marian Balakowicz 3a7b142b62 Change port configuration for O2DNT (CODEC1 on PSC1) 2005-12-06 20:33:07 +01:00
Wolfgang Denk a889bd27ef Fix DPRAM offset/size for MPC8541/8555.
Simplify TQM85xx Makefile handling.
2005-12-06 15:02:31 +01:00
Wolfgang Denk f013dacf0a Code cleanup, especially MIPS for GCC 4.x 2005-12-04 00:40:34 +01:00
Wolfgang Denk 4a86d779ff Merge with /home/sr/git/u-boot 2005-12-01 01:38:13 +01:00
Wolfgang Denk b6f8435664 Adjust TQM834x PHY addresses for latest hardware revision. 2005-12-01 01:17:24 +01:00
Wolfgang Denk d00de23b15 Increase malloc arena on TQM5200 board to 256 kB.
With 64 kb uniform flash sector size the old value of 128 kB was
too small.
2005-12-01 00:55:19 +01:00
Marian Balakowicz d9785c14bf Fix miiphy global data initialization (problem on 4xx boards when no
ethaddr is assigned). Initialization moved from miiphy_register() to
eth_initialize().

Based on initial patch for 4xx platform by Matthias Fuchs.
2005-11-30 18:06:04 +01:00
Stefan Roese d96f41e016 Add support for TQM8541/8555 boards, TQM85xx support reworked:
- Support for TQM8541/8555 boards added.
- Complete rework of TQM8540/8560 support.
- Common TQM85xx code now supports all current TQM85xx platforms
  (TQM8540/8541/8555/8560).
- DDR SDRAM size detection added.
- CAS latency default values can be overwritten by setting "serial#"
  to e.g. "ABC0001 casl=25" -> CAS latency 2.5 will be used.
  If problems are detected with this non default CAS latency,
  the defualt values will be used instead.
- FLASH size detection added.
- Moved FCC ethernet driver initialization behind TSEC driver init
  -> TSEC is first device.

Patch by Stefan Roese, 30 Nov 2005
2005-11-30 13:06:40 +01:00
Stefan Roese 6e7fb6eaa5 Add support for AMCC 440SP, add support for AMCC Luan 440SP eval board.
Patch by John Otken, 23 Nov 2005
2005-11-29 18:18:21 +01:00
Marian Balakowicz 0a69b26ed6 Increase IPB and PCI clocks for O2DNT board. 2005-11-27 20:15:41 +01:00
Stefan Roese 3d9569b232 Changed PPC44x startup message (cpu info, speed...) to common style:
On PPC44x platforms, the startup message generated in "cpu.c" only
comprised the ppc type and revision but not additional informations
like speed etc. Those speed infos where printed in the board specific
code. This new implementation now prints all CPU infos in the common
cpu specific code. No board specific code is needed anymore and
therefore removed from all current 44x implementations.

Patch by Stefan Roese, 27 Nov 2005
2005-11-27 19:36:26 +01:00
Wolfgang Denk f08abe311b Remove unnnecessary #include <linux/types.h> from include/asm-*/u-boot.h 2005-11-25 16:38:03 +01:00
Stefan Roese 5568e613ee Add support for Prodrive P3P440 board:
- Added onboard PPC440 DDR autodetection in cpu/ppc/sdram.c
- CFG_FLASH_QUIET_TEST added to use the common CFI driver
  for bank autodetection
Patch by Stefan Roese, 22 Nov 2005
2005-11-22 13:20:42 +01:00
Wolfgang Denk fe126d8b34 Change all '$(...)' variable references into '${...}'
which makes the environment compatible with the hush shell.
WARNING: Support for the old '$(...)' syntax will be
discontinued in a later version.
2005-11-20 21:40:11 +01:00
Stefan Roese c7911c7e8f Merge with /server/home/stefan/git/u-boot/bamboo-sdram 2005-11-15 16:23:41 +01:00
Stefan Roese fd49bf0214 Fix Bamboo DDR SDRAM initialization (problem with onboard SDRAM)
Patch by Stefan Roese, 15 Nov 2005
2005-11-15 16:04:58 +01:00
Stefan Roese feaedfcf84 New PPC 405EP board added: CMS700
Added CONFIG_NET_MULTI for VOM405 board.
Added reset_phy() for VOM405 board.
Patch by Matthias Fuchs, 09 Nov 2005
2005-11-15 10:35:59 +01:00
Stefan Roese ea339205a9 Updated PCI mapping for esd CPCI2DP board.
Add support for error LED.
Patch by Matthias Fuchs, 07 Nov 2005
2005-11-08 09:00:09 +01:00
Stefan Roese 182e10691f Correct PPC Timebase register definitions (SPRN_TBRL...)
Patch by Stefan Roese, 07 Nov 2005
2005-11-07 09:57:57 +01:00
Wolfgang Denk 4d03a21f23 Adjust TQM85x PHY addresses for latest hardware revision. 2005-11-03 11:31:36 +01:00
Wolfgang Denk 8e9655f863 * Add hook to NAND erase and implement nand_wait function.
Patch by Mike Rapoport, 01 Nov 2005

  Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
2005-11-02 14:29:12 +01:00
Stefan Roese 57275b69c6 Add support for Ocotea pass 3 with 440GX Rev. F
Patch by Stefan Roese, 01 Nov 2005
2005-11-01 10:08:03 +01:00
Wolfgang Denk 5d4ee51061 Merge with /home/m8/git/u-boot 2005-10-29 23:45:04 +02:00
Marian Balakowicz 63ff004c4f Add support for multiple PHYs. 2005-10-28 22:30:33 +02:00
Wolfgang Denk 7b5cac0e19 Merge with /home/wd/git/u-boot/master 2005-10-21 22:41:25 +02:00
Stefan Roese 1e25f957c8 Add NetConsole Support for AMCC eval boards
Patch by Stefan Roese, 20 Oct 2005
2005-10-20 16:34:28 +02:00
Rafal Jaworowski 6902df56a0 Add PCI support for the TQM834x board. 2005-10-17 02:39:53 +02:00
Wolfgang Denk ea1fba136a Merge with /home/sr/git/u-boot 2005-10-17 00:19:16 +02:00
Wolfgang Denk 84bd92bdda Merge with /home/m8/git/u-boot 2005-10-15 18:23:43 +02:00
Stefan Roese 3b6748ea0d Add fat & ext2 support to AMCC 440EP boards Yosemite & Bamboo
Patch by Stefan Roese, 14 Oct 2005
2005-10-14 15:37:34 +02:00
Wolfgang Denk 77ddac9480 Cleanup for GCC-4.x 2005-10-13 16:45:02 +02:00
Wolfgang Denk 814d98f24e Add missing files for Pantelis Antoniou's patch
Patch by Pantelis Antoniou, 04 Sep 2005
2005-10-13 01:59:29 +02:00
Wolfgang Denk cbdf8824fa Merge with /home/sr/git/u-boot 2005-10-13 01:55:58 +02:00