oweals/u-boot.git
16 years agoFSL: Move board/mpc7448hpc2 under board/freescale
Jon Loeliger [Thu, 6 Mar 2008 00:05:47 +0000 (18:05 -0600)]
FSL: Move board/mpc7448hpc2 under board/freescale

Signed-off-by: Jon Loeliger <jdl@freescale.com>
16 years agoFSL: Move board/mpc8260ads under board/freescale
Jon Loeliger [Thu, 6 Mar 2008 00:05:45 +0000 (18:05 -0600)]
FSL: Move board/mpc8260ads under board/freescale

Signed-off-by: Jon Loeliger <jdl@freescale.com>
16 years agonet: Add support AX88796L ethernet device
goda.yusuke [Wed, 5 Mar 2008 08:08:33 +0000 (17:08 +0900)]
net: Add support AX88796L ethernet device

AX88796L is device of NE2000 compatible.
This patch support AX88796L ethernet device.

Signed-off-by: Yusuke Goda <goda.yusuke@renesas.com>
Acked-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16 years agone2000 driver: change #ifdef to Makefile conditional compilation
Wolfgang Denk [Tue, 25 Mar 2008 21:50:41 +0000 (22:50 +0100)]
ne2000 driver: change #ifdef to Makefile conditional compilation

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agonet: Divided code of NE2000 ethernet driver
goda.yusuke [Wed, 5 Mar 2008 08:08:20 +0000 (17:08 +0900)]
net: Divided code of NE2000 ethernet driver

There are more devices of the NE2000 base.
A present code is difficult for us to support more devices.
To support more NE2000 clone devices, separated the function.

Signed-off-by: Yusuke Goda <goda.yusuke@renesas.com>
Acked-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16 years agonet/Blackfin: move on-chip MAC driver into drivers/net/
Mike Frysinger [Mon, 25 Feb 2008 04:58:13 +0000 (23:58 -0500)]
net/Blackfin: move on-chip MAC driver into drivers/net/

The Blackfin on-chip MAC driver was being managed in the BF537-STAMP board
directory, but it is not board specific, so relocate it to the drivers dir
so that other Blackfin ports can utilize it.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
16 years agosmc91111: use SSYNC() rather than asm(ssync) for Blackfin
Mike Frysinger [Mon, 25 Feb 2008 04:52:35 +0000 (23:52 -0500)]
smc91111: use SSYNC() rather than asm(ssync) for Blackfin

Since the "ssync" instruction may have hardware anomalies associated with
it, have the smc91111 driver use the SSYNC macro rather than invoking it
directly.  We workaround all the anomalies via this macro.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
16 years ago8xx: Update OF support on 8xx
Bryan O'Donoghue [Sun, 17 Feb 2008 22:57:47 +0000 (22:57 +0000)]
8xx: Update OF support on 8xx

This patch does some shifting around of OF support on 8xx.

Signed-off-by: Bryan O'Donoghue <bodonoghue@codehermit.ie>
16 years agoppc: Allow boards to specify how much memory they can map
Kumar Gala [Fri, 15 Feb 2008 21:16:18 +0000 (15:16 -0600)]
ppc: Allow boards to specify how much memory they can map

For historical reasons we limited the stack to 256M because some boards
could only map that much via BATS.  However newer boards are capable of
mapping more memory (for example 85xx is capble of doing up to 2G).

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
16 years ago8xx : Add OF support to Adder875 board port - resubmit
Bryan O'Donoghue [Fri, 15 Feb 2008 01:05:58 +0000 (01:05 +0000)]
8xx : Add OF support to Adder875 board port - resubmit

Signed-off-by: Bryan O'Donoghue <bodonoghue@codehermit.ie>
16 years agoAdd setexpr command
Kumar Gala [Fri, 15 Feb 2008 02:44:42 +0000 (20:44 -0600)]
Add setexpr command

Add a simple expr style command that will set an env variable as the result
of the command.  This allows us to do simple math in shell.  The following
operations are supported: &, |, ^, +, -, *, /.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
16 years agolwmon5 SYSMON POST: fix backlight control
Yuri Tikhonov [Mon, 24 Mar 2008 10:30:54 +0000 (11:30 +0100)]
lwmon5 SYSMON POST: fix backlight control

If the LWMON5 config has SYSMON POST among CONFIG_POSTs which may be
run on the board, then the SYSMON POST controls the display backlight
(doesn't switch backlight ON if POST FAILED, and does switch the
backlight ON if PASSED).

If not, then the video driver controls the display backlight (just
switch ON the backlight upon initialization).

Signed-off-by: Yuri Tikhonov <yur@emcraft.com>
16 years agolwmon5 SYSMON POST: fix handling of negative temperatures
Yuri Tikhonov [Mon, 24 Mar 2008 10:29:14 +0000 (11:29 +0100)]
lwmon5 SYSMON POST: fix handling of negative temperatures

Fix errors in the LWMON5 Sysmon POST for negative temperatures.

Signed-off-by: Yuri Tikhonov <yur@emcraft.com>
16 years agoMerge branch 'master' of /home/wd/git/u-boot/master/
Wolfgang Denk [Mon, 24 Mar 2008 23:12:54 +0000 (00:12 +0100)]
Merge branch 'master' of /home/wd/git/u-boot/master/

16 years agopci: Add CONFIG_PCI_SKIP_HOST_BRIDGE config option
Nobuhiro Iwamatsu [Fri, 7 Mar 2008 07:04:25 +0000 (16:04 +0900)]
pci: Add CONFIG_PCI_SKIP_HOST_BRIDGE config option

In current source code, when the device number of PCI is 0, process PCI
bridge without fail. However, when the device number is 0, it is not PCI
always bridge. There are times when device of PCI allocates.

When CONFIG_PCI_SKIP_HOST_BRIDGE is enable, this problem is solved when
use this patch.

Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Acked-by: Stefan Roese <sr@denx.de>
16 years agoMerge branch 'master' of git://www.denx.de/git/u-boot-tq-group
Wolfgang Denk [Sat, 22 Mar 2008 23:57:40 +0000 (00:57 +0100)]
Merge branch 'master' of git://denx.de/git/u-boot-tq-group

16 years agoMerge branch 'master' of git://www.denx.de/git/u-boot-cfi-flash
Wolfgang Denk [Sat, 22 Mar 2008 23:53:43 +0000 (00:53 +0100)]
Merge branch 'master' of git://denx.de/git/u-boot-cfi-flash

16 years agoMerge branch 'master' of git://www.denx.de/git/u-boot-fdt
Wolfgang Denk [Sat, 22 Mar 2008 23:52:58 +0000 (00:52 +0100)]
Merge branch 'master' of git://denx.de/git/u-boot-fdt

16 years agoMerge branch 'master' of /home/wd/git/u-boot/work
Wolfgang Denk [Sat, 22 Mar 2008 22:27:43 +0000 (23:27 +0100)]
Merge branch 'master' of /home/wd/git/u-boot/work

16 years agoLWMON5: fix dsPIC POST
Yuri Tikhonov [Fri, 21 Mar 2008 08:18:40 +0000 (09:18 +0100)]
LWMON5: fix dsPIC POST

Add test for DPIC_SYS_ERROR_REG to be zero in the LWMON5 dsPIC POST.

Signed-off-by: Yuri Tikhonov <yur@emcraft.com> ---
16 years agoMerge git://www.denx.de/git/u-boot into uboot
Gerald Van Baren [Fri, 21 Mar 2008 15:58:22 +0000 (11:58 -0400)]
Merge git://www.denx.de/git/u-boot into uboot

16 years agolwmon5 POST: remove unreachable code
Wolfgang Denk [Thu, 20 Mar 2008 21:01:38 +0000 (22:01 +0100)]
lwmon5 POST: remove unreachable code

plus some coding style cleanup

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agoLWMON5: POST RTC fix
Yuri Tikhonov [Thu, 20 Mar 2008 14:56:04 +0000 (17:56 +0300)]
LWMON5: POST RTC fix

Modify the RTC API to provide one a status for the time reported by
the rtc_get() function:
  0 - a reliable time is guaranteed,
< 0 - a reliable time isn't guaranteed (power fault, clock issues,
      and so on).

The RTC chip drivers are responsible for providing this info if the
corresponding chip supports such functionality. If not - always
report that the time is reliable.

The POST RTC test was modified to detect the RTC faults utilizing
this new rtc_get() feature.

Signed-off-by: Yuri Tikhonov <yur@emcraft.com>
16 years agoTQM5200B: update MTD partition layout
Martin Krause [Wed, 19 Mar 2008 13:25:14 +0000 (14:25 +0100)]
TQM5200B: update MTD partition layout

- insert partition for dtb blob to TQM5200B MTD layout
- set env variables dependent on the configured board
  (TQM5200 or TQM5200B)

Signed-off-by: Martin Krause <martin.krause@tqs.de>
16 years agoCFI: Small cleanup for FLASH_SHOW_PROGRESS
Stefan Roese [Wed, 19 Mar 2008 06:09:26 +0000 (07:09 +0100)]
CFI: Small cleanup for FLASH_SHOW_PROGRESS

With this patch we don't need that many #ifdef's in the code. It moves
the subtraction into the macro and defines a NOP-macro when
CONFIG_FLASH_SHOW_PROGRESS is not defined.

Signed-off-by: Stefan Roese <sr@denx.de>
Acked-by: Gerald Van Baren <vanbaren@cideas.com>
16 years agoFlash programming progress countdown.
Jerry Van Baren [Sat, 8 Mar 2008 18:48:01 +0000 (13:48 -0500)]
Flash programming progress countdown.

Signed-off-by: Gerald Van Baren <vanbaren@cideas.com>
16 years agolibfdt: Remove no longer used code from fdt_node_offset_by_compatible()
David Gibson [Mon, 18 Feb 2008 07:09:04 +0000 (18:09 +1100)]
libfdt: Remove no longer used code from fdt_node_offset_by_compatible()

Since fdt_node_offset_by_compatible() was converted to the new
fdt_next_node() iterator, a chunk of initialization code became
redundant, but was not removed by oversight.  This patch cleans it up.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
16 years agolibfdt: Trivial cleanup for CHECK_HEADER)
David Gibson [Mon, 18 Feb 2008 07:06:31 +0000 (18:06 +1100)]
libfdt: Trivial cleanup for CHECK_HEADER)

Currently the CHECK_HEADER() macro is defined local to fdt_ro.c.
However, there are a handful of functions (fdt_move, rw_check_header,
fdt_open_into) from other files which could also use it (currently
they open-code something more-or-less identical).  Therefore, this
patch moves CHECK_HEADER() to libfdt_internal.h and uses it in those
places.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
16 years agoFix fdt boardsetup command parsing
Kumar Gala [Wed, 20 Feb 2008 20:32:36 +0000 (14:32 -0600)]
Fix fdt boardsetup command parsing

The introduciton of the 'fdt bootcpu' broke parsing for 'fdt boardsetup'.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
16 years agoAdd sub-commands to fdt
Kumar Gala [Fri, 15 Feb 2008 09:34:36 +0000 (03:34 -0600)]
Add sub-commands to fdt

fdt header                          - Display header info
fdt bootcpu <id>                    - Set boot cpuid
fdt memory <addr> <size>            - Add/Update memory node
fdt rsvmem print                    - Show current mem reserves
fdt rsvmem add <addr> <size>        - Add a mem reserve
fdt rsvmem delete <index>           - Delete a mem reserves

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
16 years agolibfdt: Fix NOP handling bug in fdt_add_subnode_namelen()
David Gibson [Thu, 14 Feb 2008 05:50:34 +0000 (16:50 +1100)]
libfdt: Fix NOP handling bug in fdt_add_subnode_namelen()

fdt_add_subnode_namelen() has a bug if asked to add a subnode to a
node which has NOP tags interspersed with its properties.  In this
case fdt_add_subnode_namelen() will put the new subnode before the
first NOP tag, even if there are properties after it, which will
result in an invalid blob.

This patch fixes the bug, and adds a testcase for it.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
16 years agolibfdt: Add and use a node iteration helper function.
David Gibson [Tue, 12 Feb 2008 00:58:31 +0000 (11:58 +1100)]
libfdt: Add and use a node iteration helper function.

This patch adds an fdt_next_node() function which can be used to
iterate through nodes of the tree while keeping track of depth.  This
function is used to simplify the iteration code in a lot of other
functions, and is also exported for use by library users.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
16 years agolibfdt: Add fdt_set_name() function
David Gibson [Fri, 11 Jan 2008 03:55:05 +0000 (14:55 +1100)]
libfdt: Add fdt_set_name() function

This patch adds an fdt_set_name() function to libfdt, mirroring
fdt_get_name().  This is a r/w function which alters the name of a
given device tree node.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
16 years agolwmon5: Fix register test logic to match the specific GDC h/w.
Yuri Tikhonov [Tue, 18 Mar 2008 12:33:30 +0000 (13:33 +0100)]
lwmon5: Fix register test logic to match the specific GDC h/w.

Signed-off-by: Dmitry Rakhchev <rda@emcraft.com>
Signed-off-by: Yuri Tikhonov <yur@emcraft.com>
16 years agoFix backlight in the lwmon5 POST.
Yuri Tikhonov [Tue, 18 Mar 2008 12:27:57 +0000 (13:27 +0100)]
Fix backlight in the lwmon5 POST.

Backlight was switched on even when temperature was too low.

Signed-off-by: Dmitry Rakhchev <rda@emcraft.com>
Signed-off-by: Yuri Tikhonov <yur@emcraft.com>
16 years agoThe patch introduces the alternative configuration of the log buffer for the lwmon5...
Yuri Tikhonov [Wed, 6 Feb 2008 17:48:36 +0000 (18:48 +0100)]
The patch introduces the alternative configuration of the log buffer for the lwmon5 board: the storage for the log-buffer itself is OCM(on-chip memory), the log-buffer header is moved to six GPT registers (PPC440EPX_GPT0_COMP1, ..., PPC440EPX_GPT0_COMP5).

 To enable this, alternative, configuration the U-Boot board configuration
file for lwmon5 includes the definitions of alternative addresses for header
(CONFIG_ALT_LH_ADDR) and buffer (CONFIG_ALT_LB_ADDR).

 The Linux shall be configured with the CONFIG_ALT_LB_LOCATION option set,
and has the BOARD_ALT_LH_ADDR and BOARD_ALT_LB_ADDR constants defined in the
lwmon5 board-specific header (arch/ppc/platforms/4xx/lwmon5.h).

Signed-off-by: Yuri Tikhonov <yur@emcraft.com>
16 years agoAdd support for the lwmon5 board reset via GPIO58.
Yuri Tikhonov [Mon, 4 Feb 2008 16:11:53 +0000 (17:11 +0100)]
Add support for the lwmon5 board reset via GPIO58.

Signed-off-by: Dmitry Rakhchev <rda@emcraft.com>
Signed-off-by: Yuri Tikhonov <yur@emcraft.com>
16 years agoSome fixes to dspic, fpga, and gdc post tests for lwmon5. Disable external watch...
Yuri Tikhonov [Mon, 4 Feb 2008 16:09:55 +0000 (17:09 +0100)]
Some fixes to dspic, fpga, and gdc post tests for lwmon5. Disable external watch-dog for now.

Signed-off-by: Dmitry Rakhchev <rda@emcraft.com>
Signed-off-by: Yuri Tikhonov <yur@emcraft.com>
16 years agoThe patch introduces the CRITICAL feature of POST tests. If the test marked as POST_C...
Yuri Tikhonov [Mon, 4 Feb 2008 13:11:03 +0000 (14:11 +0100)]
The patch introduces the CRITICAL feature of POST tests. If the test marked as POST_CRITICAL fails then the alternative, post_critical, boot-command is used. If this command is not defined then U-Boot enters into interactive mode.

Signed-off-by: Dmitry Rakhchev <rda@emcraft.com>
Signed-off-by: Yuri Tikhonov <yur@emcraft.com>
16 years agoThe patch adds new POST tests for the Lwmon5 board. These are:
Yuri Tikhonov [Mon, 4 Feb 2008 13:10:42 +0000 (14:10 +0100)]
The patch adds new POST tests for the Lwmon5 board. These are:

* External Watchdog test;
* dsPIC tests;
* FPGA test;
* GDC test;
* Sysmon tests.

Signed-off-by: Dmitry Rakhchev <rda@emcraft.com>
Signed-off-by: Yuri Tikhonov <yur@emcraft.com>
16 years agoEnable CODEC POST with CFG_POST_CODEC rather than with CFG_POST_DSP.
Yuri Tikhonov [Mon, 4 Feb 2008 13:10:01 +0000 (14:10 +0100)]
Enable CODEC POST with CFG_POST_CODEC rather than with CFG_POST_DSP.

Signed-off-by: Dmitry Rakhchev <rda@emcraft.com>
16 years agoMerge branch 'master' of git://www.denx.de/git/u-boot-blackfin
Wolfgang Denk [Tue, 18 Mar 2008 21:15:58 +0000 (22:15 +0100)]
Merge branch 'master' of git://denx.de/git/u-boot-blackfin

16 years agoHMI1001: fix compile problem.
Wolfgang Denk [Tue, 18 Mar 2008 16:35:51 +0000 (17:35 +0100)]
HMI1001: fix compile problem.

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agoBlackfin: BF537-stamp: drop board-specific flash driver for CFI
Mike Frysinger [Mon, 18 Feb 2008 10:32:30 +0000 (05:32 -0500)]
Blackfin: BF537-stamp: drop board-specific flash driver for CFI

The parallel flash on the BF537-STAMP is CFI compliant, so there is no need
for the board specific driver at all.  Just use the common CFI driver.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
16 years agoBlackfin: add proper ELF markings to some assembly functions
Mike Frysinger [Tue, 19 Feb 2008 05:36:14 +0000 (00:36 -0500)]
Blackfin: add proper ELF markings to some assembly functions

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
16 years agoBlackfin: new cplbinfo command for viewing cplb tables
Mike Frysinger [Tue, 19 Feb 2008 05:35:17 +0000 (00:35 -0500)]
Blackfin: new cplbinfo command for viewing cplb tables

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
16 years agoBlackfin: update MAINTAINERS list
Mike Frysinger [Mon, 18 Feb 2008 10:37:51 +0000 (05:37 -0500)]
Blackfin: update MAINTAINERS list

Add maintainer information for the Blackfin boards.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
16 years agoBlackfin: convert BFIN_CPU to CONFIG_BFIN_CPU
Mike Frysinger [Mon, 18 Feb 2008 10:26:48 +0000 (05:26 -0500)]
Blackfin: convert BFIN_CPU to CONFIG_BFIN_CPU

Stop tying things to the processor that should be tied to other defines and
change BFIN_CPU to CONFIG_BFIN_CPU so that it can be used in the build
system to select the -mcpu option.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
16 years agoBlackfin: move bootldr command to common code
Mike Frysinger [Sat, 16 Feb 2008 12:40:36 +0000 (07:40 -0500)]
Blackfin: move bootldr command to common code

This moves the Blackfin-common bootldr command out of the BF537-STAMP
specific board directory and into the common directory so that all Blackfin
boards may utilize it.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
16 years agoMerge branch 'master' of git+ssh://10.10.0.7/home/wd/git/u-boot/master
Wolfgang Denk [Sun, 16 Mar 2008 00:50:18 +0000 (01:50 +0100)]
Merge branch 'master' of git+ssh://10.10.0.7/home/wd/git/u-boot/master

Conflicts:

drivers/rtc/Makefile

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agomgcoge: update configuration
Heiko Schocher [Fri, 14 Mar 2008 10:05:20 +0000 (11:05 +0100)]
mgcoge: update configuration

Fix configuration for mgcoge board

Signed-off-by: Heiko Schocher <hs@denx.de>
16 years agodrivers/rtc/Makefile: keep list sorted
Wolfgang Denk [Sun, 16 Mar 2008 00:22:59 +0000 (01:22 +0100)]
drivers/rtc/Makefile: keep list sorted

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agoAdd support for Intersil isl1208 RTC
Tor Krill [Sat, 15 Mar 2008 14:40:26 +0000 (15:40 +0100)]
Add support for Intersil isl1208 RTC

Signed-off-by: Tor Krill <tor@excito.com>
16 years agocramfs: Fix ifdef
Jean-Christophe PLAGNIOL-VILLARD [Sat, 15 Mar 2008 16:36:41 +0000 (17:36 +0100)]
cramfs: Fix ifdef

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
16 years agoConding style cleanup
Wolfgang Denk [Sun, 16 Mar 2008 00:12:58 +0000 (01:12 +0100)]
Conding style cleanup

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agoppc4xx: Add USB OHCI support to AMCC Canyonlands 460EX eval board
Stefan Roese [Wed, 5 Mar 2008 11:31:53 +0000 (12:31 +0100)]
ppc4xx: Add USB OHCI support to AMCC Canyonlands 460EX eval board

This patch adds USB OHCI support to the Canyonlands board port. It also
enables EXT2 support.

Signed-off-by: Stefan Roese <sr@denx.de>
16 years agousb: Add CFG_OHCI_USE_NPS to common USB-OHCI driver
Stefan Roese [Wed, 5 Mar 2008 11:29:32 +0000 (12:29 +0100)]
usb: Add CFG_OHCI_USE_NPS to common USB-OHCI driver

This patch adds CFG_OHCI_USE_NPS to the common USB-OHCI driver. This
way a board just needs to define this new option to enable the "force
NoPowerSwitching mode" instead of adding new CPU/architecture defines
to the USB source itself.

This new option will be used first with the new AMCC 460EX Canyonlands
board port, which will be posted in a few days.

This patch also fixes a small compilation problem when DEBUG is enabled.

Signed-off-by: Stefan Roese <sr@denx.de>
16 years agoppc4xx: Add Canyonlands NAND booting support
Stefan Roese [Mon, 3 Mar 2008 16:27:02 +0000 (17:27 +0100)]
ppc4xx: Add Canyonlands NAND booting support

460EX doesn't support a fixed bootstrap option to boot from 512 byte page
NAND devices. The only bootstrap option for NAND booting is option F for
2k page devices. So to boot from a 512 bype page device, the I2C bootstrap
EEPROM needs to be programmed accordingly.

This patch adds basic NAND booting support for the AMCC Canyonlands aval
board and also adds support to the "bootstrap" command, to enable NAND
booting I2C setting.

Tested with 512 byte page NAND device (32MByte) on Canyonlands.

Signed-off-by: Stefan Roese <sr@denx.de>
16 years agoppc4xx: Add AMCC Canyonlands support (460EX) (3/3)
Stefan Roese [Tue, 11 Mar 2008 15:53:00 +0000 (16:53 +0100)]
ppc4xx: Add AMCC Canyonlands support (460EX) (3/3)

This patch adds support for the AMCC Canyonlands 460EX evaluation
board.

Signed-off-by: Stefan Roese <sr@denx.de>
16 years agoppc4xx: Add AMCC Canyonlands support (460EX) (2/3)
Stefan Roese [Tue, 11 Mar 2008 15:52:24 +0000 (16:52 +0100)]
ppc4xx: Add AMCC Canyonlands support (460EX) (2/3)

This patch adds support for the AMCC Canyonlands 460EX evaluation
board.

Signed-off-by: Stefan Roese <sr@denx.de>
16 years agoppc4xx: Add AMCC Canyonlands support (460EX) (1/3)
Stefan Roese [Tue, 11 Mar 2008 15:51:17 +0000 (16:51 +0100)]
ppc4xx: Add AMCC Canyonlands support (460EX) (1/3)

This patch adds support for the AMCC Canyonlands 460EX evaluation
board.

Signed-off-by: Stefan Roese <sr@denx.de>
16 years agoppc4xx: Add basic support for AMCC 460EX/460GT (5/5)
Stefan Roese [Tue, 11 Mar 2008 14:11:43 +0000 (15:11 +0100)]
ppc4xx: Add basic support for AMCC 460EX/460GT (5/5)

This patch adds basic support for the AMCC 460EX/460GT PPC's.

Signed-off-by: Stefan Roese <sr@denx.de>
16 years agoppc4xx: Add basic support for AMCC 460EX/460GT (4/5)
Stefan Roese [Tue, 11 Mar 2008 14:11:18 +0000 (15:11 +0100)]
ppc4xx: Add basic support for AMCC 460EX/460GT (4/5)

This patch adds basic support for the AMCC 460EX/460GT PPC's.

Signed-off-by: Stefan Roese <sr@denx.de>
16 years agoppc4xx: Add basic support for AMCC 460EX/460GT (3/5)
Stefan Roese [Tue, 11 Mar 2008 14:07:10 +0000 (15:07 +0100)]
ppc4xx: Add basic support for AMCC 460EX/460GT (3/5)

This patch adds basic support for the AMCC 460EX/460GT PPC's.

Signed-off-by: Stefan Roese <sr@denx.de>
16 years agoppc4xx: Add basic support for AMCC 460EX/460GT (2/5)
Stefan Roese [Tue, 11 Mar 2008 14:05:50 +0000 (15:05 +0100)]
ppc4xx: Add basic support for AMCC 460EX/460GT (2/5)

This patch adds basic support for the AMCC 460EX/460GT PPC's.

Signed-off-by: Stefan Roese <sr@denx.de>
16 years agoppc4xx: Add basic support for AMCC 460EX/460GT (1/5)
Stefan Roese [Tue, 11 Mar 2008 14:05:26 +0000 (15:05 +0100)]
ppc4xx: Add basic support for AMCC 460EX/460GT (1/5)

This patch adds basic support for the AMCC 460EX/460GT PPC's.

Signed-off-by: Stefan Roese <sr@denx.de>
16 years agoppc4xx: interrupt.c reworked
Stefan Roese [Tue, 19 Feb 2008 21:07:57 +0000 (22:07 +0100)]
ppc4xx: interrupt.c reworked

This patch is a rework of the 4xx interrupt handling done while
adding the 460EX/GT support. Interrupts are needed on 4xx for the
EMAC driver.

Signed-off-by: Stefan Roese <sr@denx.de>
16 years agoppc4xx: program_tlb now uses 64bit physical addess
Stefan Roese [Tue, 19 Feb 2008 21:01:57 +0000 (22:01 +0100)]
ppc4xx: program_tlb now uses 64bit physical addess

This patch changes the physical addess parameter from 32bit to 64bit.
This is needed for 36bit 4xx platforms to access areas located
beyond the 4GB border, like SoC peripherals (EBC etc.).

Signed-off-by: Stefan Roese <sr@denx.de>
16 years agoppc4xx: miiphy.c reworked
Stefan Roese [Tue, 19 Feb 2008 20:58:25 +0000 (21:58 +0100)]
ppc4xx: miiphy.c reworked

While adding the 460EX/GT support I reworked the 4xx miiphy code. It
badly neede some cleanup.

Signed-off-by: Stefan Roese <sr@denx.de>
16 years agortc: Add M41T62 support
Stefan Roese [Tue, 19 Feb 2008 15:21:49 +0000 (16:21 +0100)]
rtc: Add M41T62 support

This patch add support for the STM M41T62 RTC. It is used and tested
on the AMCC Canyonlands 406EX platform.

Signed-off-by: Stefan Roese <sr@denx.de>
16 years agoppc4xx: Add 405GPr based MCU25 board specific files
Niklaus Giger [Mon, 25 Feb 2008 17:46:43 +0000 (18:46 +0100)]
ppc4xx: Add 405GPr based MCU25 board specific files

Signed-off-by: Niklaus Giger <niklaus.giger@netstal.com>
16 years agoppc4xx: Add 405GPr based MCU25 board config file
Niklaus Giger [Mon, 25 Feb 2008 17:46:42 +0000 (18:46 +0100)]
ppc4xx: Add 405GPr based MCU25 board config file

Signed-off-by: Niklaus Giger <niklaus.giger@netstal.com>
16 years agoppc4xx: Add 405GPr based MCU25 board. Global files
Niklaus Giger [Mon, 25 Feb 2008 17:46:41 +0000 (18:46 +0100)]
ppc4xx: Add 405GPr based MCU25 board. Global files

Signed-off-by: Niklaus Giger <niklaus.giger@netstal.com>
16 years agoppc4xx: HCU4/5. remove obsolete hcu_flash.c
Niklaus Giger [Mon, 25 Feb 2008 17:37:02 +0000 (18:37 +0100)]
ppc4xx: HCU4/5. remove obsolete hcu_flash.c

Signed-off-by: Niklaus Giger <niklaus.giger@netstal.com>
16 years agoppc4xx: HCU4/5. Use FLASH_CFI_LEGACY
Niklaus Giger [Mon, 25 Feb 2008 17:37:01 +0000 (18:37 +0100)]
ppc4xx: HCU4/5. Use FLASH_CFI_LEGACY

Cleanup: Remove custom flash driver for 8 bit boot-eprom and replace it with
the FLASH_CFI_LEGACY et al. config options.

Signed-off-by: Niklaus Giger <niklaus.giger@netstal.com>
16 years agoppc4xx: Fix comment in 405EX DDR2 init code
Stefan Roese [Tue, 11 Mar 2008 12:52:25 +0000 (13:52 +0100)]
ppc4xx: Fix comment in 405EX DDR2 init code

Signed-off-by: Stefan Roese <sr@denx.de>
16 years agotools/setlocalversion: use a git-describe-ish format
Wolfgang Denk [Fri, 14 Mar 2008 15:04:54 +0000 (16:04 +0100)]
tools/setlocalversion: use a git-describe-ish format

Change the automatic local version to have the form -nnnnn-gSHA1SUMID,
where 'nnnnn' is the number of commits since the last tag (i.e.,
1.3.2-rc3).  This makes it much easier to recognize "newer" versions
and to see how much has been changed since the referenced tag.

Stolen from Linux kernel's scripts/setlocalversio, see commit d882421f.

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agoHMI1001: add support for MPC5200 Rev. B processors.
Wolfgang Denk [Thu, 13 Mar 2008 13:32:03 +0000 (14:32 +0100)]
HMI1001: add support for MPC5200 Rev. B processors.

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agoTQM5200: remove dead code
Wolfgang Denk [Thu, 13 Mar 2008 13:29:49 +0000 (14:29 +0100)]
TQM5200: remove dead code

This board never used a MGT5100 processor.

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agoRelease v1.3.2 v1.3.2
Wolfgang Denk [Sun, 9 Mar 2008 15:20:02 +0000 (16:20 +0100)]
Release v1.3.2

Update CHANGELOG for release.

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agoSCM: fix 'packed' attribute ignored for field of type 'can_msg_t' warnings
Jean-Christophe PLAGNIOL-VILLARD [Sun, 9 Mar 2008 13:52:11 +0000 (14:52 +0100)]
SCM: fix 'packed' attribute ignored for field of type 'can_msg_t' warnings

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agoscb9328: Fix flash warning: type qualifiers ignored on function return type
Jean-Christophe PLAGNIOL-VILLARD [Sun, 9 Mar 2008 09:44:01 +0000 (10:44 +0100)]
scb9328: Fix flash warning: type qualifiers ignored on function return type

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
16 years agoesd/common/fpga.c: fix indentation.
Wolfgang Denk [Sun, 9 Mar 2008 09:50:41 +0000 (10:50 +0100)]
esd/common/fpga.c: fix indentation.

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agocommon/kgdb.c: fix 'dereferencing type-punned pointer' warning
Wolfgang Denk [Sun, 9 Mar 2008 09:33:31 +0000 (10:33 +0100)]
common/kgdb.c: fix 'dereferencing type-punned pointer' warning

and get rid of a couple of unneeded casts.

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agoesd/common/fpga.c: fix 'assignment of read-only location' error
Wolfgang Denk [Sun, 9 Mar 2008 09:09:53 +0000 (10:09 +0100)]
esd/common/fpga.c: fix 'assignment of read-only location' error

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agoMakefile: make build silently again.
Wolfgang Denk [Sun, 9 Mar 2008 01:13:19 +0000 (02:13 +0100)]
Makefile: make build silently again.

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agom501sk: Fix out of tree building
Wolfgang Denk [Sun, 9 Mar 2008 01:07:49 +0000 (02:07 +0100)]
m501sk: Fix out of tree building

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agoADS5121: fix out of tree build
Wolfgang Denk [Sat, 8 Mar 2008 23:06:09 +0000 (00:06 +0100)]
ADS5121: fix out of tree build

and simplify Makefile a bit.

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agoRelease v1.3.2
Wolfgang Denk [Sat, 8 Mar 2008 21:35:31 +0000 (22:35 +0100)]
Release v1.3.2

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agoUpdate CHANGELOG
Wolfgang Denk [Sat, 8 Mar 2008 21:35:04 +0000 (22:35 +0100)]
Update CHANGELOG

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agoesd: Fix warning: passing argument 1 of 'fpga_boot' discards qualifiers from pointer...
Jean-Christophe PLAGNIOL-VILLARD [Sat, 8 Mar 2008 20:30:04 +0000 (21:30 +0100)]
esd: Fix warning: passing argument 1 of 'fpga_boot' discards qualifiers from pointer target type

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
16 years agonet: rtl8169: Add processing when OWNbit did't enable in rtl_recv()
Nobuhiro Iwamatsu [Sat, 8 Mar 2008 00:25:49 +0000 (09:25 +0900)]
net: rtl8169: Add processing when OWNbit did't enable in rtl_recv()

When rtl_recv() of rtl8169 is called, OWNbit of status register
is not enable occasionally.
rtl_recv() doesn't work normally when the driver doesn't do
appropriate processing.
This patch fix this problem.

Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16 years agoMerge branch 'master' of git://www.denx.de/git/u-boot-mpc83xx
Wolfgang Denk [Sat, 8 Mar 2008 09:55:46 +0000 (10:55 +0100)]
Merge branch 'master' of git://denx.de/git/u-boot-mpc83xx

16 years agoMerge branch 'master' of git://www.denx.de/git/u-boot-ppc4xx
Wolfgang Denk [Sat, 8 Mar 2008 09:51:53 +0000 (10:51 +0100)]
Merge branch 'master' of git://denx.de/git/u-boot-ppc4xx

16 years agomgsuvd: update board configuration
Heiko Schocher [Fri, 7 Mar 2008 07:15:28 +0000 (08:15 +0100)]
mgsuvd: update board configuration

initialize the UPIOx controller.

Signed-off-by: Heiko Schocher <hs@denx.de>
16 years agomgcoge: update board configuration
Heiko Schocher [Fri, 7 Mar 2008 07:13:41 +0000 (08:13 +0100)]
mgcoge: update board configuration

add support for the config Flash.
initialize the UPIOx controller.

Signed-off-by: Heiko Schocher <hs@denx.de>
16 years agompc83xx: make dtb basename file references equal those of linux
Kim Phillips [Fri, 7 Mar 2008 18:27:31 +0000 (12:27 -0600)]
mpc83xx: make dtb basename file references equal those of linux

the dts file basenames were updated in linux - this helps avoid
inadvertently loading any old dtbs laying around.

Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
16 years agonet: uec_phy: actually increment the timeout counter
Kim Phillips [Wed, 27 Feb 2008 22:08:22 +0000 (16:08 -0600)]
net: uec_phy: actually increment the timeout counter

allow u-boot to recover (and, e.g., switch to another interface) in the
case where a PHY does not report autonegotiation is complete within its
two second timeout value.

Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
16 years agofix taihu soft spi_read
Markus Brunner [Wed, 5 Mar 2008 20:38:12 +0000 (21:38 +0100)]
fix taihu soft spi_read

The taihu board used gpio_read_out_bit which reads the output register and not
the pin state.

Signed-off-by: Markus Brunner <super.firetwister@gmail.com>
16 years agoppc4xx: Sequoia: Add device tree (fdt) Linux booting default env variables
Stefan Roese [Fri, 7 Mar 2008 07:01:43 +0000 (08:01 +0100)]
ppc4xx: Sequoia: Add device tree (fdt) Linux booting default env variables

Signed-off-by: Stefan Roese <sr@denx.de>