Commit Graph

1447 Commits

Author SHA1 Message Date
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
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
Wolfgang Denk
57cac1fa54 Cleanup U-Boot boot messages on ARM.
To match the U-Boot user interface on ARM platforms to the U-Boot
standard (as on PPC platforms), some messages with debug character
are removed from the default U-Boot build.
Enable DEBUG for lib_arm/board.c to enable debug messages.
New CONFIG_DISPLAY_CPUINFO and CONFIG_DISPLAY_BOARDINFO options.

Patch  by Stefan Roese, 24 Jan 2006
2006-01-29 19:12:41 +01:00
Kumar Gala
c99f384dce Decopuled setting of OR/BR and LBLAWBAR/LBLAWAR on MPC83xx
Patch by Kumar Gala, 25 Jan 2006
2006-01-25 16:12:46 -06: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
18c5e64c5b Fix various compiler warnings on ppc4xx builds (ELDK 4.0)
Patch by Stefan Roese, 18 Jan 2006
2006-01-18 20:06:44 +01: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
dffb70f330 Fixed PCI indirect config ops to handle multiple PCI controllers
We need to adjust the bus number we are trying to access based
on which PCI controller its on
Patch by Kumar Gala 12 Jan 2006
2006-01-12 15:30:24 -06:00
Kumar Gala
62ec6418d4 Add helper function for generic flat device tree fixups for mpc83xx
Patch by Kumar Gala 11 Jan 2006
2006-01-11 16:48:10 -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
c2871f0380 Added OF_STDOUT_PATH and OF_SOC
OF_STDOUT_PATH specifies the path to the device the kernel can use
for console output

OF_SOC specifies the proper name of the SOC node if one exists.
Patch by Kumar Gala 11 Jan 2006
2006-01-11 13:59:02 -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
3411d11761 Report back PCI bus when doing table based device config
Patch by Kumar Gala 11 Jan 2006
2006-01-11 13:27:19 -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
ec00c33578 Only disable the MPC83xx watchdog if its enabled out of reset.
If its disabled out of reset SW can later enable it if so desired
Patch by Kumar Gala, 11 Jan 2006
2006-01-11 11:23:01 -06:00
Kumar Gala
a15b44dbfa Allow config of GPIO direction & data registers at boot on 83xx
Patch by Kumar Gala, 11 Jan 2006
2006-01-11 11:21:14 -06:00
Kumar Gala
ce574ff506 Enable time handling on 83xx
Patch by Kumar Gala, 11 Jan 2006
2006-01-11 11:19:12 -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