oweals/u-boot.git
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>
16 years ago85xx: add ability to upload QE firmware
Timur Tabi [Mon, 7 Jan 2008 19:31:19 +0000 (13:31 -0600)]
85xx: add ability to upload QE firmware

Define the layout of a binary blob that contains a QE firmware and instructions
on how to upload it.  Add function qe_upload_firmware() to parse the blob and
perform the actual upload.  Add command-line command "qe fw" to take a firmware
blob in memory and upload it.  Update ft_cpu_setup() on 85xx to create the
'firmware' device tree node if U-Boot has uploaded a firmware.  Fully define
'struct rsp' in immap_qe.h to include the actual RISC Special Registers.

Signed-off-by: Timur Tabi <timur@freescale.com>
16 years ago85xx: Remove cache config from configs.h
Kumar Gala [Tue, 8 Jan 2008 07:22:21 +0000 (01:22 -0600)]
85xx: Remove cache config from configs.h

Either use the standard defines in asm/cache.h or grab the information
at runtime from the L1CFG SPR.

Also, minor cleanup in cache.h to make the code a bit more readable.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
16 years agompc85xx: Add support for ATUM8548 (updated)
robert lazarski [Fri, 21 Dec 2007 15:39:27 +0000 (10:39 -0500)]
mpc85xx: Add support for ATUM8548 (updated)

Add support for Instituto Atlantico's ATUM8548 board

Signed-off-by: robert lazarski <robertlazarski@gmail.com>
Signed-off-by: Andy Fleming <afleming@freescale.com>
16 years agompc85xx: Add support for ATUM8548 (updated)
robert lazarski [Fri, 21 Dec 2007 15:36:37 +0000 (10:36 -0500)]
mpc85xx: Add support for ATUM8548 (updated)

Add support for Instituto Atlantico's ATUM8548 board

Signed-off-by: robert lazarski <robertlazarski@gmail.com>
16 years agompc85xx: Add support for SBC8548 (updated)
Joe Hamman [Thu, 13 Dec 2007 12:45:14 +0000 (06:45 -0600)]
mpc85xx: Add support for SBC8548 (updated)

Add support for Wind River's SBC8548 reference board.

Signed-off by: Joe Hamman <joe.hamman@embeddedspecialties.com>

16 years agompc85xx: Add support for SBC8548 (updated)
Joe Hamman [Thu, 13 Dec 2007 12:45:08 +0000 (06:45 -0600)]
mpc85xx: Add support for SBC8548 (updated)

Add support for Wind River's SBC8548 reference board.

Signed-off by: Joe Hamman <joe.hamman@embeddedspecialties.com>
Signed-off by: Andy Fleming <afleming@freescale.com>

16 years agoMPC8568E-MDS: set up QE pario for UART1
Anton Vorontsov [Mon, 22 Oct 2007 15:58:19 +0000 (19:58 +0400)]
MPC8568E-MDS: set up QE pario for UART1

To use UART1 on the MPC8568E-MDS, QE pario pins PC[0:3] should
be set up appropriately.

Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
16 years agoMPC8568E-MDS: reset UCCs to use them reliably
Anton Vorontsov [Mon, 22 Oct 2007 14:12:46 +0000 (18:12 +0400)]
MPC8568E-MDS: reset UCCs to use them reliably

In order to use GETH1 and GETH2 on the MPC8568E-MDS, we should reset
UCCs.

p.s Similar code exists in the Linux kernel board file (for capability
reasons with older U-Boots), but should be removed some day.

Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
16 years agoReworked FSL Book-E TLB macros to be more readable
Kumar Gala [Wed, 19 Dec 2007 07:18:15 +0000 (01:18 -0600)]
Reworked FSL Book-E TLB macros to be more readable

The old macros made it difficult to know what WIMGE and perm bits
were set for a TLB entry.  Actually use the bit masks for these items
since they are only a single bit.

Also moved the macros into mmu.h out of e500.h since they aren't specific
to e500.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
16 years agoUse FSL Book-E MMU macros from Linux Kernel
Kumar Gala [Wed, 19 Dec 2007 05:21:51 +0000 (23:21 -0600)]
Use FSL Book-E MMU macros from Linux Kernel

Grab the FSL Book-E MAS register macros from Linux.  Also added
defines for page sizes up to 4TB and removed SHAREN since it doesnt
really exist.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
16 years agoFix my own merge stupidity
Andy Fleming [Wed, 9 Jan 2008 19:51:32 +0000 (13:51 -0600)]
Fix my own merge stupidity

Way back in August I merged Heiko's patch:
566a494f592: [PCS440EP] upgrade the PCS440EP board

with Jon's CONFIG_COMMANDS patches.

This was done in commit: 6bf6f114dcdd97ec3f80c2761ed40e31229d6b78

However, in the process, I left out some of Heiko's good changes.

Now Heiko's and Jon's patches are properly merged in fat_register_device()

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

16 years agoMerge branch 'master' of git://www.denx.de/git/u-boot-freebsd
Wolfgang Denk [Wed, 9 Jan 2008 22:06:15 +0000 (23:06 +0100)]
Merge branch 'master' of git://denx.de/git/u-boot-freebsd

16 years agoMerge branch 'master' of git+ssh://10.10.0.7/home/wd/git/u-boot/master
Wolfgang Denk [Wed, 9 Jan 2008 21:53:39 +0000 (22:53 +0100)]
Merge branch 'master' of git+ssh://10.10.0.7/home/wd/git/u-boot/master

16 years agoExpose parse_line() globally.
James Yang [Wed, 9 Jan 2008 17:17:49 +0000 (11:17 -0600)]
Expose parse_line() globally.

Add new function readline_into_buffer() that allows the
output of readline to be put into a pointer to char buffer.

This refactoring allows other functions besides the
main command loop to also use the same input mechanism.

Signed-off-by: James Yang <James.Yang@freescale.com>
Acked-by: Jon Loeliger <jdl@freescale.com>
16 years agoMerge branch 'master' of git://www.denx.de/git/u-boot-usb
Wolfgang Denk [Wed, 9 Jan 2008 21:41:02 +0000 (22:41 +0100)]
Merge branch 'master' of git://denx.de/git/u-boot-usb

16 years agotrivial: fix consequences of a bad merge
Guennadi Liakhovetski [Wed, 9 Jan 2008 00:15:25 +0000 (01:15 +0100)]
trivial: fix consequences of a bad merge

Fix what looks like a merge artifact.

Signed-off-by: Guennadi Liakhovetski <lg@denx.de>
16 years agoAdd Ctrl combo key support to usb keyboard driver.
Zhang Wei [Thu, 3 Jan 2008 02:51:15 +0000 (10:51 +0800)]
Add Ctrl combo key support to usb keyboard driver.

Ctrl combo key support is added, which is very useful to input Ctrl-C
for interrupt current job.
Also add usb_event_poll() calling to usb_kbd_testc(), which can get
key input when tstc() is called.

Signed-off-by: Zhang Wei <wei.zhang@freescale.com>
16 years agofix various comments
Marcel Ziswiler [Sun, 30 Dec 2007 02:30:56 +0000 (03:30 +0100)]
fix various comments

Signed-off-by: Marcel Ziswiler <marcel@ziswiler.com>
16 years agofix comments with new drivers organization
Marcel Ziswiler [Sun, 30 Dec 2007 02:30:46 +0000 (03:30 +0100)]
fix comments with new drivers organization

Signed-off-by: Marcel Ziswiler <marcel@ziswiler.com>
16 years agoRemove the obsolete terse version of do_mii()
Shinya Kuribayashi [Fri, 28 Dec 2007 03:50:59 +0000 (12:50 +0900)]
Remove the obsolete terse version of do_mii()

We now have more useful version of do_mii() and everybody use it.
Gerald Van Baren says:

> When I originally wrote the mii command 6(!) years ago, I wrote a
> verbose version that printed human readable decomposition of the flags,
> etc., and a terse one that didn't print as much stuff and thus had a
> smaller memory footprint.
>
> It sounds like the terse version has withered and died, apparently
> people are only using the verbose version (which is very understandable,
> I do myself).

Signed-off-by: Shinya Kuribayashi <shinya.kuribayashi@necel.com>
Signed-off-by: Gerald Van Baren <vanbaren@cideas.com>
16 years agoDo not reference sha1.c when building mkimage.
Mike Frysinger [Thu, 27 Dec 2007 18:42:56 +0000 (13:42 -0500)]
Do not reference sha1.c when building mkimage.

remove sha1.o from mkimage linking since it isn't actually used.

Signed-Off-By: Mike Frysinger <vapier@gentoo.org>
16 years agocommon/cmd_mii.c: Add sanity argc check
Shinya Kuribayashi [Thu, 27 Dec 2007 06:39:54 +0000 (15:39 +0900)]
common/cmd_mii.c: Add sanity argc check

If type mii command without arguments, we suffer from uninitialized argv[]
entries; for example we MIPS get stuck by TLB error.

Signed-off-by: Shinya Kuribayashi <shinya.kuribayashi@necel.com>
16 years agoMerge branch 'master' of /home/wd/git/u-boot/master/
Wolfgang Denk [Wed, 9 Jan 2008 20:34:46 +0000 (21:34 +0100)]
Merge branch 'master' of /home/wd/git/u-boot/master/

16 years agoAPI for external applications.
Rafal Jaworowski [Wed, 9 Jan 2008 18:39:36 +0000 (19:39 +0100)]
API for external applications.

This is an API for external (standalone) applications running on top of
U-Boot, and is meant to be more extensible and robust than the existing
jumptable mechanism. It is similar to UNIX syscall approach. See api/README
for more details.

Included is the demo application using this new framework (api_examples).

Please note this is still an experimental feature, and is turned off by
default.

Signed-off-by: Rafal Jaworowski <raj@semihalf.com>
16 years ago86xx: Remove cache config from configs.h
Jon Loeliger [Wed, 9 Jan 2008 18:14:55 +0000 (12:14 -0600)]
86xx: Remove cache config from configs.h

Just use the standard defines in asm/cache.h.

Signed-off-by: Jon Loeliger <jdl@freescale.com>
16 years agoGlobalize envmatch()
Rafal Jaworowski [Wed, 9 Jan 2008 17:05:27 +0000 (18:05 +0100)]
Globalize envmatch()

The newly introduced API (routines related to env vars) will need to call
it.

Signed-off-by: Rafal Zabdyr <armo@semihalf.com>
16 years agoConvert MPC8610HPCD to use libfdt.
Jon Loeliger [Fri, 4 Jan 2008 18:07:27 +0000 (12:07 -0600)]
Convert MPC8610HPCD to use libfdt.

Assumes the presence of the aliases node in the DTS to
locate the pci and serial nodes for fixups.

Use consistent fdtaddr and fdtfile in environment variables.

Signed-off-by: Jon Loeliger <jdl@freescale.com>
16 years ago8610: Fix lingering compile warnings.
Jon Loeliger [Fri, 4 Jan 2008 17:58:23 +0000 (11:58 -0600)]
8610: Fix lingering compile warnings.

Turn off DEBUG.

Signed-off-by: Jon Loeliger <jdl@freescale.com>
16 years agoCoding Style cleanup, update CHANGELOG
Wolfgang Denk [Wed, 9 Jan 2008 14:14:46 +0000 (15:14 +0100)]
Coding Style cleanup, update CHANGELOG

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agofix easylogo on big endian dev systems
Mike Frysinger [Tue, 18 Dec 2007 09:29:55 +0000 (04:29 -0500)]
fix easylogo on big endian dev systems

didnt realize how out of shape easylogo actually was until i tried using it.
this patch does byte swapping as need be on the input tga header since the tga
is in little endian but the host could just as well be big endian.  i didnt
bother using bswap macros or such stuff from system headers as nothing in
POSIX dictates byte swapping functionality.

Signed-Off-By: Mike Frysinger <vapier@gentoo.org>
16 years agocleanup easylogo
Mike Frysinger [Tue, 18 Dec 2007 08:23:25 +0000 (03:23 -0500)]
cleanup easylogo

- make the Makefile not suck
- include proper headers for prototypes
- fix obvious broken handling of strchr() when handling '.' in filenames

Signed-Off-By: Mike Frysinger <vapier@gentoo.org>