oweals/u-boot.git
16 years ago85xx: convert MPC8541/MPC8555/MPC8548 CDS over to use new LAW init code
Kumar Gala [Wed, 16 Jan 2008 07:45:10 +0000 (01:45 -0600)]
85xx: convert MPC8541/MPC8555/MPC8548 CDS over to use new LAW init code

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
16 years ago85xx: convert MPC8540/MPC8560 ADS over to use new LAW init code
Kumar Gala [Wed, 16 Jan 2008 07:32:06 +0000 (01:32 -0600)]
85xx: convert MPC8540/MPC8560 ADS over to use new LAW init code

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
16 years ago85xx: convert MPC8544 DS over to use new LAW init code
Kumar Gala [Wed, 16 Jan 2008 07:16:16 +0000 (01:16 -0600)]
85xx: convert MPC8544 DS over to use new LAW init code

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
16 years ago85xx: Move LAW init code into C
Kumar Gala [Wed, 16 Jan 2008 07:13:58 +0000 (01:13 -0600)]
85xx: Move LAW init code into C

Move the initialization of the LAWs into C code and provide an API
to allow modification of LAWs after init.

Board code is responsible to provide a law_table and num_law_entries.

We should be able to use the same code on 86xx as well.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
16 years agoMerge branch 'master' of git://www.denx.de/git/u-boot-mpc86xx
Wolfgang Denk [Wed, 16 Jan 2008 21:06:51 +0000 (22:06 +0100)]
Merge branch 'master' of git://denx.de/git/u-boot-mpc86xx

16 years agoAdd support for the MPC837xERDB
Kim Phillips [Wed, 16 Jan 2008 06:38:05 +0000 (00:38 -0600)]
Add support for the MPC837xERDB

MPC837xERDB board support includes:
* DDR2 330MHz hardcoded (soldered on the board)
* Local Bus NOR Flash
* I2C, UART and RTC
* eTSEC RGMII (TSEC0 - RTL8211B with MII;
*        TSEC1 - VSC7385 local bus, hardcoded, requires seperate firmware
*        load)

Signed-off-by: Kevin Lam <kevin.lam@freescale.com>
Signed-off-by: Joe D'Abbraccio <joe.d'abbraccio@freescale.com>
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
16 years agompc83xx: add support for more system clock performance controls
Kim Phillips [Wed, 16 Jan 2008 18:06:16 +0000 (12:06 -0600)]
mpc83xx: add support for more system clock performance controls

System registers that are modified are the Arbiter Configuration
Register (ACR), the System Priority Control Register (SPCR), and the
System Clock Configuration Register (SCCR).

Signed-off by: Michael F. Reiss <Michael.F.Reiss@freescale.com>
Signed-off by: Joe D'Abbraccio <ljd015@freescale.com>
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
16 years agoFSL: Generalize PIXIS reset command parsing.
James Yang [Wed, 16 Jan 2008 17:58:08 +0000 (11:58 -0600)]
FSL: Generalize PIXIS reset command parsing.

Before, the order of arguments to the pixis_reset
command needed to be supplied in a hard-coded order.
Generalize the command parsing to allow any order.

Signed-off-by: James Yang <james.yang@freescale.com>
Acked-by: Jon Loeliger <jdl@freescale.com>
16 years agoFSL: Convert board/freescale/common/Makefile to use CONFIG_
Jon Loeliger [Tue, 15 Jan 2008 19:42:41 +0000 (13:42 -0600)]
FSL: Convert board/freescale/common/Makefile to use CONFIG_

Convert the board/freescale/common/Makefile to use
CONFIG_* options to select which files to conditionally
compile into the board/freescale/common library rather
than conditionally compiling entire files.

Now handles::
    CONFIG_FSL_PIXIS
    CONFIG_FSL_DIU_FB
    CONFIG_PQ_MDS_PIB

CONFIG_ID_EEPROM is introduced until CFG_ID_EEPROM is gone.

Signed-off-by: Jon Loeliger <jdl@freescale.com>
16 years agoUse CONFIG_ULI526X as MPC8610HPCD default Ethernet driver
Roy Zang [Tue, 15 Jan 2008 08:38:38 +0000 (16:38 +0800)]
Use CONFIG_ULI526X as MPC8610HPCD default Ethernet driver

Use driver/net/uli526x.c as MPC8610HPCD default Ethernet driver.
Remove unused ethernet CONFIG_ options.

Signed-off-by: Roy Zang <tie-fei.zang@freescale.com>
Acked-by: Jon Loeliger <jdl@freescale.com>
16 years agompc83xx: fix QE ETHPRIMEs to correct 'FSL UEC0' value
Kim Phillips [Tue, 15 Jan 2008 20:05:14 +0000 (14:05 -0600)]
mpc83xx: fix QE ETHPRIMEs to correct 'FSL UEC0' value

continuation of commit b96c83d4ae475a70ef2635cd0e748174c44c8601

Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
16 years agompc83xx: clean up mpc8360emds.c warnings
Kim Phillips [Tue, 15 Jan 2008 15:51:12 +0000 (09:51 -0600)]
mpc83xx: clean up mpc8360emds.c warnings

mpc8360emds.c: In function 'ft_board_setup':
mpc8360emds.c:327: warning: assignment makes pointer from integer without a cast
mpc8360emds.c:329: warning: passing argument 2 of 'fdt_getprop' makes integer from pointer without a cast
mpc8360emds.c:334: warning: passing argument 2 of 'fdt_setprop' makes integer from pointer without a cast
mpc8360emds.c:341: warning: assignment makes pointer from integer without a cast
mpc8360emds.c:343: warning: passing argument 2 of 'fdt_getprop' makes integer from pointer without a cast
mpc8360emds.c:348: warning: passing argument 2 of 'fdt_setprop' makes integer from pointer without a cast

Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
16 years agompc83xx: fix phy-connection-type fixup code
Kim Phillips [Mon, 14 Jan 2008 22:14:46 +0000 (16:14 -0600)]
mpc83xx: fix phy-connection-type fixup code

use tree passed to us in local blob, not global fdt.

Also use fdt_path_offset to convert to relative offset, since absolute
reference is needed to check for rgmii-id mode string value.

Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
16 years agompc83xx: fix mpc8313/mpc8315/mpc8349itx Makefiles for silent build (with -s)
Kumar Gala [Mon, 14 Jan 2008 15:01:40 +0000 (09:01 -0600)]
mpc83xx: fix mpc8313/mpc8315/mpc8349itx Makefiles for silent build (with -s)

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
16 years agoChanges in uboot DDR configuration for MPC8313eRDB
Poonam Aggrwal [Mon, 14 Jan 2008 04:11:14 +0000 (09:41 +0530)]
Changes in uboot DDR configuration for MPC8313eRDB

These changes were identified by HighSmith Bill ,Mazzyar and Joseph for
DDR configuration in u-boot code. Some are related to performance, some
affect stability and some correct few basic errors in the current
configuration.

The changes have been tested and found to give better memory latency
figures on MPC8313eRDB.LMBench figures prove it.

The changes are:

- CS0_CONFIG[ AP_n_EN] is changed from 1 to 0
  (this may improve performance for application with many read
  or write to open pages).
- CS0_CONFIG[ODT_WR_CFG] is currently changed from 100 to
  001 (activating all the CS when only one is used may cause
  unwanted noise on the system)

- TIMING_CFG_1[ACTTOPRE] is changed from 9clks to 8clks (based on
  Tras=45ns)
- TIMING_CFG_1[REFREC] changed from 21 clks to 18clks.

- TIMING_CFG_2[AL] value changed from 0 setting to 1 clk to
  comply with the 3 ODT clk requirements)
- TIMING_CFG_2[CPO] was set to a reserved value, changed to RL+3/4.
- TIMING_CFG_2[FOUR_ACT] is changed from 10 clks to 6clks.

- DDR_SDRAM_MODE[AL]changed from 0 to 1.
- DDR_SDRAM_MODE[WRREC] changed from 1 clk to 3 clks.

- DDR_SDRAM_INTERVAL[REFINT] is changed from 0x0320 to 0x0510.
- DDR_SDRAM_INTERVAL[BSTOPRE] is changed from 0x64 to 0x0500.

The patch is based of git://www.denx.de/git/u-boot-mpc83xx.git
The last commit on this tree was 6775c68683a53c7abc778774641aac6f833a2cbf

Signed-off-by: Poonam Aggrwal-b10812 <b10812@freescale.com>
Cc: Bill HighSmith <Bill.Highsmith@freescale.com>
Cc: Razzaz Mazyar <MRazzaz@freescale.com>
Cc: Josep P J <PJ.Joseph@freescale.com>
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
16 years agoEnable the isdram command on the MPC8360EMDS board
Jerry Van Baren [Sat, 12 Jan 2008 18:24:14 +0000 (13:24 -0500)]
Enable the isdram command on the MPC8360EMDS board

The isdram command prints out decoded information the "serial presence
detect" (SPD) chip on the SDRAM SIMMs.  This can be very helpful when
debugging memory configuration problems.

Signed-off-by: Gerald Van Baren <vanbaren@cideas.com>
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
16 years agompc83xx: Add the support for MPC8315ERDB board
Dave Liu [Fri, 11 Jan 2008 10:48:24 +0000 (18:48 +0800)]
mpc83xx: Add the support for MPC8315ERDB board

The features list:
- Boot from NOR Flash
- DDR2 266MHz hardcoded configuration
- Local bus NOR Flash R/W operation
- I2C, UART, MII and RTC
- eTSEC0/1 support
- PCI host

Signed-off-by: Dave Liu <daveliu@freescale.com>
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
16 years agompc83xx: Add config of eTSEC emergency priority in SPCR
Dave Liu [Fri, 11 Jan 2008 10:46:50 +0000 (18:46 +0800)]
mpc83xx: Add config of eTSEC emergency priority in SPCR

The TSEC emergency priority definition of 831x/837x
is different than the definition of 834x in SPCR register.

Add the other config of TSEC emergency priority into
cpu_init.c

Signed-off-by: Dave Liu <daveliu@freescale.com>
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
16 years agompc83xx: Remove cache config from MPC8360ERDK.h
Dave Liu [Fri, 11 Jan 2008 10:42:19 +0000 (18:42 +0800)]
mpc83xx: Remove cache config from MPC8360ERDK.h

The MPC8360ERDK board support patch is added before
the commit 2c5b48fc205c3e2752910da8f39209ed075929e5
so, miss clean up it.

The patch clean up the miss cache config.

Signed-off-by: Dave Liu <daveliu@freescale.com>
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
16 years agonand: FSL UPM NAND driver
Anton Vorontsov [Mon, 14 Jan 2008 20:09:32 +0000 (23:09 +0300)]
nand: FSL UPM NAND driver

Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
16 years agoOneNAND: Separate U-Boot dependent code from OneNAND
Kyungmin Park [Mon, 14 Jan 2008 23:59:44 +0000 (08:59 +0900)]
OneNAND: Separate U-Boot dependent code from OneNAND

OneNAND: Separate U-Boot dependent code from OneNAND

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
16 years agoLWMON5: enable hush shell as command line parser
Wolfgang Denk [Tue, 15 Jan 2008 23:01:01 +0000 (00:01 +0100)]
LWMON5: enable hush shell as command line parser

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agoADS5121: disable watchdog; enable image timestamps
Wolfgang Denk [Tue, 15 Jan 2008 16:22:28 +0000 (17:22 +0100)]
ADS5121: disable watchdog; enable image timestamps

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agoTK885D: fixes for bigger flash sector sizes on new modules;
Wolfgang Denk [Tue, 15 Jan 2008 16:21:28 +0000 (17:21 +0100)]
TK885D: fixes for bigger flash sector sizes on new modules;
adjust default environment;
disable SCC ethernet (not used on this board).

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agoMerge branch 'master' of git://www.denx.de/git/u-boot-ppc4xx
Wolfgang Denk [Mon, 14 Jan 2008 09:48:28 +0000 (10:48 +0100)]
Merge branch 'master' of git://denx.de/git/u-boot-ppc4xx

16 years agoQE: fix compile warning
Dave Liu [Mon, 14 Jan 2008 03:12:01 +0000 (11:12 +0800)]
QE: fix compile warning

qe.c: In function 'qe_upload_firmware':
qe.c:390: warning: pointer targets in passing argument 2
uec.c: In function 'uec_initialize':
uec.c:1236: warning: 'uec_info' may be used uninitialized

Signed-off-by: Dave Liu <daveliu@freescale.com>
16 years agoppc4xx: Update Kilauea CPLD configuration with USB PHY reset bit
Stefan Roese [Mon, 14 Jan 2008 09:05:05 +0000 (10:05 +0100)]
ppc4xx: Update Kilauea CPLD configuration with USB PHY reset bit

Now that bit 29 is the USB PHY reset bit, update the Kilauea port
to remove the USB PHY reset after powerup. The CPLD will keep the
USB PHY in reset (active low) until the bit is set to 1 in
board_early_init_f().

Signed-off-by: Stefan Roese <sr@denx.de>
16 years agoARM: update mach-types.h from 2.6.24-rc7 Linux kernel tree
Wolfgang Denk [Sun, 13 Jan 2008 22:26:45 +0000 (23:26 +0100)]
ARM: update mach-types.h from 2.6.24-rc7 Linux kernel tree

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agoADS5121: Fix typo in ads5121.c, adjust default environment
Wolfgang Denk [Sun, 13 Jan 2008 22:37:50 +0000 (23:37 +0100)]
ADS5121: Fix typo in ads5121.c, adjust default environment

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agoADS5121: MAX slew rate for PATA pins
John Rigby [Sat, 25 Aug 2007 00:18:43 +0000 (18:18 -0600)]
ADS5121: MAX slew rate for PATA pins

Signed-off-by: John Rigby <jrigby@freescale.com>
16 years agoFix Makefile dependency problem with parallel builds.
Wolfgang Denk [Sun, 13 Jan 2008 20:05:52 +0000 (21:05 +0100)]
Fix Makefile dependency problem with parallel builds.

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agoMPC8544DS: fix board Makefile for silent build (with -s)
Wolfgang Denk [Sun, 13 Jan 2008 18:51:39 +0000 (19:51 +0100)]
MPC8544DS: fix board Makefile for silent build (with -s)

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agoPMC440 board: fix board Makefile for out-of-tree building
Wolfgang Denk [Sun, 13 Jan 2008 15:44:08 +0000 (16:44 +0100)]
PMC440 board: fix board Makefile for out-of-tree building

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agoMakalu: fix compile warning
Wolfgang Denk [Sun, 13 Jan 2008 15:07:44 +0000 (16:07 +0100)]
Makalu: fix compile warning

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agoMerge branch 'master' of git+ssh://10.10.0.7/home/wd/git/u-boot/master
Wolfgang Denk [Sun, 13 Jan 2008 14:59:21 +0000 (15:59 +0100)]
Merge branch 'master' of git+ssh://10.10.0.7/home/wd/git/u-boot/master

16 years agocmd_nand : fix compiler warning.
Jean-Christophe PLAGNIOL-VILLARD [Sun, 13 Jan 2008 11:36:12 +0000 (12:36 +0100)]
cmd_nand : fix compiler warning.

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
16 years agoCFI: Fix CONFIG_FLASH_CFI_LEGACY compilation
Michael Schwingen [Sat, 12 Jan 2008 19:29:47 +0000 (20:29 +0100)]
CFI: Fix CONFIG_FLASH_CFI_LEGACY compilation

Signed-off-by: Michael Schwingen <michael@schwingen.org>
Acked-by: Stefan Roese <sr@denx.de>
16 years agoMerge branch 'master' of /home/stefan/git/u-boot/u-boot
Stefan Roese [Sun, 13 Jan 2008 14:04:37 +0000 (15:04 +0100)]
Merge branch 'master' of /home/stefan/git/u-boot/u-boot

16 years agoMPC8360ERDK: fix incorrect initialization of CFG_I2C_NOPROBES
Wolfgang Denk [Sun, 13 Jan 2008 01:19:44 +0000 (02:19 +0100)]
MPC8360ERDK: fix incorrect initialization of CFG_I2C_NOPROBES

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agoMPC8xx FEC driver: fix compiler warning.
Wolfgang Denk [Sun, 13 Jan 2008 01:19:13 +0000 (02:19 +0100)]
MPC8xx FEC driver: fix compiler warning.

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agoFix Makefile dependencies issues; allow silent build
Wolfgang Denk [Sat, 12 Jan 2008 23:59:21 +0000 (00:59 +0100)]
Fix Makefile dependencies issues; allow silent build

- get rid of "version" target whichdidn't really work
- make autoconf.mk depend on version_autogenerated.h to make sure
  to rebuild files as needed
- add XECHO macro to allow for silent build using "make -s"

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agoADS5121e: fix compile warning
Wolfgang Denk [Sat, 12 Jan 2008 23:55:47 +0000 (00:55 +0100)]
ADS5121e: fix compile warning

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agoMUNICes: fix board Makefile for remote build directory
Wolfgang Denk [Sat, 12 Jan 2008 23:55:18 +0000 (00:55 +0100)]
MUNICes: fix board Makefile for remote build directory

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agoMPC5200: don't use hardcoded MBAR address in Bestcomm firmware
Oliver Weber [Wed, 9 Jan 2008 16:04:38 +0000 (17:04 +0100)]
MPC5200: don't use hardcoded MBAR address in Bestcomm firmware

Signed-off-by: Oliver Weber <almoeli@gmx.de>
16 years agoMake bootretry work when command line editing is enabled
Andreas Engel [Wed, 9 Jan 2008 16:10:56 +0000 (17:10 +0100)]
Make bootretry work when command line editing is enabled

Currently, when CONFIG_CMDLINE_EDITING is set, bootretry doesn't work.
This patch fixes the problem.

Signed-off-by: Andreas Engel <andreas.engel@ericsson.com>
16 years agoRefactor code for "i2c sdram" command
Larry Johnson [Sat, 12 Jan 2008 04:26:18 +0000 (23:26 -0500)]
Refactor code for "i2c sdram" command

Signed-off-by: Larry Johnson <lrj@acm.org>
16 years agoFix "i2c sdram" command for DDR2 DIMMs
Larry Johnson [Fri, 11 Jan 2008 03:23:39 +0000 (22:23 -0500)]
Fix "i2c sdram" command for DDR2 DIMMs

Many of the SPD bytes for DDR2 SDRAM are not interpreted correctly by the
"i2c sdram" command.  This patch provides correct alternative
interpretations when DDR2 memory is detected.

Signed-off-by: Larry Johnson <lrj@acm.org>
16 years agoFix linker scripts: add NOLOAD atribute to .bss/.sbss sections
Wolfgang Denk [Sat, 12 Jan 2008 19:31:39 +0000 (20:31 +0100)]
Fix linker scripts: add NOLOAD atribute to .bss/.sbss sections

With recent toolchain versions, some boards would not build because
or errors like this one (here for ocotea board when building with
ELDK 4.2 beta):
ppc_4xx-ld: section .bootpg [fffff000 -> fffff23b] overlaps section .bss [fffee900 -> fffff8ab]

For many boards, the .bss section is big enough that it wraps around
at the end of the address space (0xFFFFFFFF), so the problem will not
be visible unless you use a 64 bit tool chain for development. On
some boards however, changes to the code size (due to different
optimizations) we bail out with section overlaps like above.

The fix is to add the NOLOAD attribute to the .bss and .sbss
sections, telling the linker that .bss does not consume any space in
the image.

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agoUSB: Add Philips 1561 PCI-OHCI ids
TsiChung Liew [Sat, 12 Jan 2008 02:42:58 +0000 (20:42 -0600)]
USB: Add Philips 1561 PCI-OHCI ids
(needed for M5475EVB)

Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
16 years agoAdd MAINTAINERS entries for ids8247, jupiter, municse, sc3 and uc101
Wolfgang Denk [Sat, 12 Jan 2008 14:51:34 +0000 (15:51 +0100)]
Add MAINTAINERS entries for ids8247, jupiter, municse, sc3 and uc101
boards.

Signed-off-by: Heiko Schocher <hs@denx.de>
Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agoMPC512X: Cleanup bus clock names.
Grzegorz Bernacki [Fri, 11 Jan 2008 11:03:43 +0000 (12:03 +0100)]
MPC512X: Cleanup bus clock names.

Signed-off-by: Grzegorz Bernacki <gjb@semihalf.com>
16 years agoMPC512X: Fixed typo in macro name.
Grzegorz Bernacki [Tue, 8 Jan 2008 16:16:59 +0000 (17:16 +0100)]
MPC512X: Fixed typo in macro name.

Signed-off-by: Grzegorz Bernacki <gjb@semihalf.com>
16 years agoads5121: Added support for FDT.
Grzegorz Bernacki [Tue, 8 Jan 2008 16:16:15 +0000 (17:16 +0100)]
ads5121: Added support for FDT.

Signed-off-by: Grzegorz Bernacki <gjb@semihalf.com>
16 years agoCoding Style cleanup; update CHANGELOG.
Wolfgang Denk [Sat, 12 Jan 2008 00:05:50 +0000 (01:05 +0100)]
Coding Style cleanup; update CHANGELOG.

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agoFixed syntax error in function init_e300_core() of mpc83xx/start.S if
Heiko Schocher [Fri, 11 Jan 2008 14:15:17 +0000 (15:15 +0100)]
Fixed syntax error in function init_e300_core() of mpc83xx/start.S if

Signed-off-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Heiko Schocher <hs@denx.de>
16 years agoMUNICes: Set the right CFG_DEFAULT_MBAR value.
Heiko Schocher [Fri, 11 Jan 2008 14:15:16 +0000 (15:15 +0100)]
MUNICes: Set the right CFG_DEFAULT_MBAR value.

Signed-off-by: Heiko Schocher <hs@denx.de>
16 years agoadded the config File for the MUNICes board.
Heiko Schocher [Fri, 11 Jan 2008 14:15:15 +0000 (15:15 +0100)]
added the config File for the MUNICes board.

Signed-off-by: Heiko Schocher <hs@denx.de>
16 years agoadded basic support for the MUNICes board.
Heiko Schocher [Fri, 11 Jan 2008 14:15:14 +0000 (15:15 +0100)]
added basic support for the MUNICes board.

Signed-off-by: Heiko Schocher <hs@denx.de>
16 years agoUpdate CHANGELOG and MAINTAINERS files.
Wolfgang Denk [Fri, 11 Jan 2008 23:39:37 +0000 (00:39 +0100)]
Update CHANGELOG and MAINTAINERS files.

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agoFix compilation problem in common/cmd_bmp.c
Anatolij Gustschin [Fri, 11 Jan 2008 01:15:02 +0000 (02:15 +0100)]
Fix compilation problem in common/cmd_bmp.c

common/cmd_bmp.c fails to compile if CONFIG_VIDEO_BMP_GZIP
isn't defined. This patch fix this.

Signed-off-by: Anatolij Gustschin <agust@denx.de>
16 years agoFix defaultconfig for the mgcoge board.
Heiko Schocher [Fri, 11 Jan 2008 00:12:09 +0000 (01:12 +0100)]
Fix defaultconfig for the mgcoge board.

Signed-off-by: Heiko Schocher <hs@denx.de>
16 years agoAdded support for the mgcoge board from keymile.
Heiko Schocher [Fri, 11 Jan 2008 00:12:08 +0000 (01:12 +0100)]
Added support for the mgcoge board from keymile.

Signed-off-by: Heiko Schocher <hs@denx.de>
16 years agoEnable SMC microcode relocation patch for SMC1.
Heiko Schocher [Fri, 11 Jan 2008 00:12:07 +0000 (01:12 +0100)]
Enable SMC microcode relocation patch for SMC1.

Signed-off-by: Heiko Schocher <hs@denx.de>
16 years agoAdded support for the mgsuvd board from keymile.
Heiko Schocher [Fri, 11 Jan 2008 00:12:06 +0000 (01:12 +0100)]
Added support for the mgsuvd board from keymile.

Signed-off-by: Heiko Schocher <hs@denx.de>
16 years agoFix 64-bit vsprintf.
James Yang [Thu, 10 Jan 2008 22:02:07 +0000 (16:02 -0600)]
Fix 64-bit vsprintf.

There were some size and unsigned problems.
Also add support for "ll" size modifier in format string like glibc

Signed-off-by: James Yang <James.Yang@freescale.com>
Acked-by: Jon Loeliger <jdl@freescale.com>
16 years agoRemove superfluous preprocessor conditionals from LM73 driver
Larry Johnson [Wed, 9 Jan 2008 17:42:35 +0000 (12:42 -0500)]
Remove superfluous preprocessor conditionals from LM73 driver

(1) Remove unused symbol "CFG_EEPROM_PAGE_WRITE_ENABLE".

(2) Use conditional Makefile.o.

Signed-off-by: Larry Johnson <lrj@acm.org>
16 years agoAdd support for the TK885D baseboard from TELE-DATA
Guennadi Liakhovetski [Thu, 10 Jan 2008 16:59:07 +0000 (17:59 +0100)]
Add support for the TK885D baseboard from TELE-DATA

The TK885D board uses a TQM885D module from TQ, this port adds an
own configuration file and adds a last_stage_init() method to
configure the two PHYs, depending on the phy_auto_nego environment
variable.

Signed-off-by: Guennadi Liakhovetski <lg@denx.de>
16 years agoMerge branch 'master' of git://www.denx.de/git/u-boot-video
Wolfgang Denk [Fri, 11 Jan 2008 23:22:05 +0000 (00:22 +0100)]
Merge branch 'master' of git://denx.de/git/u-boot-video

16 years agoMerge branch 'master' of git://www.denx.de/git/u-boot-ppc4xx
Wolfgang Denk [Fri, 11 Jan 2008 23:13:37 +0000 (00:13 +0100)]
Merge branch 'master' of git://denx.de/git/u-boot-ppc4xx

16 years agoMerge branch 'master' of git://www.denx.de/git/u-boot-mpc83xx
Wolfgang Denk [Fri, 11 Jan 2008 23:04:01 +0000 (00:04 +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-mpc86xx
Wolfgang Denk [Fri, 11 Jan 2008 23:02:26 +0000 (00:02 +0100)]
Merge branch 'master' of git://denx.de/git/u-boot-mpc86xx

16 years agoMerge ../custodians
Wolfgang Denk [Fri, 11 Jan 2008 22:53:26 +0000 (23:53 +0100)]
Merge ../custodians

16 years agoFix compiler warning
Kumar Gala [Thu, 10 Jan 2008 08:22:05 +0000 (02:22 -0600)]
Fix compiler warning

main.c: In function 'readline_into_buffer':
main.c:927: warning: unused variable 'p_buf'

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
16 years agoAdd Fujitsu CoralP/Lime video driver
Anatolij Gustschin [Fri, 11 Jan 2008 13:30:01 +0000 (14:30 +0100)]
Add Fujitsu CoralP/Lime video driver

Signed-off-by: Anatolij Gustschin <agust@denx.de>
Signed-off-by: Rodolfo Giometti <giometti@linux.it>
16 years agoFix video console newline and carriage return handling
Anatolij Gustschin [Fri, 11 Jan 2008 01:39:47 +0000 (02:39 +0100)]
Fix video console newline and carriage return handling

Lines of the lenght CONSOLE_COLS or greater than CONSOLE_COLS
are not displayed correctly. This is an attempt to fix
this issue. Also add carriage return handling.

Signed-off-by: Anatolij Gustschin <agust@denx.de>
Signed-off-by: Rodolfo Giometti <giometti@linux.it>
16 years agoppc4xx: Fix sdram init on Sequoia boards
Stefan Roese [Fri, 11 Jan 2008 14:53:58 +0000 (15:53 +0100)]
ppc4xx: Fix sdram init on Sequoia boards

Clear possible errors in MCSR resulting from data-eye-search.
If not done, then we could get an interrupt later on when
exceptions are enabled.

Signed-off-by: Stefan Roese <sr@denx.de>
16 years agoppc4xx: Rework Lime support for lwmon5
Anatolij Gustschin [Fri, 11 Jan 2008 14:31:09 +0000 (15:31 +0100)]
ppc4xx: Rework Lime support for lwmon5

Rework Lime support for lwmon5 using new video driver

Signed-off-by: Anatolij Gustschin <agust@denx.de>
16 years agoppc4xx: Update PMC440 config file
Matthias Fuchs [Fri, 11 Jan 2008 13:55:16 +0000 (14:55 +0100)]
ppc4xx: Update PMC440 config file

Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
16 years agoppx4xx: Fix sdram init on PMC440 boards
Matthias Fuchs [Fri, 11 Jan 2008 13:55:08 +0000 (14:55 +0100)]
ppx4xx: Fix sdram init on PMC440 boards

Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
16 years agompc83xx: Fix the bug of 266MHz data rate DDR
Dave Liu [Thu, 10 Jan 2008 15:09:33 +0000 (23:09 +0800)]
mpc83xx: Fix the bug of 266MHz data rate DDR

The DDR doesn't work on the 266MHz data rate,
the patch fix the bug.

Signed-off-by: Dave Liu <daveliu@freescale.com>
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
16 years agompc83xx: Make the code more readable
Dave Liu [Thu, 10 Jan 2008 15:08:26 +0000 (23:08 +0800)]
mpc83xx: Make the code more readable

Format the code, make it more readable

Signed-off-by: Dave Liu <daveliu@freescale.com>
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
16 years agompc83xx: Reduce the latency of DDR
Dave Liu [Thu, 10 Jan 2008 15:07:23 +0000 (23:07 +0800)]
mpc83xx: Reduce the latency of DDR

Reduce the AL from 2 to 1 clock to improve the performance.

Signed-off-by: Dave Liu <daveliu@freescale.com>
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
16 years agompc83xx: Fix the wrong definition of MPC8315E
Dave Liu [Thu, 10 Jan 2008 15:06:05 +0000 (23:06 +0800)]
mpc83xx: Fix the wrong definition of MPC8315E

According to the latest user manual of MPC8315E,
1) The SVCOD of HRCWL is different than 837x
2) The SCCR has changes

Signed-off-by: Dave Liu <daveliu@freescale.com>
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
16 years agompc83xx: Fix the typo in mpc83xx.h
Dave Liu [Thu, 10 Jan 2008 15:05:00 +0000 (23:05 +0800)]
mpc83xx: Fix the typo in mpc83xx.h

The SPCR about TSEC priority is wrong.

Signed-off-by: Michael Barkowski <Michael.Barkowski@freescale.com>
Signed-off-by: Joe D'Abbraccio <Joe.D'abbraccio@freescale.com>
Signed-off-by: Dave Liu <daveliu@freescale.com>
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
16 years agompc83xx: Fix the typo in global data struct
Dave Liu [Thu, 10 Jan 2008 15:04:13 +0000 (23:04 +0800)]
mpc83xx: Fix the typo in global data struct

Fix the typo in global_data.h

Signed-off-by: Dave Liu <daveliu@freescale.com>
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
16 years agompc83xx: Remove cache config from config.h
Dave Liu [Thu, 10 Jan 2008 15:03:03 +0000 (23:03 +0800)]
mpc83xx: Remove cache config from config.h

clean up the cache config from configs.h of board

Signed-off-by: Dave Liu <daveliu@freescale.com>
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
16 years agompc83xx: add support for the MPC8360E-RDK
Anton Vorontsov [Wed, 9 Jan 2008 17:57:47 +0000 (20:57 +0300)]
mpc83xx: add support for the MPC8360E-RDK

This is MPC8360E based board with:
- 256MB fixed SDRAM;
- 8MB Intel Strata NOR flash;
- StMICRO 64MiB NAND flash;
- two 10/100/1000 ethernet ports connected via Broadcom
  BCM5481 PHYs;
- two 10/100 ethernet ports connected via National
  DP83848 PHYs;
- one PCI and one miniPCI slots;
- four serial ports (two NS16550-compatible, two UCCs);
- four USB ports working through MPC8360E "FHCI" USB controller;
- Fujitsu MB86277 graphics controller;
- Analog to Digital Converter/Touchscreen controller, AD7843
  connected to SPI.

Features not supported in this patch are:
- StMICRO 64MiB NAND flash (patch sent);
- MINT framebuffer initialization (patch is pending);
- Fetching production information from the EEPROM via I2C;
- FHCI USB;
- Two slow UCCs used as RS-485 UARTs.

Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
16 years agompc83xx: add "fsl, qe" compatible fixups
Anton Vorontsov [Wed, 9 Jan 2008 17:57:40 +0000 (20:57 +0300)]
mpc83xx: add "fsl, qe" compatible fixups

New device trees will use "fsl,qe" compatible properties.

Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
16 years agompc83xx: add missing CONFIG_HAS_ETH0 defines
Kim Phillips [Wed, 9 Jan 2008 21:24:06 +0000 (15:24 -0600)]
mpc83xx: add missing CONFIG_HAS_ETH0 defines

the new libfdt code only updates eth0 if CONFIG_HAS_ETH0
is defined; add the define to the missing board configs.

Thanks to Emilian Medve for finding this.

Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
16 years agoMerge commit 'wd/master'
Jon Loeliger [Thu, 10 Jan 2008 20:28:18 +0000 (14:28 -0600)]
Merge commit 'wd/master'

16 years ago86xx: Support 2GB DIMMs
Becky Bruce [Thu, 10 Jan 2008 20:00:28 +0000 (14:00 -0600)]
86xx: Support 2GB DIMMs

Configure the number of bits used to address the banks inside the SDRAM
device.  The default register value of 0 means 2 bits to address 4 banks.
Higher capacity devices like a 2GB DIMM require 3 bits to address 8 banks.

Signed-off-by: Becky Bruce <bgill@freescale.com>
16 years agoppc4xx: Make Sequoia boot vxWorks
Niklaus Giger [Thu, 10 Jan 2008 17:50:33 +0000 (18:50 +0100)]
ppc4xx: Make Sequoia boot vxWorks

vxWorks expects in
TLB 0 a entry for the Machine Check interrupt
TLB 1 a entry for the RAM
TLB 2 a entry for the EBC
TLB 3 a entry for the boot flash

After changing the baudrate to 9600 I had no problems to boot the
vxWorks image as distributed by WindRiver (Revision 2.0/1 from
June 18, 2007)

Signed-off-by: Niklaus Giger <niklaus.giger@netstal.com>
16 years agoppc4xx: Fix dflush() to restore DVLIM register
Larry Johnson [Thu, 10 Jan 2008 04:10:27 +0000 (23:10 -0500)]
ppc4xx: Fix dflush() to restore DVLIM register

Signed-off-by: Larry Johnson <lrj@acm.org>
16 years agoNios2: remove common/cmd_bdinfo.c unused variable.
Jean-Christophe PLAGNIOL-VILLARD [Thu, 10 Jan 2008 08:52:44 +0000 (03:52 -0500)]
Nios2: remove common/cmd_bdinfo.c unused variable.

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Scott McNutt <smcnutt@psyent.com>
16 years agoFix Ethernet init() return codes
Ben Warren [Wed, 9 Jan 2008 23:15:53 +0000 (18:15 -0500)]
Fix Ethernet init() return codes

Change return values of init() functions in all Ethernet drivers to conform
to the following:

    >=0: Success
    <0:  Failure

All drivers going forward should return 0 on success.  Current drivers that
return 1 on success were left as-is to minimize changes.

Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
Acked-by: Stefan Roese <sr@denx.de>
Acked-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Acked-by: Kim Phillips <kim.phillips@freescale.com>
Acked-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
Acked-By: Timur Tabi <timur@freescale.com>
16 years agoCoding Style cleanup; update CHANGELOG
Wolfgang Denk [Wed, 9 Jan 2008 23:55:14 +0000 (00:55 +0100)]
Coding Style cleanup; update CHANGELOG

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agoMerge branch 'master' of git://www.denx.de/git/u-boot-mpc85xx
Wolfgang Denk [Wed, 9 Jan 2008 23:49:59 +0000 (00:49 +0100)]
Merge branch 'master' of git://denx.de/git/u-boot-mpc85xx

16 years agoAdd QE brg freq and correct qe bus freq fdt update code
Kim Phillips [Wed, 9 Jan 2008 22:56:54 +0000 (16:56 -0600)]
Add QE brg freq and correct qe bus freq fdt update code

Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
Signed-off-by: Andy Fleming <afleming@freescale.com>
16 years agoMerge branch 'master' of git+ssh://10.10.0.7/home/wd/git/u-boot/master
Wolfgang Denk [Wed, 9 Jan 2008 22:43:10 +0000 (23:43 +0100)]
Merge branch 'master' of git+ssh://10.10.0.7/home/wd/git/u-boot/master

16 years agoRemove cache config from ATUM8548 and sbc8548 configs
Andy Fleming [Wed, 9 Jan 2008 22:34:51 +0000 (16:34 -0600)]
Remove cache config from ATUM8548 and sbc8548 configs

These boards weren't updated by Kumar's config patch because they
weren't in the tree, yet.

Signed-off-by: Andy Fleming <afleming@freescale.com>