oweals/u-boot.git
18 years agoClean up the code according to codestyle:
roy zang [Fri, 1 Dec 2006 03:47:36 +0000 (11:47 +0800)]
Clean up the code according to codestyle:
(1) remove some C++ comments.
(2) remove trailing white space.
(3) remove trailing empty line.
(4) Indentation by table.
(5) remove {} in one line condition.
(6) add space before '(' in function call.
Remove some weird printf () output.
Add necessary comments.
Modified Makefile to support building in a separate directory.

18 years agoSolve the copyright conflicts when merging 'master' into hpc2.
roy zang [Wed, 29 Nov 2006 01:45:03 +0000 (09:45 +0800)]
Solve the copyright conflicts when merging 'master' into hpc2.
Merge branch 'master' into hpc2

Conflicts:

drivers/cfi_flash.c

18 years agoMerge with /home/sr/git/u-boot/denx-alpr-merge-test
Wolfgang Denk [Mon, 27 Nov 2006 22:11:18 +0000 (23:11 +0100)]
Merge ... /home/sr/git/u-boot/denx-alpr-merge-test

18 years agoUpdate CHANGELOG
Wolfgang Denk [Mon, 27 Nov 2006 21:53:53 +0000 (22:53 +0100)]
Update CHANGELOG

18 years agoMerge with /home/sr/git/u-boot/4xx-enet
Wolfgang Denk [Mon, 27 Nov 2006 21:50:25 +0000 (22:50 +0100)]
Merge with /home/sr/git/u-boot/4xx-enet

18 years agoMerge with /home/sr/git/u-boot/nand-env
Wolfgang Denk [Mon, 27 Nov 2006 21:49:46 +0000 (22:49 +0100)]
Merge with /home/sr/git/u-boot/nand-env

18 years agoMerge with /home/sr/git/u-boot/nand-timeout
Wolfgang Denk [Mon, 27 Nov 2006 21:49:11 +0000 (22:49 +0100)]
Merge with /home/sr/git/u-boot/nand-timeout

18 years agoMerge with /home/sr/git/u-boot/denx-of
Wolfgang Denk [Mon, 27 Nov 2006 21:46:10 +0000 (22:46 +0100)]
Merge with /home/sr/git/u-boot/denx-of

18 years ago[PATCH] 4xx_enet.c: Correct the setting of zmiifer register
Stefan Roese [Mon, 27 Nov 2006 16:43:25 +0000 (17:43 +0100)]
[PATCH] 4xx_enet.c: Correct the setting of zmiifer register

Patch below corrects the setting of the zmiifer register, it was
overwritting the register rather than ORing the settings.

Signed-off-by: Neil Wilson <NWilson@airspan.com>
Signed-off-by: Stefan Roese <sr@denx.de>
18 years ago[PATCH] Select NAND embedded environment from board configuration
Stefan Roese [Mon, 27 Nov 2006 16:34:10 +0000 (17:34 +0100)]
[PATCH] Select NAND embedded environment from board configuration

The current NAND Bootloader setup forces the environment
variables to be in line with the bootloader. This change
enables the configuration to be made in the board include
file instead so that it can be individually enabled.

Signed-off-by: Nick Spence <nick.spence@freescale.com>
Signed-off-by: Stefan Roese <sr@denx.de>
18 years ago[PATCH] nand_wait() timeout fixes
Stefan Roese [Mon, 27 Nov 2006 16:22:19 +0000 (17:22 +0100)]
[PATCH] nand_wait() timeout fixes

Two fixes for the nand_wait() function in
drivers/nand/nand_base.c:

1. Use correct timeouts. The original timeouts in Linux
source are 400ms and 20ms not 40s and 20s

2. Return correct error value in case of timeout. 0 is
interpreted as OK.

Signed-off-by: Rui Sousa <rui.sousa@laposte.net>
Signed-off-by: Stefan Roese <sr@denx.de>
18 years ago[PATCH] Allow CONFIG_OF_FLAT_TREE to boot a non-arch/powerpc kernel
Stefan Roese [Mon, 27 Nov 2006 16:04:06 +0000 (17:04 +0100)]
[PATCH] Allow CONFIG_OF_FLAT_TREE to boot a non-arch/powerpc kernel

This patch allows an arch/ppc kernel to be booted by just passing 1 or 2
arguments to bootm.  It removes the getenv("disable_of") test that used
to be used for this purpose.

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Acked-by: Jon Loeliger <jdl@freescale.com>
18 years agoMinor code cleanup. Update CHANGELOG.
Wolfgang Denk [Mon, 27 Nov 2006 14:32:42 +0000 (15:32 +0100)]
Minor code cleanup. Update CHANGELOG.

18 years ago[PATCH] 4xx: Fix problem with board specific reset code (now for real)
Stefan Roese [Mon, 27 Nov 2006 13:52:04 +0000 (14:52 +0100)]
[PATCH] 4xx: Fix problem with board specific reset code (now for real)

Signed-off-by: Stefan Roese <sr@denx.de>
18 years ago[PATCH] alpr: remove unused board specific flash driver
Stefan Roese [Mon, 27 Nov 2006 13:49:51 +0000 (14:49 +0100)]
[PATCH] alpr: remove unused board specific flash driver

Signed-off-by: Stefan Roese <sr@denx.de>
18 years ago[PATCH] 4xx: Fix problem with board specific reset code
Stefan Roese [Mon, 27 Nov 2006 13:48:41 +0000 (14:48 +0100)]
[PATCH] 4xx: Fix problem with board specific reset code

Signed-off-by: Stefan Roese <sr@denx.de>
18 years ago[PATCH] Remove testing 4xx enet PHY setup
Stefan Roese [Mon, 27 Nov 2006 13:46:06 +0000 (14:46 +0100)]
[PATCH] Remove testing 4xx enet PHY setup

Signed-off-by: Stefan Roese <sr@denx.de>
18 years ago[PATCH] Update Prodrive ALPR board support (440GX)
Stefan Roese [Mon, 27 Nov 2006 13:12:17 +0000 (14:12 +0100)]
[PATCH] Update Prodrive ALPR board support (440GX)

Signed-off-by: Stefan Roese <sr@denx.de>
18 years agoMerge with /home/stefan/git/u-boot/denx
Stefan Roese [Mon, 27 Nov 2006 13:11:22 +0000 (14:11 +0100)]
Merge with /home/stefan/git/u-boot/denx

18 years agoMerge with /home/sr/git/u-boot/denx
Wolfgang Denk [Mon, 27 Nov 2006 12:55:31 +0000 (13:55 +0100)]
Merge with /home/sr/git/u-boot/denx

18 years agoUpdates for TQM5200 modules:
Wolfgang Denk [Thu, 23 Nov 2006 21:58:58 +0000 (22:58 +0100)]
Updates for TQM5200 modules:
- fix off-by-one error in board/tqm5200/cam5200_flash.c error message
- simplify "udate" definitions

18 years ago[PATCH] PPC4xx start.S: Fix for processor errata
Stefan Roese [Wed, 22 Nov 2006 12:20:50 +0000 (13:20 +0100)]
[PATCH] PPC4xx start.S: Fix for processor errata

Fixed cpu/ppc4xx/start.S for 440EPx Errata: further corrects PPC440EPx
errata 1.12: 440_33 by moving patch up in code.

Signed-off-by: Jeff Mann <mannj@embeddedplanet.com>
Signed-off-by: Stefan Roese <sr@denx.de>
18 years ago[PATCH] Update AMCC Sequoia config file to support 64MByte NOR FLASH
Stefan Roese [Mon, 20 Nov 2006 19:39:52 +0000 (20:39 +0100)]
[PATCH] Update AMCC Sequoia config file to support 64MByte NOR FLASH

Signed-off-by: Stefan Roese <sr@denx.de>
18 years agoUpdate CHANGELOG
Wolfgang Denk [Mon, 20 Nov 2006 09:28:30 +0000 (10:28 +0100)]
Update CHANGELOG

18 years agoMerge with /home/sr/git/u-boot/cfi-update
Wolfgang Denk [Mon, 20 Nov 2006 09:27:39 +0000 (10:27 +0100)]
Merge with /home/sr/git/u-boot/cfi-update

18 years ago[PATCH] CFI driver AMD Command Set Top boot geometry reversal, etc. [Updated]
Stefan Roese [Mon, 13 Nov 2006 12:55:24 +0000 (13:55 +0100)]
[PATCH] CFI driver AMD Command Set Top boot geometry reversal, etc. [Updated]

   * Adds support for AMD command set Top Boot flash geometry reversal
   * Adds support for reading JEDEC Manufacturer ID and Device ID
   * Adds support for displaying command set, manufacturer id and
     device ids (flinfo)
   * Makes flinfo output to be consistent when CFG_FLASH_EMPTY_INFO defined
   * Removes outdated change history (refer to git log instead)

Signed-off-by: Tolunay Orkun <listmember@orkun.us>
Signed-off-by: Stefan Roese <sr@denx.de>
18 years agoUpdate CHANGELOG
Wolfgang Denk [Sun, 12 Nov 2006 20:13:23 +0000 (21:13 +0100)]
Update CHANGELOG

18 years agoMerge with /home/tur/proj/v38b/u-boot
Wolfgang Denk [Sun, 12 Nov 2006 20:12:52 +0000 (21:12 +0100)]
Merge with /home/tur/proj/v38b/u-boot

18 years agoDisable the watchdog in the default config for the V38B board.
Bartlomiej Sieka [Sat, 11 Nov 2006 21:48:22 +0000 (22:48 +0100)]
Disable the watchdog in the default config for the V38B board.

18 years agoChange the GPIO pin multiplexing configuration for V38B. The USB GPIO pin
Bartlomiej Sieka [Sat, 11 Nov 2006 21:43:00 +0000 (22:43 +0100)]
Change the GPIO pin multiplexing configuration for V38B. The USB GPIO pin
group is enabled for USB earlier (in cpu_init_f() instead of
usb_lowlevel_init()).

18 years agoMerge with /home/stefan/git/u-boot/denx
Stefan Roese [Fri, 10 Nov 2006 06:48:47 +0000 (07:48 +0100)]
Merge with /home/stefan/git/u-boot/denx

18 years agoSequential accesses to non-existent memory must be synchronized,
Wolfgang Denk [Mon, 6 Nov 2006 16:06:36 +0000 (17:06 +0100)]
Sequential accesses to non-existent memory must be synchronized,
at least on G2 cores.

This fixes get_ram_size() problems on MPC5200 Rev. B boards.

18 years agoMerge branch 'master' into hpc2
roy zang [Fri, 3 Nov 2006 05:15:31 +0000 (13:15 +0800)]
Merge branch 'master' into hpc2

18 years agoRemove some unused CFG define.
roy zang [Fri, 3 Nov 2006 05:10:00 +0000 (13:10 +0800)]
Remove some unused CFG define.
undef CFG_DRAM_TEST

18 years agoChange the TEXT_BASE from 0xFFF00000 to 0xFF000000.
roy zang [Fri, 3 Nov 2006 05:07:36 +0000 (13:07 +0800)]
Change the TEXT_BASE from 0xFFF00000 to 0xFF000000.
Both work. 0xFF000000 seems more reasonable.

18 years agoMerge with /home/tur/proj/uboot_linux_v38b/u-boot
Wolfgang Denk [Thu, 2 Nov 2006 20:26:38 +0000 (21:26 +0100)]
Merge with /home/tur/proj/uboot_linux_v38b/u-boot

18 years agoRelease U-Boot 1.1.6 U-Boot-1_1_6
Wolfgang Denk [Thu, 2 Nov 2006 14:15:01 +0000 (15:15 +0100)]
Release U-Boot 1.1.6

18 years agoThis patch comes from Yuli's posted patch on 8/8/2006
roy zang [Thu, 2 Nov 2006 11:14:48 +0000 (19:14 +0800)]
This patch comes from Yuli's posted patch on 8/8/2006
titled "CFI Driver Little-Endian write Issue".

http://sourceforge.net/mailarchive/message.php?msg_id=36311999

If that patch applied, please discard this one.
Until now , I do not see his patch is applied. So please apply this one.

Signed-off-by: Yuli Barcohen <yuli@arabellasw.com>
Signed-off-by: Roy Zang <tie-fei.zang@freescale.com>
18 years agoTsi108 on chip i2c support.
roy zang [Thu, 2 Nov 2006 11:12:31 +0000 (19:12 +0800)]
Tsi108 on chip i2c support.

The i2c  Interface provides a master-only, serial interface that can be
used for initializing Tsi108/Tsi109 registers from an EEPROM after a
device reset.

Signed-off-by: Alexandre Bounine <alexandreb@tundra.com>
Signed-off-by: Roy Zang <tie-fei.zang@freescale.com>
18 years agoTsi108 on chip pci controller support.
roy zang [Thu, 2 Nov 2006 11:11:06 +0000 (19:11 +0800)]
Tsi108 on chip pci controller support.

If there is no pci card, the tsi108/109 pci configure read will
cause a machine check exception to the processor. PCI error should
also be cleared after the read.

Signed-off-by: Alexandre Bounine <alexandreb@tundra.com>
Signed-off-by: Roy Zang <tie-fei.zang@freescale.com>
18 years agoTundra tsi108 on chip Ethernet controller support.
roy zang [Thu, 2 Nov 2006 11:08:55 +0000 (19:08 +0800)]
Tundra tsi108 on chip Ethernet controller support.

The following is a brief description of the Ethernet controller:
The Tsi108/9 Ethernet Controller connects Switch Fabric to two independent
Gigabit Ethernet ports,E0 and E1.  It uses a single Management interface
to manage the two physical connection devices (PHYs).  Each Ethernet port
has its own statistics monitor that tracks and reports key interface
statistics.  Each port supports a 256-entry hash table for address
filtering.  In addition, each port is bridged to the Switch Fabric
through a 2-Kbyte transmit FIFO and a 4-Kbyte Receive FIFO.

Each Ethernet port also has a pair of internal Ethernet DMA channels to
support the transmit and receive data flows.  The Ethernet DMA channels
use descriptors set up in memory, the memory map of the device, and
access via the Switch Fabric.  The Ethernet Controller?s DMA arbiter
handles arbitration for the Switch Fabric.  The Controller also
has a register businterface for register accesses and status monitor
control.

The PMD (Physical Media Device) interface operates in MII, GMII, or TBI
modes.  The MII mode is used for connecting with 10 or 100 Mbit/s PMDs.
The GMII and TBI modes are used to connect with Gigabit PMDs.  Internal
data flows to and from the Ethernet Controller through the Switch Fabric.

Each Ethernet port uses its transmit and receive DMA channels to manage
data flows through buffer descriptors that are predefined by the
system (the descriptors can exist anywhere in the system memory map).
These descriptors are data structures that point to buffers filled
with data ready to transmit over Ethernet, or they point to empty
buffers ready to receive data from Ethernet.

Signed-off-by: Alexandre Bounine <alexandreb@tundra.com>
Signed-off-by: Roy Zang <tie-fei.zang@freescale.com>
18 years agoTundra tsi108 header file.
roy zang [Thu, 2 Nov 2006 11:01:33 +0000 (19:01 +0800)]
Tundra tsi108 header file.

The Tundra Semiconductor Corporation (Tundra) Tsi108 is a host bridge for
PowerPC processors that offers numerous system interconnect options for
embedded application designers. The Tsi108 can interconnect 60x or
MPX processors to PCI/X peripherals, DDR2-400 memory, Gigabit Ethernet,
and Flash. Provided the macro define for tsi108 chip.

Signed-off-by: Alexandre Bounine <alexandreb@tundra.com>
Signed-off-by: Roy Zang <tie-fei.zang@freescale.com>
18 years agoAdd mpc7448hpc2 (mpc7448 + tsi108) board associated code support.
roy zang [Thu, 2 Nov 2006 10:59:15 +0000 (18:59 +0800)]
Add  mpc7448hpc2  (mpc7448 + tsi108)  board associated code support.
mpc7448hpc2 board support high level code:tsi108 init + mpc7448hpc2.

Signed-off-by: Alexandre Bounine <alexandreb@tundra.com>
Signed-off-by: Roy Zang <tie-fei.zang@freescale.com>
18 years agoAdd mpc7448hpc2 (mpc7448 + tsi108) board associated code support.
roy zang [Thu, 2 Nov 2006 10:57:21 +0000 (18:57 +0800)]
Add  mpc7448hpc2  (mpc7448 + tsi108)  board associated code support.
Make ,config.mk and link file for the mpc7448hpc2 board.

Signed-off-by: Alexandre Bounine <alexandreb@tundra.com>
Signed-off-by: Roy Zang <tie-fei.zang@freescale.com>
18 years agoAdd mpc7448hpc2 (mpc7448 + tsi108) board associated code support.
roy zang [Thu, 2 Nov 2006 10:55:04 +0000 (18:55 +0800)]
Add  mpc7448hpc2  (mpc7448 + tsi108)  board associated code support.
The mpc7448hpc2 board support header file.

Signed-off-by: Alexandre Bounine <alexandreb@tundra.com>
Signed-off-by: Roy Zang <tie-fei.zang@freescale.com>
18 years agoAdd mpc7448hpc2 (mpc7448 + tsi108) board associated code support.
roy zang [Thu, 2 Nov 2006 10:52:21 +0000 (18:52 +0800)]
Add  mpc7448hpc2  (mpc7448 + tsi108)  board associated code support.
The mpc7448hpc2 board support low level assemble language init code.

Signed-off-by: Alexandre Bounine <alexandreb@tundra.com>
Signed-off-by: Roy Zang <tie-fei.zang@freescale.com>
18 years agoGeneral code modification for mpc7448hpc2 board support.
roy zang [Thu, 2 Nov 2006 10:49:51 +0000 (18:49 +0800)]
General code modification for mpc7448hpc2 board support.
1. Add 7447A and 7448 processor support.
2. Add the following flags.

CFG_CONFIG_BUS_CLK : If the 74xx bus frequency can be configured dynamically
(such as by switch on board), this flag should be set.

CFG_EXCEPTION_AFTER_RELOCATE: If an exception occurs after the u-boot
relocates to RAM, this flag should be set.

CFG_SERIAL_HANG_IN_EXCEPTION: If the print out function will cause the
system hang in exception, this flag should be set.

There is a design issue for tsi108/109 pci configure  read. When pci scan
the slots, if there is no pci card, the tsi108/9 will cause a machine
check exception for mpc7448 processor.

Signed-off-by: Alexandre Bounine <alexandreb@tundra.com>
Signed-off-by: Roy Zang <tie-fei.zang@freescale.com>
18 years agoAdd README file for mpc7448hpc2 board.
roy zang [Thu, 2 Nov 2006 10:34:47 +0000 (18:34 +0800)]
Add README file for mpc7448hpc2 board.
Signed-off-by: Roy Zang <tie-fei.zang@freescale.com>
18 years agoFinish up support for MarelV38B board
Bartlomiej Sieka [Wed, 1 Nov 2006 01:04:38 +0000 (02:04 +0100)]
Finish up support for MarelV38B board
 - add watchdog support
 - enable GPIO_WKUP_7 pin for input
 - code cleanup

18 years ago- Fix issues related to the use of ELDK 4 when compiling for MarelV38B:
Bartlomiej Sieka [Wed, 1 Nov 2006 00:45:46 +0000 (01:45 +0100)]
- Fix issues related to the use of ELDK 4 when compiling for MarelV38B:
      * remove warnings when compiling ethaddr.c
      * adjust linker script (fixes a crash resulting from incorrect
      definition of __u_boot_cmd_start)
- Some MarelV38B code cleanup.

18 years ago- Add MPC5XXX register definition MPC5XXX_WU_GPIO_DATA_I and change the
Bartlomiej Sieka [Wed, 1 Nov 2006 00:38:16 +0000 (01:38 +0100)]
- Add MPC5XXX register definition MPC5XXX_WU_GPIO_DATA_I and change the
  MPC5XXX_WU_GPIO_DATA macro to MPC5XXX_WU_GPIO_DATA_O (per MPC5200 User's
  Manual). Replace the uses of MPC5XXX_WU_GPIO_DATA with
  MPC5XXX_WU_GPIO_DATA_O for affected boards.

- Add defintions for some MPC5XXX GPIO pins.

18 years agoChanged MarelV38B board make target to lowercase. Config file cleanup.
Bartlomiej Sieka [Wed, 1 Nov 2006 00:34:29 +0000 (01:34 +0100)]
Changed MarelV38B board make target to lowercase. Config file cleanup.

18 years agoMerge with /home/sr/git/u-boot/nand-ladis
Wolfgang Denk [Sat, 28 Oct 2006 23:12:53 +0000 (01:12 +0200)]
Merge with /home/sr/git/u-boot/nand-ladis

18 years agoAutomatically adjust ARFLAGS so "make -s" is really silent.
Wolfgang Denk [Sat, 28 Oct 2006 23:03:51 +0000 (01:03 +0200)]
Automatically adjust ARFLAGS so "make -s" is really silent.

18 years ago[PATCH] omap925.c: Remove unused functions
Stefan Roese [Sat, 28 Oct 2006 14:45:00 +0000 (16:45 +0200)]
[PATCH] omap925.c: Remove unused functions

Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
Signed-off-by: Stefan Roese <sr@denx.de>
18 years ago[PATCH] Add some missing machtypes for netstar & voiceblue boards
Stefan Roese [Sat, 28 Oct 2006 15:12:58 +0000 (17:12 +0200)]
[PATCH] Add some missing machtypes for netstar & voiceblue boards

Use MACH_TYPE_NETSTAR and MACH_TYPE_VOICEBLUE defines instead of
numbers in code.

Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
Signed-off-by: Stefan Roese <sr@denx.de>
18 years ago[PATCH] NAND: Partition name support added to NAND subsystem
Stefan Roese [Sat, 28 Oct 2006 13:55:52 +0000 (15:55 +0200)]
[PATCH] NAND: Partition name support added to NAND subsystem

chpart, nboot and NAND subsystem related commands now accept also partition
name to specify offset.

Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
Signed-off-by: Stefan Roese <sr@denx.de>
18 years agoUpdate CHANGELOG.
Wolfgang Denk [Sat, 28 Oct 2006 00:29:44 +0000 (02:29 +0200)]
Update CHANGELOG.

18 years agoEnable commandline editing and hush shell on all TQM boards.
Wolfgang Denk [Sat, 28 Oct 2006 00:29:14 +0000 (02:29 +0200)]
Enable commandline editing and hush shell on all TQM boards.

18 years agoREADME says CFG_AUTO_COMPLETE, but ocde uses CONFIG_AUTO_COMPLETE
Wolfgang Denk [Sat, 28 Oct 2006 00:28:02 +0000 (02:28 +0200)]
README says CFG_AUTO_COMPLETE, but ocde uses CONFIG_AUTO_COMPLETE

18 years agoCheck for illegal character '=' in environment variable names.
Wolfgang Denk [Fri, 27 Oct 2006 23:14:32 +0000 (01:14 +0200)]
Check for illegal character '=' in environment variable names.

Make sure the string passed as variable name does not contain a '='
character. This not only prevents the common error or typing
"setenv foo=bar" instead of "setenv foo bar", but (more importantly)
also closes a backdoor which allowed to delete write-protected
environment variables, for example by using "setenv ethaddr=".

18 years agoMinor code cleanup.
Wolfgang Denk [Fri, 27 Oct 2006 22:38:39 +0000 (00:38 +0200)]
Minor code cleanup.

18 years agoDon't pass any debug options directly to the assembler
Haavard Skinnemoen [Thu, 26 Oct 2006 15:55:31 +0000 (17:55 +0200)]
Don't pass any debug options directly to the assembler

When passing the -g option to gcc, gcc automatically selects a
suitable --g<format> option to pass on to the assembler.
Thus, there's no point in forcing a specific debug option on the
assembler using the -Wa mechanism.

Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
18 years agoMPC86xx: Cleaned up unused and conditionally used local variables.
Jon Loeliger [Fri, 27 Oct 2006 12:47:22 +0000 (07:47 -0500)]
MPC86xx: Cleaned up unused and conditionally used local variables.

Signed-off-by: Jon Loeliger <jdl@freescale.com>
18 years agoFix "ar" flags in some Makefiles to allow for silent "make -s"
Wolfgang Denk [Fri, 27 Oct 2006 09:55:21 +0000 (11:55 +0200)]
Fix "ar" flags in some Makefiles to allow for silent "make -s"

18 years agoFix TSEC driver (now for real): avoid crashes if PHY is not attached
Ben Warren [Thu, 26 Oct 2006 18:38:25 +0000 (14:38 -0400)]
Fix TSEC driver (now for real): avoid crashes if PHY is not attached
to a TSEC (e.g. a switch is connected via RMII) or
if the PHY is defective/incorrectly configured.

Signed-off-by: Ben Warren <bwarren@qstreams.com>
18 years agoFix TSEC driver: avoid crashes if PHY is not attached
Ben Warren [Thu, 26 Oct 2006 18:38:25 +0000 (14:38 -0400)]
Fix TSEC driver: avoid crashes if PHY is not attached
to a TSEC (e.g. a switch is connected via RMII) or
if the PHY is defective/incorrectly configured.

Signed-off-by: Ben Warren <bwarren@qstreams.com>
18 years agoCode cleanup.
Wolfgang Denk [Thu, 26 Oct 2006 14:24:31 +0000 (16:24 +0200)]
Code cleanup.

18 years agoMerge with git://git.kernel.org/pub/scm/boot/u-boot/galak/u-boot.git#device_tree
Wolfgang Denk [Thu, 26 Oct 2006 14:18:49 +0000 (16:18 +0200)]
Merge ... git://git./boot/u-boot/galak/u-boot.git#device_tree

18 years agoFinish up support for the ATSTK1000/ATSTK1002 boards
Haavard Skinnemoen [Wed, 25 Oct 2006 13:48:59 +0000 (15:48 +0200)]
Finish up support for the ATSTK1000/ATSTK1002 boards

Add atstk1002_config target to Makefile and move the AVR32 section
down below Blackfin so that it doesn't end up in the middle of
MIPS.

Drop the autogenerated linker script thing for now. Will have to
revisit how to handle chips with different flash and RAM layout
later.

Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
18 years agoAdded support for Multi-Image files that contain a device tree
Kumar Gala [Wed, 25 Oct 2006 04:47:37 +0000 (23:47 -0500)]
Added support for Multi-Image files that contain a device tree

If a Multi-Image file contains a third image we try to use it as a
device tree.  The device tree image is assumed to be uncompressed in the
image file.  We automatically allocate space for the device tree in memory
and provide an 8k pad to allow more than a reasonable amount of growth.

Additionally, a device tree that was contained in flash will now automatically
get copied to system memory as part of boot.  Previously an error was
reported if one tried to boot a device tree that was in flash.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
18 years agoFix Makefile for "CHANGELOG" target
Wolfgang Denk [Tue, 24 Oct 2006 22:43:17 +0000 (00:43 +0200)]
Fix Makefile for "CHANGELOG" target
Merge with /home/sr/git/u-boot/4xx-idcr

18 years agoSwitch to automatically generated CHANGELOG file.
Wolfgang Denk [Tue, 24 Oct 2006 19:35:55 +0000 (21:35 +0200)]
Switch to automatically generated CHANGELOG file.
(use "make CHANGELOG" to update it from time to time)

18 years agoFix bug in PPC440 NAND driver cpu/ppc4xx/ndfc.c
Stefan Roese [Tue, 24 Oct 2006 16:06:48 +0000 (18:06 +0200)]
Fix bug in PPC440 NAND driver cpu/ppc4xx/ndfc.c
Patch by Stefan Roese, 24 Oct 2006

18 years agoMerge with /home/wd/git/u-boot/master
Wolfgang Denk [Tue, 24 Oct 2006 15:24:55 +0000 (17:24 +0200)]
Merge with /home/wd/git/u-boot/master

18 years agoMerge with /home/wd/git/u-boot/master
Wolfgang Denk [Tue, 24 Oct 2006 15:08:31 +0000 (17:08 +0200)]
Merge with /home/wd/git/u-boot/master
(Conflicts between Jon Loeliger's and Matthew McClintock's tree
 were resolved by in favour of Jon's version.)

18 years agoCode cleanup
Wolfgang Denk [Tue, 24 Oct 2006 13:32:57 +0000 (15:32 +0200)]
Code cleanup

18 years agoMerge with http://www.jdl.com/software/u-boot-86xx.git
Wolfgang Denk [Tue, 24 Oct 2006 13:18:23 +0000 (15:18 +0200)]
Merge ... www.jdl.com/software/u-boot-86xx.git

18 years agoMerge with /home/wd/git/u-boot/master
Wolfgang Denk [Tue, 24 Oct 2006 13:17:59 +0000 (15:17 +0200)]
Merge with /home/wd/git/u-boot/master

18 years agoMerge with /home/wd/git/u-boot/mailing-list/Haavard_Skinnemoen
Wolfgang Denk [Tue, 24 Oct 2006 13:17:18 +0000 (15:17 +0200)]
Merge ... /home/wd/git/u-boot/mailing-list/Haavard_Skinnemoen

18 years agoMove atstk1000 files into vendor specific directory.
Wolfgang Denk [Tue, 24 Oct 2006 12:51:36 +0000 (14:51 +0200)]
Move atstk1000 files into vendor specific directory.
Patch by Haavard Skinnemoen, 12 Sep 2006

18 years agoAdd ATSTK1000 and ATSTK1002 board support
Wolfgang Denk [Tue, 24 Oct 2006 12:42:37 +0000 (14:42 +0200)]
Add ATSTK1000 and ATSTK1002 board support
Patch by Haavard Skinnemoen, 06 Sep 2006

This patch adds support for the ATSTK1000 with the ATSTK1002 CPU
daughterboard.

ATSTK1000 is a full-featured development board for AT32AP CPUs. It
has two ethernet ports, a high quality QVGA LCD panel, a loudspeaker,
and connectors for USART, PS/2, VGA, USB, MMC/SD cards and
CompactFlash cards. For more information, please see this page:

http://www.atmel.com/dyn/products/tools.asp?family_id=682

The ATSTK1002 is a daughterboard for the ATSTK1000 supporting the
AT32AP7000 chip.

Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
18 years agoAdd common serial driver for Atmel AT32 and AT91 chips
Wolfgang Denk [Tue, 24 Oct 2006 12:31:24 +0000 (14:31 +0200)]
Add common serial driver for Atmel AT32 and AT91 chips
Patch by Haavard Skinnemoen, 06 Sep 2006

This is a first attempt at creating a common serial driver for Atmel
chips. For now, it supports the AT32AP7000 AVR32 chip, but it should
be possible to support AT91RM9200 and other ARM-based chips with some
minor modifications.

There's nothing fundamentally AVR32-specific in this driver, but it
does use some features which are currently only defined for the
AT32AP CPU port:
  * pm_get_clock_freq: Obtain the clock frequency of a given domain
  * gd->console_uart: A "struct device" containing information about
    register mappings, gpio resources and clocks associated with the
    UART device.

For more information about these features, please see the "AT32AP
CPU" patch.

18 years agoAdd AT32AP CPU and AT32AP7000 SoC support
Wolfgang Denk [Tue, 24 Oct 2006 12:27:35 +0000 (14:27 +0200)]
Add AT32AP CPU and AT32AP7000 SoC support
Patch by Haavard Skinnemoen, 06 Sep 2006

This patch adds support for the AT32AP CPU family and the AT32AP7000
chip, which is the first chip implementing the AVR32 architecture.

The AT32AP CPU core is a high-performance implementation featuring a
7-stage pipeline, separate instruction- and data caches, and a MMU.
For more information, please see the "AVR32 AP Technical Reference":

http://www.atmel.com/dyn/resources/prod_documents/doc32001.pdf

In addition to this, the AT32AP7000 chip comes with a large set of
integrated peripherals, many of which are shared with the AT91 series
of ARM-based microcontrollers from Atmel. Full data sheet is
available here:

http://www.atmel.com/dyn/resources/prod_documents/doc32003.pdf

Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
18 years agoAdd AVR32 architecture support
Wolfgang Denk [Tue, 24 Oct 2006 12:21:16 +0000 (14:21 +0200)]
Add AVR32 architecture support
Patch by Haavard Skinnemoen, 6 Sep 2006 16:23:02 +0200

This patch adds common infrastructure code for the Atmel AVR32
architecture. See doc/README.AVR32 for details.

Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
18 years agoUse -g instead of -gstabs in AFLAGS_DEBUG
Wolfgang Denk [Tue, 24 Oct 2006 11:57:33 +0000 (13:57 +0200)]
Use -g instead of -gstabs in AFLAGS_DEBUG
Patch by Haavard Skinnemoen, 30 Aug 2006

In config.mk, -Wa,-gstabs is unconditionally appended to AFLAGS no
matter what the target's preferred debugging format is. This patch
simply replaces -gstabs with -g, so that the default debugging format
for the architecture is used.

18 years agoFix/workaround broken dependency handling with make 3.81
Wolfgang Denk [Tue, 24 Oct 2006 11:55:18 +0000 (13:55 +0200)]
Fix/workaround broken dependency handling with make 3.81
Based on patch by Haavard Skinnemoen, 29 Aug 2006 11:20:39 +0200

18 years agoFix sequoia separate object direcory building problems.
Marian Balakowicz [Mon, 23 Oct 2006 20:17:05 +0000 (22:17 +0200)]
Fix sequoia separate object direcory building problems.

18 years agoMerge branch 'i2c'
Jon Loeliger [Fri, 20 Oct 2006 22:16:50 +0000 (17:16 -0500)]
Merge branch 'i2c'

18 years agoUse generic I2C register block on 85xx and 86xx.
Jon Loeliger [Fri, 20 Oct 2006 22:16:35 +0000 (17:16 -0500)]
Use generic I2C register block on 85xx and 86xx.

Replace private IMMAP I2C structures with generic reg block
and allow 86xx to have multiple I2C device busses.

Signed-off-by: Jon Loeliger <jdl@freescale.com>
18 years agoMerge with http://www.jdl.com/software/u-boot-86xx.git
Wolfgang Denk [Fri, 20 Oct 2006 21:52:58 +0000 (23:52 +0200)]
Merge ... www.jdl.com/software/u-boot-86xx.git

18 years agoMerge with /home/wd/git/u-boot/master
Wolfgang Denk [Fri, 20 Oct 2006 21:04:42 +0000 (23:04 +0200)]
Merge with /home/wd/git/u-boot/master

18 years agoMerge branch 'i2c'
Jon Loeliger [Fri, 20 Oct 2006 20:54:48 +0000 (15:54 -0500)]
Merge branch 'i2c'

18 years agoFix compilation warnings on a few 85xx boards.
Jon Loeliger [Fri, 20 Oct 2006 20:54:34 +0000 (15:54 -0500)]
Fix compilation warnings on a few 85xx boards.

Signed-off-by: Jon Loeliger <jdl@freescale.com>
18 years agoConverted all 85xx boards to use a common FSL I2C driver.
Jon Loeliger [Fri, 20 Oct 2006 20:50:15 +0000 (15:50 -0500)]
Converted all 85xx boards to use a common FSL I2C driver.
Introduced COFIG_FSL_I2C to select the common FSL I2C driver.
And removed hard i2c path from a few u-boot.lds scipts too.
Minor whitespace cleanups along the way.

Signed-off-by: Jon Loeliger <jdl@freescale.com>
18 years agoCleanup compile warnings. Prepare for release 1.1.5 U-Boot-1_1_5
Wolfgang Denk [Fri, 20 Oct 2006 15:54:33 +0000 (17:54 +0200)]
Cleanup compile warnings. Prepare for release 1.1.5

18 years agoFix compile problem in include/configs/ep82xxm.h
Wolfgang Denk [Fri, 20 Oct 2006 14:12:14 +0000 (16:12 +0200)]
Fix compile problem in include/configs/ep82xxm.h
(must have never been tested before!)

18 years agoMCC200: Fix uninitialized variable problem in LCD driver
Wolfgang Denk [Fri, 20 Oct 2006 13:51:21 +0000 (15:51 +0200)]
MCC200: Fix uninitialized variable problem in LCD driver

18 years agoUpdate CHANGELOG
Stefan Roese [Fri, 20 Oct 2006 13:18:51 +0000 (15:18 +0200)]
Update CHANGELOG

18 years agoAdd board/cpu specific NAND chip select function to 440 NDFC
Stefan Roese [Fri, 20 Oct 2006 12:28:52 +0000 (14:28 +0200)]
Add board/cpu specific NAND chip select function to 440 NDFC
Based on idea and implementation from Jeff Mann
Patch by Stefan Roese, 20 Oct 2006