]> git.dujemihanovic.xyz Git - u-boot.git/log
u-boot.git
18 years agoFix whitespace issues.
Jon Loeliger [Tue, 10 Oct 2006 22:14:45 +0000 (17:14 -0500)]
Fix whitespace issues.

18 years agoFix whitespace issues.
Jon Loeliger [Tue, 10 Oct 2006 22:06:53 +0000 (17:06 -0500)]
Fix whitespace issues.

18 years agoRan lindent and cleaned up whitespace issues.
Jon Loeliger [Tue, 10 Oct 2006 22:03:43 +0000 (17:03 -0500)]
Ran lindent and cleaned up whitespace issues.
Format for 80-columns too.

18 years agoFix whitespace and 80-col issues.
Jon Loeliger [Tue, 10 Oct 2006 22:02:22 +0000 (17:02 -0500)]
Fix whitespace and 80-col issues.

18 years agoMerge branch 'mpc86xx'
Jon Loeliger [Fri, 29 Sep 2006 14:34:35 +0000 (09:34 -0500)]
Merge branch 'mpc86xx'

18 years agoFix missing tCycle/modfreq calculation.
John Traill [Fri, 29 Sep 2006 07:23:12 +0000 (08:23 +0100)]
Fix missing tCycle/modfreq calculation.

Signed-off-by: John Traill <john.traill@freescale.com>
18 years agoMerge branch 'mpc85xx'
Jon Loeliger [Tue, 19 Sep 2006 15:02:20 +0000 (10:02 -0500)]
Merge branch 'mpc85xx'

Conflicts:

drivers/tsec.c

18 years agoUpdated config headers to add default FDT-based booting
Andy Fleming [Wed, 13 Sep 2006 15:33:35 +0000 (10:33 -0500)]
Updated config headers to add default FDT-based booting

18 years agoAdd support for eTSEC 3 & 4 on 8548 CDS
Andy Fleming [Wed, 13 Sep 2006 15:34:18 +0000 (10:34 -0500)]
Add support for eTSEC 3 & 4 on 8548 CDS

* Added support for using eTSEC 3 and eTSEC 4 on the 8548 CDS.
  This will only work on rev 1.3 boards (but doesn't break older boards)
* Cleaned up some comments to reflect the expanded role of tsec
  in other systems

18 years agoAdded code to support 2.6.18 PCI changes in u-boot
Andy Fleming [Wed, 13 Sep 2006 15:33:56 +0000 (10:33 -0500)]
Added code to support 2.6.18 PCI changes in u-boot

* Added code to swizzle the IRQ map for the PCI

18 years agoModified makefile for new build mechanism.
Jon Loeliger [Tue, 19 Sep 2006 14:34:10 +0000 (09:34 -0500)]
Modified makefile for new build mechanism.

Signed-off-by: Jon Loeliger <jdl@freescale.com>
18 years agoMerge branch 'master' of http://www.denx.de/git/u-boot
Jon Loeliger [Tue, 19 Sep 2006 13:51:24 +0000 (08:51 -0500)]
Merge branch 'master' of http://www.denx.de/git/u-boot

Conflicts:

board/stxxtc/Makefile

18 years agoMerge branch 'mpc86xx'
Jon Loeliger [Thu, 14 Sep 2006 13:41:07 +0000 (08:41 -0500)]
Merge branch 'mpc86xx'

18 years agoHandle 86xx SVR values according to the new Reference Manual.
Jon Loeliger [Thu, 14 Sep 2006 13:40:36 +0000 (08:40 -0500)]
Handle 86xx SVR values according to the new Reference Manual.
Both 8641 and 8641D have SVR == 0x8090, and are distinguished
by the byte in bits 16-23 instead.
Thanks to Jason Jin for noticing.

Signed-off-by: Jon Loeliger <jdl@freescale.com>
18 years agoDisable autoboot abort for FO300 when silent mode is enabled
Wolfgang Denk [Wed, 13 Sep 2006 08:47:05 +0000 (10:47 +0200)]
Disable autoboot abort for FO300 when silent mode is enabled
(according to S1 switch setting).
Patch by Marian Balakowicz, 12 Sep 2006

18 years agoCleanup examples binaries
Wolfgang Denk [Wed, 13 Sep 2006 08:29:32 +0000 (10:29 +0200)]
Cleanup examples binaries

18 years agoMerge with /home/sr/git/u-boot/denx
Wolfgang Denk [Wed, 13 Sep 2006 08:25:40 +0000 (10:25 +0200)]
Merge with /home/sr/git/u-boot/denx

18 years agoFix alignment problem in "mtdparts" command
Wolfgang Denk [Wed, 13 Sep 2006 08:23:06 +0000 (10:23 +0200)]
Fix alignment problem in "mtdparts" command

18 years agoAdd NAND environment support for PPC440EPx Sequoia NAND boot config
Stefan Roese [Tue, 12 Sep 2006 18:19:10 +0000 (20:19 +0200)]
Add NAND environment support for PPC440EPx Sequoia NAND boot config
Patch by Stefan Roese, 12 Sep 2006

18 years agoUpdate NAND boot documentation
Stefan Roese [Tue, 12 Sep 2006 06:49:07 +0000 (08:49 +0200)]
Update NAND boot documentation
Patch by Stefan Roese, 12 Sep 2006

18 years agoMerge with /home/m8/git/u-boot
Wolfgang Denk [Sat, 9 Sep 2006 20:53:06 +0000 (22:53 +0200)]
Merge with /home/m8/git/u-boot

18 years agoAdd documentation on the latest build environment extentions to
Marian Balakowicz [Thu, 7 Sep 2006 15:25:40 +0000 (17:25 +0200)]
Add documentation on the latest build environment extentions to
the README file.

18 years agoFix build problem cpu/ppc4xx/ndfc.c
Stefan Roese [Thu, 7 Sep 2006 11:09:53 +0000 (13:09 +0200)]
Fix build problem cpu/ppc4xx/ndfc.c
Patch by Stefan Roese, 07 Sep 2006

18 years agoFix build problem with CPCI440
Stefan Roese [Thu, 7 Sep 2006 10:48:49 +0000 (12:48 +0200)]
Fix build problem with CPCI440
Patch by Stefan Roese, 07 Sep 2006

18 years agoChange Yellowstone to use CFI write buffer
Stefan Roese [Thu, 7 Sep 2006 10:23:02 +0000 (12:23 +0200)]
Change Yellowstone to use CFI write buffer
Patch by Stefan Roese, 07 Aug 2006

18 years agoRemove dead code (i2o and dma) from cpu/mpc824x/drivers/ directory.
Marian Balakowicz [Thu, 7 Sep 2006 10:12:20 +0000 (12:12 +0200)]
Remove dead code (i2o and dma) from cpu/mpc824x/drivers/ directory.

18 years agoFix LOG_DIR directory creation error.
Marian Balakowicz [Thu, 7 Sep 2006 10:05:53 +0000 (12:05 +0200)]
Fix LOG_DIR directory creation error.
Add support for automatic creation of BUILD_DIR directory.

18 years agoAdd support for AMCC Sequoia PPC440EPx eval board
Stefan Roese [Thu, 7 Sep 2006 09:51:23 +0000 (11:51 +0200)]
Add support for AMCC Sequoia PPC440EPx eval board
- Add support for PPC440EPx & PPC440GRx
- Add support for PPC440EP(x)/GR(x) NAND controller
  in cpu/ppc4xx directory
- Add NAND boot functionality for Sequoia board,
  please see doc/README.nand-boot-ppc440 for details
- This Sequoia NAND image doesn't support environment
  in NAND for now. This will be added in a short while.
Patch by Stefan Roese, 07 Sep 2006

18 years agoFix mkimage -l bug with multifile images on 64bit platforms
Wolfgang Denk [Wed, 6 Sep 2006 21:29:15 +0000 (23:29 +0200)]
Fix mkimage -l bug with multifile images on 64bit platforms
Patch by David Updegraff, 06 Sep 2006

18 years agoFix build problems on sorcery board.
Wolfgang Denk [Mon, 4 Sep 2006 00:01:27 +0000 (02:01 +0200)]
Fix build problems on sorcery board.

18 years agoMerge with /home/m8/git/u-boot
Wolfgang Denk [Sun, 3 Sep 2006 23:03:57 +0000 (01:03 +0200)]
Merge with /home/m8/git/u-boot

18 years agoFixed problems on PRS200 board caused by adding splash screen on MCC200
Wolfgang Denk [Sun, 3 Sep 2006 16:17:46 +0000 (18:17 +0200)]
Fixed problems on PRS200 board caused by adding splash screen on MCC200

18 years agoMerge with /home/wd/git/u-boot/master
Wolfgang Denk [Sun, 3 Sep 2006 16:13:21 +0000 (18:13 +0200)]
Merge with /home/wd/git/u-boot/master

18 years agoAdd support for a saving build objects in a separate directory.
Marian Balakowicz [Fri, 1 Sep 2006 17:49:50 +0000 (19:49 +0200)]
Add support for a saving build objects in a separate directory.
Modifications are based on the linux kernel approach and
support two use cases:

  1) Add O= to the make command line
  'make O=/tmp/build all'

  2) Set environement variable BUILD_DIR to point to the desired location
  'export BUILD_DIR=/tmp/build'
  'make'

The second approach can also be used with a MAKEALL script
'export BUILD_DIR=/tmp/build'
'./MAKEALL'

Command line 'O=' setting overrides BUILD_DIR environent variable.

When none of the above methods is used the local build is performed and
the object files are placed in the source directory.

18 years agoRemove the board/netstar/crcit binary from git repository.
Marian Balakowicz [Fri, 1 Sep 2006 17:47:42 +0000 (19:47 +0200)]
Remove the board/netstar/crcit binary from git repository.

18 years agoFix tools/updater build error.
Marian Balakowicz [Fri, 1 Sep 2006 17:46:22 +0000 (19:46 +0200)]
Fix tools/updater build error.

18 years agotools/easylogo/easylogo.c
Marian Balakowicz [Fri, 1 Sep 2006 17:44:05 +0000 (19:44 +0200)]
tools/easylogo/easylogo.c

18 years agoAdded David Updegraff as maintainer of CRAYL1
Detlev Zundel [Fri, 1 Sep 2006 15:33:44 +0000 (17:33 +0200)]
Added David Updegraff as maintainer of CRAYL1

18 years agoAdded changelog entry for previous small commits and extended README on
Detlev Zundel [Fri, 1 Sep 2006 13:39:02 +0000 (15:39 +0200)]
Added changelog entry for previous small commits and extended README on
coding style.

18 years agoAdded another example showing simple interrupt interception.
Detlev Zundel [Fri, 1 Sep 2006 13:02:06 +0000 (15:02 +0200)]
Added another example showing simple interrupt interception.

18 years agoAdded simple_strtoul(), getenv() and setenv() to the exported functions.
Detlev Zundel [Fri, 1 Sep 2006 13:00:02 +0000 (15:00 +0200)]
Added simple_strtoul(), getenv() and setenv() to the exported functions.
Also bumped up ABI version to reflect this change.

18 years agoAdded interrupt handling capabilities for mpc5xxx processors.
Detlev Zundel [Fri, 1 Sep 2006 09:59:23 +0000 (11:59 +0200)]
Added interrupt handling capabilities for mpc5xxx processors.
Also added Linux like BUG() macros.

18 years agoCoding Style cleanup.
Wolfgang Denk [Thu, 31 Aug 2006 14:46:53 +0000 (16:46 +0200)]
Coding Style cleanup.
Patch by Stefano Babic, 31 Aug 2006

18 years agoAdd splashscreen support for MCC200 board.
Wolfgang Denk [Wed, 30 Aug 2006 21:09:00 +0000 (23:09 +0200)]
Add splashscreen support for MCC200 board.

18 years agoMake the serial driver framework work with CONFIG_SERIAL_MULTI enabled
Wolfgang Denk [Wed, 30 Aug 2006 21:02:10 +0000 (23:02 +0200)]
Make the serial driver framework work with CONFIG_SERIAL_MULTI enabled

18 years agoMerge branch 'mpc86xx'
Jon Loeliger [Tue, 29 Aug 2006 17:36:53 +0000 (12:36 -0500)]
Merge branch 'mpc86xx'

18 years agoRemove trailing empty lines.
Jon Loeliger [Tue, 29 Aug 2006 16:05:09 +0000 (11:05 -0500)]
Remove trailing empty lines.

18 years agoMerge branch 'mpc86xx'
Jon Loeliger [Tue, 29 Aug 2006 14:49:09 +0000 (09:49 -0500)]
Merge branch 'mpc86xx'

18 years agoRemove bogus msync and use volatile asm.
Jon Loeliger [Tue, 29 Aug 2006 14:48:49 +0000 (09:48 -0500)]
Remove bogus msync and use volatile asm.

18 years agoMerge branch 'mpc86xx'
Jon Loeliger [Tue, 29 Aug 2006 13:47:26 +0000 (08:47 -0500)]
Merge branch 'mpc86xx'

18 years agoMerge branch 'mpc85xx'
Jon Loeliger [Tue, 29 Aug 2006 13:47:20 +0000 (08:47 -0500)]
Merge branch 'mpc85xx'

18 years agoAdd myself as maintainer for MPC8641HPCN.
Jon Loeliger [Tue, 29 Aug 2006 13:17:14 +0000 (08:17 -0500)]
Add myself as maintainer for MPC8641HPCN.

18 years agoFixed an OF-tree off-by-one bug when adding a new property name.
Zhang Wei [Mon, 28 Aug 2006 06:25:31 +0000 (14:25 +0800)]
Fixed an OF-tree off-by-one bug when adding a new property name.
This bug will cause the kernel booting to pause a long time.

Signed-off-by: Zhang Wei <wei.zhang@freescale.com>
18 years agoMerge with /home/sr/git/u-boot/denx
Wolfgang Denk [Tue, 29 Aug 2006 12:19:46 +0000 (14:19 +0200)]
Merge with /home/sr/git/u-boot/denx

18 years agoFix typo.
Wolfgang Denk [Tue, 29 Aug 2006 08:49:11 +0000 (10:49 +0200)]
Fix typo.

18 years agoPCIe endpoint support for AMCC Yucca 440SPe board
Stefan Roese [Tue, 29 Aug 2006 06:05:15 +0000 (08:05 +0200)]
PCIe endpoint support for AMCC Yucca 440SPe board
Patch by Tirumala R Marri, 26 Aug 2006

18 years agoImprove DIMM detection for AMCC Yucca 440SPe board
Stefan Roese [Tue, 29 Aug 2006 06:04:32 +0000 (08:04 +0200)]
Improve DIMM detection for AMCC Yucca 440SPe board

Improved the memory DIMM detection for the Yucca 440SPe board for
the case where a memory DIMM is falsely detected as present.

This issue is seen on some AMCC Yucca 440SPe validation boards if
only one 512MB memory DIMM is installed, i.e. DIMM slot 0 is
populated and DIMM slot 1 is empty.  In this case, U-Boot does
not correctly detect that there is only one DIMM memory module
installed and will falsely detect two DIMM memory modules are
present and therefore U-Boot will not calculate the correct amount
of total memory and u-boot will not booting up.

Patch by Adam Graham, 24 Aug 2006

18 years agoCode cleanup
Wolfgang Denk [Sun, 27 Aug 2006 16:10:01 +0000 (18:10 +0200)]
Code cleanup

18 years agoMerge branch 'mpc86xx'
Jon Loeliger [Fri, 25 Aug 2006 22:30:24 +0000 (17:30 -0500)]
Merge branch 'mpc86xx'

18 years agoChange ramdiskaddr and dtbaddr
Haiying Wang [Fri, 25 Aug 2006 18:38:34 +0000 (14:38 -0400)]
Change ramdiskaddr and dtbaddr
Remove PEX fluff commands.

Signed-off-by: Haiying Wang <haiying.wang@freescale.com>
Signed-off-by: Jon Loeliger <jdl@freescale.com>
18 years agoFix typo in MCC200/PRS200 configuration
Wolfgang Denk [Fri, 25 Aug 2006 09:47:06 +0000 (11:47 +0200)]
Fix typo in MCC200/PRS200 configuration

18 years agoUpdate for MCC200 / PRS200 boards:
Wolfgang Denk [Thu, 24 Aug 2006 23:38:04 +0000 (01:38 +0200)]
Update for MCC200 / PRS200 boards:
- auto-adjust console device for Linux.
- fix typos.

18 years agoMerge with /home/tur/proj/fo300/u-boot
Wolfgang Denk [Thu, 24 Aug 2006 22:13:37 +0000 (00:13 +0200)]
Merge with /home/tur/proj/fo300/u-boot

18 years agoUpdates for MCC200 / PRS200 boards:
Wolfgang Denk [Wed, 23 Aug 2006 22:26:42 +0000 (00:26 +0200)]
Updates for MCC200 / PRS200 boards:
- support for configurations with SDRAM or DDR memory,
- support for highboot and lowboot
- adjusting environment definitions

18 years agoMerge branch 'mpc86xx'
Jon Loeliger [Wed, 23 Aug 2006 16:04:54 +0000 (11:04 -0500)]
Merge branch 'mpc86xx'

18 years agoCleanup and lindent new AHCI driver.
Jon Loeliger [Wed, 23 Aug 2006 16:04:43 +0000 (11:04 -0500)]
Cleanup and lindent new AHCI driver.

18 years agoMerge branch 'mpc86xx'
Jon Loeliger [Wed, 23 Aug 2006 15:40:37 +0000 (10:40 -0500)]
Merge branch 'mpc86xx'

18 years agoAdd AHCI define and sata support for MPC8641HPCN board.
Jin Zhengxiong [Wed, 23 Aug 2006 11:15:12 +0000 (19:15 +0800)]
Add AHCI define and sata support for MPC8641HPCN board.

Signed-off-by:Jason Jin<jason.jin@freescale.com>

18 years agoAdd AHCI support to u-boot
Jin Zhengxiong [Wed, 23 Aug 2006 11:10:44 +0000 (19:10 +0800)]
Add AHCI support to u-boot

Add AHCI support in u-boot, enable the sata disk controllers which
following the AHCI protocol.

Signed-off-by:Jason Jin<jason.jin@freescale.com>

18 years agoAdd dtb boot-up parameter to default boot commands.
Zhang Wei [Wed, 23 Aug 2006 09:54:32 +0000 (17:54 +0800)]
Add dtb boot-up parameter to default boot commands.

Signed-off-by: Zhang Wei <wei.zhang@freescale.com>
18 years agoMerge branch 'mpc86xx'
Jon Loeliger [Tue, 22 Aug 2006 23:26:28 +0000 (18:26 -0500)]
Merge branch 'mpc86xx'

18 years agoCleanup even more poorly introduced whitespace.
Jon Loeliger [Tue, 22 Aug 2006 23:26:08 +0000 (18:26 -0500)]
Cleanup even more poorly introduced whitespace.

18 years agoMerge branch 'mpc86xx'
Jon Loeliger [Tue, 22 Aug 2006 23:07:57 +0000 (18:07 -0500)]
Merge branch 'mpc86xx'

18 years agoCleanup more poorly introduced whitespace.
Jon Loeliger [Tue, 22 Aug 2006 23:07:00 +0000 (18:07 -0500)]
Cleanup more poorly introduced whitespace.

18 years agoMerge branch 'mpc86xx'
Jon Loeliger [Tue, 22 Aug 2006 22:55:45 +0000 (17:55 -0500)]
Merge branch 'mpc86xx'

18 years agoCleanup poorly introduced whitespace.
Jon Loeliger [Tue, 22 Aug 2006 22:54:05 +0000 (17:54 -0500)]
Cleanup poorly introduced whitespace.

18 years agoMerge branch 'mpc86xx'
Jon Loeliger [Tue, 22 Aug 2006 17:26:51 +0000 (12:26 -0500)]
Merge branch 'mpc86xx'

18 years agoGeneral indent and whitespace cleanups.
Jon Loeliger [Tue, 22 Aug 2006 17:25:27 +0000 (12:25 -0500)]
General indent and whitespace cleanups.

18 years agoGeneral indent and whitespace cleanups.
Jon Loeliger [Tue, 22 Aug 2006 17:06:18 +0000 (12:06 -0500)]
General indent and whitespace cleanups.

18 years agoCleanup compiler warnings.
Jon Loeliger [Tue, 22 Aug 2006 15:42:21 +0000 (10:42 -0500)]
Cleanup compiler warnings.

18 years agoMerge branch 'master' of http://www.denx.de/git/u-boot
Jon Loeliger [Tue, 22 Aug 2006 15:17:59 +0000 (10:17 -0500)]
Merge branch 'master' of http://www.denx.de/git/u-boot

18 years agoFix disable_of booting
Matthew McClintock [Tue, 22 Aug 2006 14:31:59 +0000 (09:31 -0500)]
Fix disable_of booting

Signed-off-by: Matthew McClintock <msm@freescale.com>
18 years agoSupport for FDT in uImage format, error when using FDT from flash
Matthew McClintock [Tue, 22 Aug 2006 14:23:55 +0000 (09:23 -0500)]
Support for FDT in uImage format, error when using FDT from flash

Signed-off-by: Matthew McClintock <msm@freescale.com>
18 years agoAdd a fix for a buggy USB device on the FO300 board.
Bartlomiej Sieka [Tue, 22 Aug 2006 08:38:18 +0000 (10:38 +0200)]
Add a fix for a buggy USB device on the FO300 board.

18 years agoMinor cleanup
Wolfgang Denk [Fri, 18 Aug 2006 21:27:33 +0000 (23:27 +0200)]
Minor cleanup

18 years agoAdd support for WTK FO300 board (TQM5200 based).
Marian Balakowicz [Fri, 18 Aug 2006 17:14:46 +0000 (19:14 +0200)]
Add support for WTK FO300 board (TQM5200 based).

18 years agoMerge with /home/raj/git/u-boot
Wolfgang Denk [Fri, 18 Aug 2006 13:23:10 +0000 (15:23 +0200)]
Merge with /home/raj/git/u-boot

18 years agoMerge with git+ssh://fifi/home/wd/git/u-boot/master
Wolfgang Denk [Fri, 18 Aug 2006 09:38:05 +0000 (11:38 +0200)]
Merge with git+ssh://fifi/home/wd/git/u-boot/master

18 years agoFix TQM834x hang.
Rafal Jaworowski [Fri, 18 Aug 2006 08:39:11 +0000 (10:39 +0200)]
Fix TQM834x hang.

18 years agoMerge branch 'mpc86xx'
Jon Loeliger [Thu, 17 Aug 2006 16:04:56 +0000 (11:04 -0500)]
Merge branch 'mpc86xx'

18 years agoUnlock cache before kernel starts up for MPC86xx
Haiying Wang [Tue, 15 Aug 2006 19:12:55 +0000 (15:12 -0400)]
Unlock cache before kernel starts up for MPC86xx

18 years agoCopy Global Data Pointer to r29 for DECLARE_GLOBAL_DATA_PTR
Haiying Wang [Tue, 15 Aug 2006 19:13:15 +0000 (15:13 -0400)]
Copy Global Data Pointer to r29 for DECLARE_GLOBAL_DATA_PTR

18 years agoUnlock cache before kernel starts up for MPC86xx
Haiying Wang [Tue, 15 Aug 2006 19:12:55 +0000 (15:12 -0400)]
Unlock cache before kernel starts up for MPC86xx

18 years agoCopy Global Data Pointer to r29 for DECLARE_GLOBAL_DATA_PTR
Haiying Wang [Tue, 15 Aug 2006 19:13:15 +0000 (15:13 -0400)]
Copy Global Data Pointer to r29 for DECLARE_GLOBAL_DATA_PTR

18 years agoCleanup debug code for yucca board.
Wolfgang Denk [Thu, 17 Aug 2006 08:48:36 +0000 (10:48 +0200)]
Cleanup debug code for yucca board.

18 years agoMCC200: restrict addressable flash space to 32 MB
Wolfgang Denk [Wed, 16 Aug 2006 22:50:26 +0000 (00:50 +0200)]
MCC200: restrict addressable flash space to 32 MB

18 years agoAdd debug console on COM12 for MCC200 board
Wolfgang Denk [Wed, 16 Aug 2006 22:36:51 +0000 (00:36 +0200)]
Add debug console on COM12 for MCC200 board

18 years agoMerge branch 'mpc86xx'
Jon Loeliger [Mon, 14 Aug 2006 21:41:02 +0000 (16:41 -0500)]
Merge branch 'mpc86xx'

18 years agoFix BAT0 to actually be cacheable, non-guarded as documented.
Jon Loeliger [Mon, 14 Aug 2006 20:33:38 +0000 (15:33 -0500)]
Fix BAT0 to actually be cacheable, non-guarded as documented.

Signed-off-by: Jon Loeliger <jdl@freescale.com>
18 years agoUpdate for SC520 board.
Wolfgang Denk [Mon, 14 Aug 2006 21:23:06 +0000 (23:23 +0200)]
Update for SC520 board.
Patch by David Updegraff, 02 Dec 2005