]> git.sur5r.net Git - u-boot/log
u-boot
16 years agoEnable ULi1575 Ethernet support in 8610HPCD config
Roy Zang [Thu, 13 Sep 2007 10:52:28 +0000 (18:52 +0800)]
Enable ULi1575 Ethernet support in 8610HPCD config

Signed-off-by: Roy Zang <tie-fei.zang@freescale.com>
Acked-by: Jon Loeliger <jdl@freescale.com>
16 years agoMerge branch 'mpc8610'
Jon Loeliger [Wed, 7 Nov 2007 20:17:05 +0000 (14:17 -0600)]
Merge branch 'mpc8610'

16 years agoMerge branch 'for-1.3.0'
Jon Loeliger [Wed, 7 Nov 2007 20:16:49 +0000 (14:16 -0600)]
Merge branch 'for-1.3.0'

16 years agoMerge commit 'remotes/wd/master'
Jon Loeliger [Wed, 7 Nov 2007 20:16:14 +0000 (14:16 -0600)]
Merge commit 'remotes/wd/master'

16 years ago8610: Add console frame buffer support to FSL 8610 DIU driver.
York Sun [Wed, 31 Oct 2007 19:59:04 +0000 (14:59 -0500)]
8610: Add console frame buffer support to FSL 8610 DIU driver.

Add cfb console support to FSL 8610 DIU driver.
Inspect board version from PIXIS to obtain correct pixel format.

Use #define CONFIG_VIDEO in config file to enable fb console.

To switch monitor, set monitor variable to
0 - DVI, 1 - Single link LVDS, 2 - Double link LVDS
followed by "diufb init".

Preserve logo bitmap at the top of the fb console.

Signed-off-by: York Sun <yorksun@freescale.com>
Signed-off-by: Jon Loeliger <jdl@freescale.com>
16 years ago8610: Add 8610 DIU display driver
York Sun [Mon, 29 Oct 2007 18:58:39 +0000 (13:58 -0500)]
8610: Add 8610 DIU display driver

1280x1024 and 1024x768 @ 32 bpp are supported now.
DVI, Single-link LVDS, Double-link LVDS are all supported.

Environmental variable "monitor" is used to specify monitor port.

A new command "diufb" is introduced to reinitialize monitor
and display a BMP file in the memory. So far, 1-bit, 4-bit,
8-bit and 24-bit BMP formats are supported.

    diufb init
        - initialize the diu driver
    Enable the port specified in the environmental variable "monitor"

    diufb addr
        - display bmp file in memory.
    The bmp image should be no bigger than the resolution, 1280x1024
    for DVI and double-link LVDS, 1024x768 for single-link LVDS.

Note, this driver allocate memory but doesn't free it after use
It is written on purpose -- to avoid a failure of reallocation
due to memory fragement.

ECC of DDR is disabled for DIU performance. L2 data cache is also disabled.

Signed-off-by: York Sun <yorksun@freescale.com>
Signed-off-by: Jon loeliger <jdl@freescale.com>
16 years agoFSL: Add a freescale bitmap logo.
York Sun [Wed, 31 Oct 2007 15:43:59 +0000 (10:43 -0500)]
FSL: Add a freescale bitmap logo.

This Freescale logo is a 340 x 128 x 4bpp BMP file
that can be displayed by the DIU Framebuffer driver.

Signed-off-by: York Sun <yorksun@freescale.com>
Signed-off-by: Jon Loeliger <jdl@freescale.com>
16 years ago8610: Make some extra debug environment variables conditional.
York Sun [Mon, 29 Oct 2007 18:57:53 +0000 (13:57 -0500)]
8610: Make some extra debug environment variables conditional.

One may #define ENV_DEBUG to get them back again.

Signed-off-by: York Sun <yorksun@freescale.com>
16 years ago8610: Actually enable pixis_reset CONFIGs
Jason Jin [Mon, 29 Oct 2007 11:26:21 +0000 (19:26 +0800)]
8610: Actually enable pixis_reset CONFIGs

Signed-off-by: Jason Jin <Jason.jin@freescale.com>
16 years agoFix the BAT definition of PCI IO on 8610 board
Jason Jin [Fri, 26 Oct 2007 10:31:59 +0000 (18:31 +0800)]
Fix the BAT definition of PCI IO on 8610 board

The address in the BAT register is aligned with the BAT size.
The original definition actually did not define BAT for PCIE2 IO.
This patch fix this.

Signed-off-by: Jason Jin <Jason.jin@freescale.com>
16 years agoUnify pixis_reset altbank across board families
Jason Jin [Mon, 29 Oct 2007 11:26:21 +0000 (19:26 +0800)]
Unify pixis_reset altbank across board families

Basically, refactor the CFG_PIXIS_VBOOT_MASK values
into the separate board config files.

Signed-off-by: Jason Jin <Jason.jin@freescale.com>
Signed-off-by: Jon Loeliger <jdl@freescale.com>
16 years agomake 8610 board use pixis reset
Jason Jin [Fri, 26 Oct 2007 10:32:00 +0000 (18:32 +0800)]
make 8610 board use pixis reset

Signed-off-by: Jason Jin <Jason.jin@freescale.com>
16 years ago86xx: Fix broken variable reference when #def DEBUGing.
Jon Loeliger [Thu, 1 Nov 2007 17:23:29 +0000 (12:23 -0500)]
86xx: Fix broken variable reference when #def DEBUGing.

Sometimes you can't reference the DDR2 controller variables.

Signed-off-by: Jon Loeliger <jdl@freescale.com>
16 years agoMerge commit 'remotes/wd/master' into newmaster
Jon Loeliger [Wed, 7 Nov 2007 20:08:15 +0000 (14:08 -0600)]
Merge commit 'remotes/wd/master' into newmaster

17 years agoCleanup coding style; update CHANGELOG
Wolfgang Denk [Sat, 3 Nov 2007 22:09:27 +0000 (23:09 +0100)]
Cleanup coding style; update CHANGELOG

Signed-off-by: Wolfgang Denk <wd@denx.de>
17 years agofix wording in README
Bruce Adler [Fri, 2 Nov 2007 20:15:42 +0000 (13:15 -0700)]
fix wording in README

Changed the wording to properly describe the shadowing
of the environment from ROM to RAM

Signed-off-by: Bruce Adler <bruce.adler@acm.org>
17 years agoblackfin: Move `-D__BLACKFIN__' to $(ARCH)_config.mk
Shinya Kuribayashi [Tue, 30 Oct 2007 17:18:15 +0000 (02:18 +0900)]
blackfin: Move `-D__BLACKFIN__' to $(ARCH)_config.mk

Signed-off-by: Shinya Kuribayashi <skuribay@ruby.dti.ne.jp>
17 years agoTrimmed some variables in ne2000.c
Vlad Lungu [Thu, 25 Oct 2007 13:08:14 +0000 (16:08 +0300)]
Trimmed some variables in ne2000.c

Signed-off-by: Vlad Lungu <vlad@comsys.ro>
17 years agoFix the issue of usb_kbd driver missing the scan code of key 'z'.
Zhang Wei [Thu, 25 Oct 2007 09:51:27 +0000 (17:51 +0800)]
Fix the issue of usb_kbd driver missing the scan code of key 'z'.

The scan code of the key 'z' is 0x1d, which should be handled.

The change has be tested on NOVATEK USB keyboard and ULI PCI OHCI
controller.

Signed-off-by: Zhang Wei <wei.zhang@freescale.com>
17 years agoFix USB support issue for MPC8641HPCN board.
Zhang Wei [Thu, 25 Oct 2007 09:30:04 +0000 (17:30 +0800)]
Fix USB support issue for MPC8641HPCN board.

The configuration file has already enabled USB, but it
missed definition of CFG_OHCI_SWAP_REG_ACCESS, the USB
on MPC8641HPCN can not work because of the wrong USB
register endian.

And add the USB command to U-Boot commands list.

Signed-off-by: Zhang Wei <wei.zhang@freescale.com>
17 years agoUse config_cmd_default.h instead of config_cmd_all.h
Jean-Christophe PLAGNIOL-VILLARD [Wed, 24 Oct 2007 16:16:01 +0000 (18:16 +0200)]
Use config_cmd_default.h instead of config_cmd_all.h

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
17 years agoTQM5200: Call usb_cpu_init() during board init
Marian Balakowicz [Tue, 23 Oct 2007 23:37:36 +0000 (01:37 +0200)]
TQM5200: Call usb_cpu_init() during board init

usb_cpu_init() configures GPS USB pins, clocks, etc. and
is required for proper operation of kernel USB subsystem.
This setup was previously done in the kernel by the fixup
code which is being removed, thus low level init must be
done by U-boot now.

Signed-off-by: Marian Balakowicz <m8@semihalf.com>
17 years agoFix typo in nfs.c
Guennadi Liakhovetski [Tue, 23 Oct 2007 14:25:50 +0000 (16:25 +0200)]
Fix typo in nfs.c

An obvious typo. Originally fixed in linkstation u-boot port.

Signed-off-by: Guennadi Liakhovetski <lg@denx.de>
17 years agoFix a typo in cpu/mpc824x/interrupts.c
Guennadi Liakhovetski [Tue, 23 Oct 2007 12:35:05 +0000 (14:35 +0200)]
Fix a typo in cpu/mpc824x/interrupts.c

Since December 2003 the timer_interrupt_cpu() function in
cpu/mpc824x/interrupts.c contains what seems to be a superfluous
parameter. Remove it.

Signed-off-by: Guennadi Liakhovetski <lg@denx.de>
17 years agoadd ft_cpu_setup(..) on mpc8260
Sergej Stepanov [Wed, 17 Oct 2007 09:13:51 +0000 (11:13 +0200)]
add ft_cpu_setup(..) on mpc8260

Add ft_cpu_setup(..)-function to adapt it for use with libfdt
based on code from mpc5xxx

Sigend-off-by: Sergej Stepanov <Sergej.Stepanov@ids.de>
--

17 years agochanges for IDS8247 board support
Sergej Stepanov [Wed, 17 Oct 2007 09:18:42 +0000 (11:18 +0200)]
changes for IDS8247 board support

To get the IDS8247 board working following are done:
 - FCC2 is deactivated
 - FCC1 is activated
 - I2C is activated
 - CFI driver is activated
 - Adapted for use with LIBFDT

Signed-off-by: Sergej Stepanov <Sergej.Stepanov@ids.de>
--

17 years agoMerge commit 'remotes/wd/master'
Jon Loeliger [Fri, 2 Nov 2007 20:22:01 +0000 (15:22 -0500)]
Merge commit 'remotes/wd/master'

17 years agoMerge branch 'master' of /home/wd/git/u-boot/work
Wolfgang Denk [Fri, 2 Nov 2007 14:09:22 +0000 (15:09 +0100)]
Merge branch 'master' of /home/wd/git/u-boot/work

17 years agoMerge branch 'master' of /home/wd/git/u-boot/custodians
Wolfgang Denk [Fri, 2 Nov 2007 14:09:10 +0000 (15:09 +0100)]
Merge branch 'master' of /home/wd/git/u-boot/custodians

17 years agoATSTK1002: Remove default ethernet addresses
Haavard Skinnemoen [Wed, 24 Oct 2007 13:48:37 +0000 (15:48 +0200)]
ATSTK1002: Remove default ethernet addresses

Wolfgang is right: It's not a good idea to set up default initial
ethernet addresses for a board, even though they belong to the local
range.

This will change the failure mode from "IT manager screams at you for
using duplicate ethernet addresses" to a nice error message explaining
that the ethernet address hasn't been set properly.

Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
17 years agoDHCP Client Fix
Justin Flammia [Mon, 29 Oct 2007 21:40:35 +0000 (17:40 -0400)]
DHCP Client Fix

This is a multi-part message in MIME format.

commit e6e505eae94ed721e123e177489291fc4544b7b8
Author: Justin Flammia <jflammia@savantav.com>
Date:   Mon Oct 29 17:19:03 2007 -0400

    Found a bug in the way the DHCP Request packet is built, where the IP address
    that is offered by the server is bound to prematurely. This patch is a fix of
    that bug where the IP address offered by the DHCP server is not used until
    after the DHCP ACK from the server is received.

Signed-off-by: Justin Flammia <jflammia@savantav.com>
Signed-off-by: Ben Warren <bwarren@qstreams.com>
17 years agoMerge branch 'master' of git://www.denx.de/git/u-boot-coldfire
Wolfgang Denk [Thu, 1 Nov 2007 21:58:59 +0000 (22:58 +0100)]
Merge branch 'master' of git://www.denx.de/git/u-boot-coldfire

17 years agoMerge branch 'master' of git://www.denx.de/git/u-boot-arm
Wolfgang Denk [Thu, 1 Nov 2007 21:57:33 +0000 (22:57 +0100)]
Merge branch 'master' of git://www.denx.de/git/u-boot-arm

17 years agoMerge branch 'master' of git://www.denx.de/git/u-boot-tq-group
Wolfgang Denk [Thu, 1 Nov 2007 21:56:16 +0000 (22:56 +0100)]
Merge branch 'master' of git://www.denx.de/git/u-boot-tq-group

17 years agoMerge branch 'master' of /home/wd/git/u-boot/custodians
Wolfgang Denk [Thu, 1 Nov 2007 21:55:23 +0000 (22:55 +0100)]
Merge branch 'master' of /home/wd/git/u-boot/custodians

17 years agoMerge branch 'master' of git://www.denx.de/git/u-boot-mips
Wolfgang Denk [Thu, 1 Nov 2007 21:54:31 +0000 (22:54 +0100)]
Merge branch 'master' of git://www.denx.de/git/u-boot-mips

17 years agoMerge branch 'master' of git://www.denx.de/git/u-boot-mpc85xx
Wolfgang Denk [Thu, 1 Nov 2007 21:38:01 +0000 (22:38 +0100)]
Merge branch 'master' of git://www.denx.de/git/u-boot-mpc85xx

17 years agoColdFire 54455: Fix correct boot location for atmel and intel
TsiChungLiew [Thu, 25 Oct 2007 22:16:22 +0000 (17:16 -0500)]
ColdFire 54455: Fix correct boot location for atmel and intel

Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
17 years agoColdFire: Fix build error when CONFIG_WATCHDOG is defined
TsiChungLiew [Thu, 25 Oct 2007 22:14:00 +0000 (17:14 -0500)]
ColdFire: Fix build error when CONFIG_WATCHDOG is defined

Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
17 years agoColdFire 5329: Assign correct SDRAM size and fix cache
TsiChungLiew [Thu, 25 Oct 2007 22:12:36 +0000 (17:12 -0500)]
ColdFire 5329: Assign correct SDRAM size and fix cache

Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
17 years agoColdFire 5253: Assign correct SDRAM size
TsiChungLiew [Thu, 25 Oct 2007 22:10:23 +0000 (17:10 -0500)]
ColdFire 5253: Assign correct SDRAM size

Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
17 years agoColdFire 5282: Fix external flash boot and return dramsize
TsiChungLiew [Thu, 25 Oct 2007 22:09:17 +0000 (17:09 -0500)]
ColdFire 5282: Fix external flash boot and return dramsize

Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
17 years agoTQM5200: increase kernel_addr_r and fdt_addr_r (hinted by Wolfgang Denk).
Bartlomiej Sieka [Thu, 25 Oct 2007 15:20:01 +0000 (17:20 +0200)]
TQM5200: increase kernel_addr_r and fdt_addr_r (hinted by Wolfgang Denk).

Signed-off-by: Bartlomiej Sieka <tur@semihalf.com>
17 years agoMerge branch 'motionpro_ng' of /home/tur/git/u-boot
Wolfgang Denk [Wed, 24 Oct 2007 09:05:28 +0000 (11:05 +0200)]
Merge branch 'motionpro_ng' of /home/tur/git/u-boot

17 years agoTQM5200: fix spurious characters on second serial interface
Martin Krause [Wed, 24 Oct 2007 06:42:25 +0000 (08:42 +0200)]
TQM5200: fix spurious characters on second serial interface

With this patch PSC3 is configured as UART. This is done, because if
the pins of PSC3 are not configured at all (-> all pins are GPI),
due to crosstalk, spurious characters may be send over the RX232_2_TXD
signal line.

Signed-off-by: Martin Krause <martin.krause@tqs.de>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
17 years agoTQM5200S: fix commands for STK52xx base board because of missing SM501 grafic controller
Martin Krause [Wed, 24 Oct 2007 06:41:27 +0000 (08:41 +0200)]
TQM5200S: fix commands for STK52xx base board because of missing SM501 grafic controller

Some commands for the STK52xx base board try to access the SM501 grafic
controller. But the TQM5200S has no grafic controller (only the TQM5200
and the TQM5200B have). This patch deactivates the commands accessing
the SM501 for the TQM5200S.

Signed-off-by: Martin Krause <martin.krause@tqs.de>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
17 years agoTQM5200: fix spurious characters on second serial interface
Martin Krause [Mon, 22 Oct 2007 14:45:53 +0000 (16:45 +0200)]
TQM5200: fix spurious characters on second serial interface

With this patch PSC3 is configured as UART. This is done, because if
the pins of PSC3 are not configured at all (-> all pins are GPI),
due to crosstalk, spurious characters may be send over the RX232_2_TXD
signal line.

Signed-off-by: Martin Krause <martin.krause@tqs.de>
17 years agoTQM5200S: fix commands for STK52xx base board because of missing SM501 grafic controller
Martin Krause [Mon, 22 Oct 2007 14:40:06 +0000 (16:40 +0200)]
TQM5200S: fix commands for STK52xx base board because of missing SM501 grafic controller

Some commands for the STK52xx base board try to access the SM501 grafic
controller. But the TQM5200S has no grafic controller (only the TQM5200
and the TQM5200B have). This patch deactivates the commands accessing
the SM501 for the TQM5200S.

Signed-off-by: Martin Krause <martin.krause@tqs.de>
17 years agoMips: Fix string functions differ prototype declaration
Jean-Christophe PLAGNIOL-VILLARD [Sun, 21 Oct 2007 07:14:28 +0000 (09:14 +0200)]
Mips: Fix string functions differ prototype declaration

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
17 years agofsl_pci_init enable COMMAND_MEMORY if inbound window
Ed Swarthout [Fri, 19 Oct 2007 22:51:40 +0000 (17:51 -0500)]
fsl_pci_init enable COMMAND_MEMORY if inbound window

Patch 16e23c3f removed PCSRBAR allocation.  But passing zero windows
to pciauto_setup_device has the side effect of not getting
COMMAND_MEMORY set.

Signed-off-by: Ed Swarthout <Ed.Swarthout@freescale.com>
17 years agodelta: Fix OHCI_REGS_BASE undeclared and wait_ms implicit declaration
Jean-Christophe PLAGNIOL-VILLARD [Fri, 19 Oct 2007 08:55:24 +0000 (10:55 +0200)]
delta: Fix OHCI_REGS_BASE undeclared and wait_ms implicit declaration

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
17 years agofix warning: no return statement in function returning non-void
Jean-Christophe PLAGNIOL-VILLARD [Fri, 19 Oct 2007 06:10:15 +0000 (08:10 +0200)]
fix warning: no return statement in function returning non-void

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
17 years agoxsengine: Fix no partition type specified, use DOS as default
Jean-Christophe PLAGNIOL-VILLARD [Fri, 19 Oct 2007 04:33:45 +0000 (06:33 +0200)]
xsengine: Fix no partition type specified, use DOS as default

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
17 years agolubbock: Fix no partition type specified, use DOS as default
Jean-Christophe PLAGNIOL-VILLARD [Thu, 18 Oct 2007 22:24:59 +0000 (00:24 +0200)]
lubbock: Fix no partition type specified, use DOS as default

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
17 years agoCoding style: keep lists sorted; update CHANGELOG
Wolfgang Denk [Tue, 23 Oct 2007 14:50:03 +0000 (16:50 +0200)]
Coding style: keep lists sorted; update CHANGELOG

Signed-off-by: Wolfgang Denk <wd@denx.de>
17 years agoFix missing drivers makefile entries ds1722.c mw_eeprom.c
Jean-Christophe PLAGNIOL-VILLARD [Thu, 18 Oct 2007 22:09:05 +0000 (00:09 +0200)]
Fix missing drivers makefile entries ds1722.c mw_eeprom.c

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
17 years agoFix warning differ in signedness in board/innokom/innokom.c
Jean-Christophe PLAGNIOL-VILLARD [Thu, 18 Oct 2007 22:07:39 +0000 (00:07 +0200)]
Fix warning differ in signedness in board/innokom/innokom.c

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
17 years agofix pxa255_idp board
Marcel Ziswiler [Thu, 18 Oct 2007 22:25:33 +0000 (00:25 +0200)]
fix pxa255_idp board

The pxa255_idp being an old unmaintained board showed several issues:
1. CONFIG_INIT_CRITICAL was still defined.
2. Neither CONFIG_MAC_PARTITION nor CONFIG_DOS_PARTITION was defined.
3. Symbol flash_addr was undeclared.
4. The boards lowlevel_init function was still called memsetup.
5. The TEXT_BASE was still 0xa3000000 rather than 0xa3080000.
6. Using -march=armv5 instead of -march=armv5te resulted in lots of
'target CPU does not support interworking' warnings on recent compilers.
7. The PXA's serial driver redefined FFUART, BTUART and STUART used as
indexes rather than the register definitions from the pxa-regs header
file. Renamed them to FFUART_INDEX, BTUART_INDEX and STUART_INDEX to
avoid any ambiguities.
8. There were several redefinition warnings concerning ICMR, OSMR3,
OSCR, OWER, OIER, RCSR and CCCR in the PXA's assembly start file.
9. The board configuration file was rather outdated.
10. The part header file defined the vendor, product and revision arrays
as unsigned chars instead of just chars in the block_dev_desc_t
structure.

Signed-off-by: Marcel Ziswiler <marcel@ziswiler.com>
17 years agoMake MPC8266ADS command selection more robust
Rune Torgersen [Wed, 17 Oct 2007 16:56:31 +0000 (11:56 -0500)]
Make MPC8266ADS command selection more robust

Fix MPC8266 command line definition so it won't break when new commands
are added to u-boot.
Signed-off-by Rune Torgersen <runet@innovsys.com>

17 years agoMotion-PRO: Update configuration to accomodate next generation board.
Bartlomiej Sieka [Tue, 23 Oct 2007 11:14:10 +0000 (13:14 +0200)]
Motion-PRO: Update configuration to accomodate next generation board.

New board has faster oscillator and a different Flash chip. This affects:
- CFG_MPC5XXX_CLKIN
- SDRAM timings
- Flash CS configuration (timings)
- Flash sector size, and thus MTD partition layout
- malloc() arena size (due to bigger Flash sectors)
- smaller memory test range (due to bigger malloc() arena)

This patch also enables more extensive memory testing via "mtest".

Signed-off-by: Bartlomiej Sieka <tur@semihalf.com>
17 years agoMotion-PRO: Add setting of SDelay reg. to SDRAM controller configuration.
Bartlomiej Sieka [Tue, 23 Oct 2007 09:36:07 +0000 (11:36 +0200)]
Motion-PRO: Add setting of SDelay reg. to SDRAM controller configuration.

Per AN3221 (MPC5200B SDRAM Initialization and Configuration), the SDelay
register must be written a value of 0x00000004 as the first step of the
SDRAM contorller configuration.

Signed-off-by: Bartlomiej Sieka <tur@semihalf.com>
17 years agoMove PL01* serial drivers to drivers/serial and adjust Makefiles.
Peter Pearse [Tue, 23 Oct 2007 09:22:16 +0000 (10:22 +0100)]
Move PL01* serial drivers to drivers/serial and adjust Makefiles.

17 years agoMerge branch 'u-boot' of /home/mkr/git/u-boot-tq-group into bugfix
Martin Krause [Tue, 23 Oct 2007 06:30:06 +0000 (08:30 +0200)]
Merge branch 'u-boot' of /home/mkr/git/u-boot-tq-group into bugfix

17 years ago[MIPS] Fix UNCACHED_SDRAM
Vlad Lungu [Sun, 21 Oct 2007 13:10:10 +0000 (22:10 +0900)]
[MIPS] Fix UNCACHED_SDRAM

PHYSADDR is for physical address, KSEG1ADDR is for uncached.

Signed-off-by: Vlad Lungu <vlad@comsys.ro>
Signed-off-by: Shinya Kuribayashi <shinya.kuribayashi@necel.com>
17 years ago[MIPS] Add PIC-related switches to PLATFORM_{CPP,LD}FLAGS and cleanup
Shinya Kuribayashi [Sun, 21 Oct 2007 12:30:42 +0000 (21:30 +0900)]
[MIPS] Add PIC-related switches to PLATFORM_{CPP,LD}FLAGS and cleanup

Signed-off-by: Shinya Kuribayashi <shinya.kuribayashi@necel.com>
17 years ago[MIPS] u-boot.lds: Define _gp in a standard manner
Shinya Kuribayashi [Sun, 21 Oct 2007 01:55:37 +0000 (10:55 +0900)]
[MIPS] u-boot.lds: Define _gp in a standard manner

Signed-off-by: Shinya Kuribayashi <shinya.kuribayashi@necel.com>
17 years ago[MIPS] Fix $gp usage
Shinya Kuribayashi [Sun, 21 Oct 2007 01:55:36 +0000 (10:55 +0900)]
[MIPS] Fix $gp usage

Now we load $gp with _GLOBAL_OFFSET_TABLE_, but this is incorrect use.
As a general principle, we should use _gp for $gp.

Thanks to linker script's help we fortunately have _gp which equals to
_GLOBAL_OFFSET_TABLE_. But once _gp gets out of alignment, we will not
be able to access to GOT entires, global variables and procedure entry
points. The right thing to do is to use _gp.

This patch also introduce a new symbol `.gpword _GLOBAL_OFFSET_TABLE_'
which holds the offset from _gp. When updating GOT entries, we use this
offset and _gp to calculate the final _GLOBAL_OFFSET_TABLE_.

This patch is originally submitted by Vlad Lungu <vlad@comsys.ro>, then
I made some change to leave over num_got_entries.

Signed-off-by: Shinya Kuribayashi <shinya.kuribayashi@necel.com>
Cc: Vlad Lungu <vlad@comsys.ro>
17 years ago[MIPS] u-boot.lds: Fix __got_start and __got_end
Shinya Kuribayashi [Sun, 21 Oct 2007 01:55:36 +0000 (10:55 +0900)]
[MIPS] u-boot.lds: Fix __got_start and __got_end

Ensure that __got_start points to top of the `.got', and __got_end points
to bottom as well, so that we never fail to count num_got_entries.

Signed-off-by: Shinya Kuribayashi <shinya.kuribayashi@necel.com>
17 years ago[MIPS] u-boot.lds: Remove duplicated .sdata section
Shinya Kuribayashi [Sun, 21 Oct 2007 01:55:36 +0000 (10:55 +0900)]
[MIPS] u-boot.lds: Remove duplicated .sdata section

Signed-off-by: Shinya Kuribayashi <shinya.kuribayashi@necel.com>
17 years agoMinor coding style cleanup; update CHANGELOG
Wolfgang Denk [Sat, 20 Oct 2007 23:01:17 +0000 (01:01 +0200)]
Minor coding style cleanup; update CHANGELOG

Signed-off-by: Wolfgang Denk <wd@denx.de>
17 years agoFix NE2000 driver:
Vlad Lungu [Thu, 4 Oct 2007 17:47:10 +0000 (20:47 +0300)]
Fix NE2000 driver:

Fixed typo in ne2000.h, thinko re n2k_inb() usage, don't try
to do anything in eth_stop() if eth_init() was not called.
Simplified RX path in order to avoid timeouts on really really
fast NE2000 cards (read: qemu with internal tftp), NetLoop() is
clever enough to cope with 1 packet per eth_rx().

Signed-off-by: Vlad Lungu <vlad@comsys.ro>
17 years agoMerge branch 'master' of git://www.denx.de/git/u-boot-tq-group
Wolfgang Denk [Sat, 20 Oct 2007 22:29:32 +0000 (00:29 +0200)]
Merge branch 'master' of git://www.denx.de/git/u-boot-tq-group

17 years agoMerge branch 'master' of /home/git/u-boot/
Wolfgang Denk [Sat, 20 Oct 2007 22:10:34 +0000 (00:10 +0200)]
Merge branch 'master' of /home/git/u-boot/

17 years agoSetting MSR[DE] in do_reset
urwithsughosh@gmail.com [Mon, 24 Sep 2007 17:32:13 +0000 (13:32 -0400)]
Setting MSR[DE] in do_reset

Hello,
   This patch ensures the soft reset of the board for the 85xx boards
   by setting the MSR[DE] in the do_reset function.

Signed-off-by: Sughosh Ganu <urwithsughosh@gmail.com>
17 years agoMSR overwrite fix
urwithsughosh@gmail.com [Mon, 24 Sep 2007 17:36:01 +0000 (13:36 -0400)]
MSR overwrite fix

Hello,
  This patch fixes the MSR overwrite in the start.S when moving out of
  the last 4K page.

Signed-off-by: Sughosh Ganu <urwithsughosh@gmail.com>
17 years agotsec driver should clear RHALT on startup
Dan Wilson [Fri, 19 Oct 2007 16:33:48 +0000 (11:33 -0500)]
tsec driver should clear RHALT on startup

This was causing problems for some people.

Signed-off-by: Alain Gravel <agravel@fulcrummicro.com>
Signed-off-by: Dan Wilson <dwilson@fulcrummicro.com>
Signed-off-by: Andy Fleming <afleming@freescale.com>
17 years agoImprove handling of PCI interrupt device tree fixup on MPC85xx CDS
Kumar Gala [Thu, 11 Oct 2007 05:29:18 +0000 (00:29 -0500)]
Improve handling of PCI interrupt device tree fixup on MPC85xx CDS

On the MPC85xx CDS we have two issues:

1. The device tree fixup code did not check to see if the property we are
trying to update is actually found.  Its possible that it would update
random memory starting at 0.

2. Newer Linux kernel's have moved the location of the PCI nodes to be
sibilings of the soc node and not children.  The explicit PATH to the PCI
node would not be found for these device trees.  Add the ability to handle
both paths.  In the future we shouldn't handle such fixups by explicit path.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
17 years agoSet OF_STDOUT_PATH to match the default console on MPC8568 MDS
Kumar Gala [Thu, 11 Oct 2007 05:18:48 +0000 (00:18 -0500)]
Set OF_STDOUT_PATH to match the default console on MPC8568 MDS

On the MPC8568 MDS we use ttyS0, UART0, etc. as the standard configured
console.  Make it so we match that config what we tell Linux as the early
STDOUT console.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
17 years agoRemove magic numbers from cache related operations for mpc85xx
Kumar Gala [Tue, 2 Oct 2007 16:12:27 +0000 (11:12 -0500)]
Remove magic numbers from cache related operations for mpc85xx

The mpc85xx start code uses some magic numbers that we actually
have #defines for in <config.h> so use those instead.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
17 years agoMerge branch 'denx'
Andy Fleming [Fri, 19 Oct 2007 16:24:22 +0000 (11:24 -0500)]
Merge branch 'denx'

17 years agoFix two typos.
Detlev Zundel [Fri, 19 Oct 2007 14:47:26 +0000 (16:47 +0200)]
Fix two typos.

Signed-off-by: Detlev Zundel <dzu@denx.de>
17 years agoMerge branch 'master' of git://www.denx.de/git/u-boot-ppc4xx
Wolfgang Denk [Thu, 18 Oct 2007 20:02:35 +0000 (22:02 +0200)]
Merge branch 'master' of git://www.denx.de/git/u-boot-ppc4xx

17 years agompc83xx: Add configure entry for MPC83xx ATM support
Tony Li [Thu, 18 Oct 2007 09:47:19 +0000 (17:47 +0800)]
mpc83xx: Add configure entry for MPC83xx ATM support

Add MPC8360EMDS_ATM_config and MPC832XEMDS_ATM_config into
Makfile and MAKEALL

Signed-off-by: Tony Li <tony.li@freescale.com>
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
17 years agompc83xx: pq-mds-pib.c typo error
Tony Li [Thu, 18 Oct 2007 09:44:38 +0000 (17:44 +0800)]
mpc83xx: pq-mds-pib.c typo error

Correct to val8 from val.

Signed-off-by: Tony Li <tony.li@freescale.com>
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
17 years agoMerge git://www.denx.de/git/u-boot
Kim Phillips [Thu, 18 Oct 2007 15:02:16 +0000 (10:02 -0500)]
Merge git://www.denx.de/git/u-boot

17 years agoppc4xx: Add 667/133 (CPU/PLB) frequency setup to Sequoia bootstrap command
Stefan Roese [Wed, 17 Oct 2007 13:40:19 +0000 (15:40 +0200)]
ppc4xx: Add 667/133 (CPU/PLB) frequency setup to Sequoia bootstrap command

Signed-off-by: Stefan Roese <sr@denx.de>
17 years agoInitial mpc8610hpcd Makefile files.
Jon Loeliger [Tue, 16 Oct 2007 20:27:43 +0000 (15:27 -0500)]
Initial mpc8610hpcd Makefile files.

Signed-off-by: Ed Swarthout <Ed.Swarthout@freescale.com>
Signed-off-by: Mahesh Jade <mahesh.jade@freescale.com>
Signed-off-by: Jason Jin <Jason.jin@freescale.com>
Signed-off-by: Jon Loeliger <jdl@freescale.com>
17 years agoInitial mpc8610hpcd cpu/, README and include/ files.
Jon Loeliger [Tue, 16 Oct 2007 20:26:51 +0000 (15:26 -0500)]
Initial mpc8610hpcd cpu/, README and include/ files.

Signed-off-by: Ed Swarthout <Ed.Swarthout@freescale.com>
Signed-off-by: Mahesh Jade <mahesh.jade@freescale.com>
Signed-off-by: Jason Jin <Jason.jin@freescale.com>
Signed-off-by: Jon Loeliger <jdl@freescale.com>
17 years agoInitial mpc8610hpcd board files.
Jon Loeliger [Tue, 16 Oct 2007 18:54:01 +0000 (13:54 -0500)]
Initial mpc8610hpcd board files.

Signed-off-by: Ed Swarthout <Ed.Swarthout@freescale.com>
Signed-off-by: Mahesh Jade <mahesh.jade@freescale.com>
Signed-off-by: Jason Jin <Jason.jin@freescale.com>
Signed-off-by: Jon Loeliger <jdl@freescale.com>
17 years agoMake MPC8266ADS board compile again.
runet@innovsys.com [Tue, 16 Oct 2007 19:50:40 +0000 (14:50 -0500)]
Make MPC8266ADS board compile again.

Signed-off-by: Runet Torgersen <runet@innovsys.com>
17 years agoMerge branch 'master' of git+ssh://gemini_vpn/home/wd/git/u-boot/master
Wolfgang Denk [Tue, 16 Oct 2007 14:45:20 +0000 (16:45 +0200)]
Merge branch 'master' of git+ssh://gemini_vpn/home/wd/git/u-boot/master

17 years ago86xx: Allow for fewer DDR slots per memory controller.
Jon Loeliger [Mon, 27 Aug 2007 17:41:03 +0000 (12:41 -0500)]
86xx: Allow for fewer DDR slots per memory controller.

As a direct correlation exists between DDR DIMM slots
and SPD EEPROM addresses used to configure them, use
the individually defined SPD_EEPROM_ADDRESS* values to
determine if a DDR DIMM slot should have its SPD
configuration read or not.

Effectively, this now allows for 1 or 2 DIMM slots
per memory controller.

Signed-off-by: Jon Loeliger <jdl@freescale.com>
17 years agoMerge branch 'master' of /home/wd/git/u-boot/custodians
Wolfgang Denk [Mon, 15 Oct 2007 18:56:12 +0000 (20:56 +0200)]
Merge branch 'master' of /home/wd/git/u-boot/custodians

17 years agoMerge branch 'master' of git://www.denx.de/git/u-boot-usb
Wolfgang Denk [Mon, 15 Oct 2007 18:55:51 +0000 (20:55 +0200)]
Merge branch 'master' of git://www.denx.de/git/u-boot-usb

17 years agoMerge branch 'master' of git+ssh://gemini_vpn/home/wd/git/u-boot/master
Wolfgang Denk [Mon, 15 Oct 2007 10:59:05 +0000 (12:59 +0200)]
Merge branch 'master' of git+ssh://gemini_vpn/home/wd/git/u-boot/master

17 years agoPXA USB OHCI: "usb stop" implementation.
Rodolfo Giometti [Mon, 15 Oct 2007 09:59:17 +0000 (11:59 +0200)]
PXA USB OHCI: "usb stop" implementation.

Some USB keys need to be switched off before loading the kernel
otherwise they can remain in an undefined status which prevents them
to be correctly recognized by the kernel.

Signed-off-by: Rodolfo Giometti <giometti@linux.it>
17 years agoppc4xx: Fix bug in I2C bootstrap values for Sequoia/Rainier
Stefan Roese [Mon, 15 Oct 2007 09:39:00 +0000 (11:39 +0200)]
ppc4xx: Fix bug in I2C bootstrap values for Sequoia/Rainier

The I2C bootstrap values that can be setup via the "bootstrap" command,
were setup incorrect regarding the generation of the internal sync PCI
clock. The values for PLB clock == 133MHz were slighly incorrect and the
values for PLB clock == 166MHz were totally incorrect. This could
lead to a hangup upon booting while PCI configuration scan.

This patch fixes this issue and configures valid PCI divisor values
for the sync PCI clock, with respect to the provided external async
PCI frequency.

Here the values of the formula in the chapter 14.2 "PCI clocking"
from the 440EPx users manual:

AsyncPCICLK - 1MHz <= SyncPCIClk <= (2 * AsyncPCIClk) - 1MHz

33MHz async PCI frequency:
PLB = 133:
=>      32 <= 44.3 <= 65        (div = 3)

PLB = 166:
=>      32 <= 55.3 <= 65        (div = 3)

66MHz async PCI frequency:
PLB = 133:
=>      65 <= 66.5 <= 132       (div = 2)

PLB = 166:
=>      65 <= 83 <= 132         (div = 2)

Signed-off-by: Stefan Roese <sr@denx.de>
17 years agoppc4xx: Fix incorrect 33/66MHz PCI clock log-message on Sequoia & Yosemite
Stefan Roese [Mon, 15 Oct 2007 09:29:33 +0000 (11:29 +0200)]
ppc4xx: Fix incorrect 33/66MHz PCI clock log-message on Sequoia & Yosemite

The BCSR status bit for the 66MHz PCI operation was correctly
addressed (MSB/LSB problem). Now the correct currently setup
PCI frequency is displayed upon bootup.

This patch also fixes this problem on Rainier & Yellowstone, since these
boards use the same souce code as Sequoia & Yosemite do.

Signed-off-by: Stefan Roese <sr@denx.de>
17 years agoTQM860M: adjust for doubled flash sector size.
Martin Krause [Wed, 26 Sep 2007 15:55:56 +0000 (17:55 +0200)]
TQM860M: adjust for doubled flash sector size.

Adjust flash map to support the new S29GLxxN (N-Type) Flashes with
doubled sector size.

Signed-off-by: Martin Krause <martin.krause@tqs.de>
17 years agoTQM8xx: Fix CAN timing.
Jens Gehrlein [Wed, 26 Sep 2007 15:55:54 +0000 (17:55 +0200)]
TQM8xx: Fix CAN timing.

Signed-off-by: Martin Krause <martin.krause@tqs.de>