oweals/u-boot.git
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 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://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 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://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 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://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>
17 years agoTQM866M: fix SDRAM refresh
Martin Krause [Thu, 27 Sep 2007 12:54:36 +0000 (14:54 +0200)]
TQM866M: fix SDRAM refresh

At 133 MHz the current SDRAM refresh rate is too fast
(measured 4 * 1.17 us).
CFG_MAMR_PTA changes from 39 to 97. This result
in a refresh rate of 4 * 7.8 us at the default clock
50 MHz. At 133 MHz the value will be then 4 * 2.9 us.
This is a compromise until a new method is found to
adjust the refresh rate.

Signed-off-by: Martin Krause <martin.krause@tqs.de>
17 years agoTQM866M: adjust for doubled flash sector size.
Martin Krause [Wed, 26 Sep 2007 15:55:55 +0000 (17:55 +0200)]
TQM866M: 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 ago[FIX] XUPV2P change command handling
Michal Simek [Sun, 14 Oct 2007 14:12:29 +0000 (16:12 +0200)]
[FIX] XUPV2P change command handling
and remove code violation

17 years agoMerge git://www.denx.de/git/u-boot
Michal Simek [Sun, 14 Oct 2007 12:33:32 +0000 (14:33 +0200)]
Merge git://www.denx.de/git/u-boot

17 years agoMerge ../master/
Michal Simek [Sun, 14 Oct 2007 12:31:47 +0000 (14:31 +0200)]
Merge ../master/

17 years agoPrepare for 1.3.0-rc3 release v1.3.0-rc3
Wolfgang Denk [Sat, 13 Oct 2007 22:13:19 +0000 (00:13 +0200)]
Prepare for 1.3.0-rc3 release

Signed-off-by: Wolfgang Denk <wd@denx.de>
17 years agoFix warning differ in signedness in cpu/pxa/mmc.c
Jean-Christophe PLAGNIOL-VILLARD [Sat, 29 Sep 2007 11:41:37 +0000 (13:41 +0200)]
Fix warning differ in signedness in cpu/pxa/mmc.c

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
17 years agoFix warning differ in signedness in board/mpl/vcma9/vcma9.c
Wolfgang Denk [Sat, 13 Oct 2007 21:51:14 +0000 (23:51 +0200)]
Fix warning differ in signedness in board/mpl/vcma9/vcma9.c

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Wolfgang Denk <wd@denx.de>
17 years agoMerge branch 'master' of git://www.denx.de/git/u-boot-avr32
Wolfgang Denk [Sat, 13 Oct 2007 21:01:27 +0000 (23:01 +0200)]
Merge branch 'master' of git://denx.de/git/u-boot-avr32

17 years agoMerge branch 'merge' of git://www.denx.de/git/u-boot-microblaze
Wolfgang Denk [Sat, 13 Oct 2007 20:57:43 +0000 (22:57 +0200)]
Merge branch 'merge' of git://denx.de/git/u-boot-microblaze

17 years agoMerge branch 'master' of git://www.denx.de/git/u-boot-microblaze
Wolfgang Denk [Sat, 13 Oct 2007 19:50:12 +0000 (21:50 +0200)]
Merge branch 'master' of git://denx.de/git/u-boot-microblaze

17 years agoMerge branch 'master' of git://www.denx.de/git/u-boot-nand-flash
Wolfgang Denk [Sat, 13 Oct 2007 19:40:23 +0000 (21:40 +0200)]
Merge branch 'master' of git://denx.de/git/u-boot-nand-flash

17 years agoCoding Style cleanup.
Wolfgang Denk [Sat, 13 Oct 2007 19:15:39 +0000 (21:15 +0200)]
Coding Style cleanup.

Signed-off-by: Wolfgang Denk <wd@denx.de>
17 years agoMerge branch 'master' of git://www.denx.de/git/u-boot-arm
Wolfgang Denk [Sat, 13 Oct 2007 16:48:23 +0000 (18:48 +0200)]
Merge branch 'master' of git://denx.de/git/u-boot-arm

17 years agoGP3 SSA: enable RTC
Wolfgang Denk [Fri, 12 Oct 2007 13:49:39 +0000 (15:49 +0200)]
GP3 SSA: enable RTC

Signed-off-by: Wolfgang Denk <wd@denx.de>
17 years agoMerge branch 'master' of /.automount/castor-vlab/root/home/wd/git/u-boot/master/
Wolfgang Denk [Wed, 10 Oct 2007 14:39:09 +0000 (16:39 +0200)]
Merge branch 'master' of /.automount/castor-vlab/root/home/wd/git/u-boot/master/

17 years agoMerge branch 'hellrosa_i2c' of /home/gjb/git/u-boot
Wolfgang Denk [Wed, 10 Oct 2007 14:31:06 +0000 (16:31 +0200)]
Merge branch 'hellrosa_i2c' of /home/gjb/git/u-boot

17 years agoMerge branch 'tqm5200_default_env' of /home/tur/git/u-boot
Wolfgang Denk [Wed, 10 Oct 2007 14:23:23 +0000 (16:23 +0200)]
Merge branch 'tqm5200_default_env' of /home/tur/git/u-boot

17 years ago[ads5121] EEPROM support added.
Grzegorz Bernacki [Tue, 9 Oct 2007 11:58:24 +0000 (13:58 +0200)]
[ads5121] EEPROM support added.

Signed-off-by: Grzegorz Bernacki <gjb@semihalf.com>
17 years agoAVR32: Initialize bi_flash* in board_init_r
Haavard Skinnemoen [Sat, 6 Oct 2007 16:55:35 +0000 (18:55 +0200)]
AVR32: Initialize bi_flash* in board_init_r

The ATSTK1000-specific flash driver intializes bi_flashstart,
bi_flashsize and bi_flashoffset, but other flash drivers, like the CFI
driver, don't.

Initialize these in board_init_r instead so that things will still be
set up correctly when we switch to the CFI driver.

Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
17 years agotqm5200: Fix CONFIG_CMD_PCI typo in board config file.
Marian Balakowicz [Fri, 5 Oct 2007 08:40:54 +0000 (10:40 +0200)]
tqm5200: Fix CONFIG_CMD_PCI typo in board config file.

Signed-off-by: Marian Balakowicz <m8@semihalf.com>
17 years agoCM5200: Fix missing null-termination in hostname manipulation code
Bartlomiej Sieka [Fri, 5 Oct 2007 07:46:06 +0000 (09:46 +0200)]
CM5200: Fix missing null-termination in hostname manipulation code

Signed-off-by: Bartlomiej Sieka <tur@semihalf.com>
17 years agoMerge with git://www.denx.de/git/u-boot.git
Peter Pearse [Thu, 4 Oct 2007 10:00:44 +0000 (11:00 +0100)]
Merge with git://www.denx.de/git/u-boot.git

17 years agoFix memtest breakage
Haavard Skinnemoen [Tue, 2 Oct 2007 17:09:01 +0000 (19:09 +0200)]
Fix memtest breakage

CFG_MEMTEST_START uses weird magic involving gd, which fails to
compile. Use hardcoded values instead (we actually know how much RAM
we have on board.)

Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
17 years agoMerge commit 'origin/master'
Haavard Skinnemoen [Tue, 2 Oct 2007 17:05:53 +0000 (19:05 +0200)]
Merge commit 'origin/master'

17 years agoMerge with git://www.denx.de/git/u-boot.git
Stefan Roese [Tue, 2 Oct 2007 09:47:13 +0000 (11:47 +0200)]
Merge with git://www.denx.de/git/u-boot.git

17 years agoppc4xx: Coding style cleanup
Stefan Roese [Tue, 2 Oct 2007 09:44:46 +0000 (11:44 +0200)]
ppc4xx: Coding style cleanup

Signed-off-by: Stefan Roese <sr@denx.de>
17 years agoppc4xx: lwmon5: Remove watchdog for now, since not fully tested yet
Stefan Roese [Tue, 2 Oct 2007 09:44:19 +0000 (11:44 +0200)]
ppc4xx: lwmon5: Remove watchdog for now, since not fully tested yet

Signed-off-by: Stefan Roese <sr@denx.de>
17 years agoProgram EPLD to force full duplex mode for PHY.
Grzegorz Bernacki [Mon, 1 Oct 2007 07:51:50 +0000 (09:51 +0200)]
Program EPLD to force full duplex mode for PHY.

EPLD forces modes of PHY operation. By default full duplex is turned off.
This fix turns it on.

Signed-off-by: Grzegorz Bernacki <gjb@semihalf.com>
17 years agoBugfix: Use only one PTD for one endpoint
Timo Ketola [Mon, 24 Sep 2007 11:50:32 +0000 (14:50 +0300)]
Bugfix: Use only one PTD for one endpoint

Original isp116x-hcd code prepared multiple PTDs for longer than 16
byte transfers for one endpoint. That is unnecessary because the
ISP116x is able to split long data from one PTD into multiple
transactions based on the buffer size of the endpoint. It also caused
serious problems if the endpoint NAKed some of the transactions. In
that case ISP116x wouldn't notice that the other PTDs were for the same
endpoint and would try the other PTDs possibly out of order. That would
break the whole transfer.

This patch makes isp116x_submit_job to use one PTD for one transfer.

Signed-off-by: Timo Ketola <timo.ketola@exertus.fi>
Signed-off-by: Markus Klotzbuecher <mk@denx.de>
17 years agoFix missing DECLARE_GLOBAL_DATA_PTR on CONFIG_LPC2292 in serial
Jean-Christophe PLAGNIOL-VILLARD [Thu, 27 Sep 2007 21:27:47 +0000 (23:27 +0200)]
Fix missing DECLARE_GLOBAL_DATA_PTR on CONFIG_LPC2292 in serial

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
17 years agoMerge branch 'master' of /home/stefan/git/u-boot/lwmon5
Stefan Roese [Thu, 27 Sep 2007 11:48:24 +0000 (13:48 +0200)]
Merge branch 'master' of /home/stefan/git/u-boot/lwmon5

17 years agoppc4xx: lwmon5: Change GPIO 58 to default to low (watchdog test)
Stefan Roese [Tue, 11 Sep 2007 12:12:55 +0000 (14:12 +0200)]
ppc4xx: lwmon5: Change GPIO 58 to default to low (watchdog test)

Signed-off-by: Stefan Roese <sr@denx.de>
17 years agoMerge with git+ssh://gemini_vpn/home/wd/git/u-boot/master
Wolfgang Denk [Tue, 25 Sep 2007 22:13:14 +0000 (00:13 +0200)]
Merge ... git+ssh://gemini_vpn/home/wd/git/u-boot/master

17 years agoFpga: fix incorrect test of CFG_FPGA_XILINX macro
Grant Likely [Tue, 25 Sep 2007 21:48:05 +0000 (15:48 -0600)]
Fpga: fix incorrect test of CFG_FPGA_XILINX macro

CFG_FPGA_XILINX is a bit value used to test against the value in
CONFIG_FPGA.  Testing for a value will always return TRUE.  I don't
think that is the intention in this code.

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
17 years agoMerge branch 'master' of git://www.denx.de/git/u-boot
Kim Phillips [Mon, 24 Sep 2007 19:43:43 +0000 (14:43 -0500)]
Merge branch 'master' of git://denx.de/git/u-boot

17 years ago[FIX] change command handling and removing code violation
Michal Simek [Sun, 23 Sep 2007 22:41:30 +0000 (00:41 +0200)]
[FIX] change command handling and removing code violation

17 years ago[FIX] change sets of commands
Michal Simek [Sun, 23 Sep 2007 22:36:06 +0000 (00:36 +0200)]
[FIX] change sets of commands
because changing of command handling brings
compilation problems

17 years ago[FIX] Email reparation & Copyright
Michal Simek [Sun, 23 Sep 2007 22:30:42 +0000 (00:30 +0200)]
[FIX] Email reparation & Copyright
Both codes are written by myself without any
support from CTU

17 years ago[PATCH] Change macro name for UartLite
Michal Simek [Sun, 23 Sep 2007 22:25:11 +0000 (00:25 +0200)]
[PATCH] Change macro name for UartLite
because PowerPC 405 can use UartLite as console

17 years ago[PATCH] Add support for design without interrupt controller
Michal Simek [Sun, 23 Sep 2007 22:21:19 +0000 (00:21 +0200)]
[PATCH] Add support for design without interrupt controller
Polling timer

17 years ago[FIX] resolve problem with cpu without barrel shifter
Michal Simek [Sun, 23 Sep 2007 22:19:48 +0000 (00:19 +0200)]
[FIX] resolve problem with cpu without barrel shifter

17 years ago[FIX] repair email address
Michal Simek [Sun, 23 Sep 2007 22:18:46 +0000 (00:18 +0200)]
[FIX] repair email address

17 years ago[FIX] repair MFSL commands
Michal Simek [Sun, 23 Sep 2007 22:17:42 +0000 (00:17 +0200)]
[FIX] repair MFSL commands

17 years agosynchronizition with mainline
Michal Simek [Sun, 23 Sep 2007 22:08:37 +0000 (00:08 +0200)]
synchronizition with mainline

17 years agoMerge ../u-boot
Michal Simek [Sun, 23 Sep 2007 22:04:22 +0000 (00:04 +0200)]
Merge ../u-boot

17 years agoMerge with /home/wd/git/u-boot/custodian/u-boot-usb
Wolfgang Denk [Sat, 22 Sep 2007 22:47:01 +0000 (00:47 +0200)]
Merge ... /home/wd/git/u-boot/custodian/u-boot-usb

17 years agov1.3.0-rc2 v1.3.0-rc2
Wolfgang Denk [Wed, 19 Sep 2007 22:04:14 +0000 (00:04 +0200)]
v1.3.0-rc2

Signed-off-by: Wolfgang Denk <wd@denx.de>
17 years agoMerge with git+ssh://gemini_vpn/home/wd/git/u-boot/master
Wolfgang Denk [Tue, 18 Sep 2007 19:39:39 +0000 (21:39 +0200)]
Merge ... git+ssh://gemini_vpn/home/wd/git/u-boot/master

17 years agoAvoid compiler warning.
Wolfgang Denk [Tue, 18 Sep 2007 19:36:35 +0000 (21:36 +0200)]
Avoid compiler warning.

Signed-off-by: Wolfgang Denk <wd@denx.de>
17 years agoBugfix: remove embedded null (\0) from CFG_BOOTFILE macro in TQM8540_config
Grant Likely [Tue, 18 Sep 2007 18:24:57 +0000 (12:24 -0600)]
Bugfix: remove embedded null (\0) from CFG_BOOTFILE macro in TQM8540_config

/bin/bash and /bin/dash (which /bin/sh is linked to on ubuntu) handle embedded
nulls in a string differently.  For example, the following statement:
    echo "this is a string\0" > afile
Will produce the following with /bin/bash:
    "this is a string\0"
But with /bin/dash, will produce:
    "this is a string

Bug fixed by moving the embedded null out of the makefile and into the
config header.  Also renamed the macro to avoid usage colision with the same
macro used by other board ports.

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
17 years agoMCC200: fix build warning
Wolfgang Denk [Tue, 18 Sep 2007 15:40:27 +0000 (17:40 +0200)]
MCC200: fix build warning

The MCC200 board config file includes version.h for some customer-
specific setting, which causes warnings with "make depend"; build
version.h before depend.

Signed-off-by: Wolfgang Denk <wd@denx.de>
17 years agoMove coloured led API to status_led.h
Peter Pearse [Tue, 18 Sep 2007 12:07:54 +0000 (13:07 +0100)]
Move coloured led API to status_led.h
Improve indentation in drivers/at45.c

17 years agoMerge with git://www.denx.de/git/u-boot.git
Peter Pearse [Tue, 18 Sep 2007 10:12:58 +0000 (11:12 +0100)]
Merge with git://www.denx.de/git/u-boot.git

17 years agoUpdate atstk1002 bootargs.
Eirik Aanonsen [Tue, 18 Sep 2007 06:47:20 +0000 (08:47 +0200)]
Update atstk1002 bootargs.

Updates to atstk1002 U-Boot header file:
- Changed bootargs:
    * Set the bootargs for at1002 to point to the SD-card partition instead
    * ... of the boot flash.
    * Removing the rootfstype since that argument are not needed.

Signed-off-by: Eirik Aanonsen <eaa@wprmedical.com>
Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
17 years agoAdd some comments to clocks in atstk1002.h
Eirik Aanonsen [Wed, 12 Sep 2007 11:32:37 +0000 (13:32 +0200)]
Add some comments to clocks in atstk1002.h

This patch applies some clarifying comments to how the different
clocks are setup according to atstk1002.h Some of the previous
comments where stating wrongful information.

Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
17 years agoMerge with git://www.denx.de/git/u-boot.git
Markus Klotzbuecher [Mon, 17 Sep 2007 15:12:45 +0000 (17:12 +0200)]
Merge with git://www.denx.de/git/u-boot.git

17 years agoDescription: Add NEC's PCI OHCI module ID to the USB OHCI driver
David Saada [Mon, 17 Sep 2007 15:04:47 +0000 (17:04 +0200)]
Description: Add NEC's PCI OHCI module ID to the USB OHCI driver

Signed-off-by: David Saada <david.saada@ecitele.com>
17 years agoSmall whitespace cleanup of OneNAND patch
Stefan Roese [Mon, 17 Sep 2007 06:20:47 +0000 (08:20 +0200)]
Small whitespace cleanup of OneNAND patch

Signed-off-by: Stefan Roese <sr@denx.de>
17 years agoOneNAND support (take #2)
Kyungmin Park [Mon, 10 Sep 2007 08:15:14 +0000 (17:15 +0900)]
OneNAND support (take #2)

[PATCH 3/3] OneNAND support (take #2)

OneNAND support at U-Boot

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
17 years agoOneNAND support (take #2)
Kyungmin Park [Mon, 10 Sep 2007 08:14:34 +0000 (17:14 +0900)]
OneNAND support (take #2)

[PATCH 2/3] OneNAND support (take #2)

OneNAND support at U-Boot

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
17 years agoOneNAND support (take #2)
Kyungmin Park [Mon, 10 Sep 2007 08:13:49 +0000 (17:13 +0900)]
OneNAND support (take #2)

[PATCH 1/3] OneNAND support (take #2)

OneNAND support at U-Boot

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
17 years ago[FIX] remove files form repository
Michal Simek [Sun, 16 Sep 2007 18:51:57 +0000 (20:51 +0200)]
[FIX] remove files form repository

17 years agoMerge branch 'master' of /home/uboot/070912/u-boot-microblaze/
Michal Simek [Sun, 16 Sep 2007 18:32:10 +0000 (20:32 +0200)]
Merge branch 'master' of /home/uboot/070912/u-boot-microblaze/

17 years agoMerge ../u-boot
Michal Simek [Sun, 16 Sep 2007 17:42:42 +0000 (19:42 +0200)]
Merge ../u-boot

17 years agoTQM8xx[LM]: Fix broken environment alignment.
Wolfgang Denk [Sun, 16 Sep 2007 15:10:04 +0000 (17:10 +0200)]
TQM8xx[LM]: Fix broken environment alignment.

With recent toolchains, the environment sectors were no longer aligned to
sector boundaries. The reason was a combination of two bugs:

1) common/environment.c assumed that CONFIG_TQM8xxL would be defined
   for all TQM8xxL and TQM8xxM boards. But "include/common.h", where
   this gets defined, is not included here (and cannot be included
   without causing lots of problems).

   Added a new #define CFG_USE_PPCENV for all boards which really
   want to put the environment is a ".ppcenv" section.

2) The linker scripts just include environment.o, silently assuming
   that the objects in that file are really in the order in which
   they are coded in the C file, i. e. "environment" first, then
   "redundand_environment", and "env_size" last. However, current
   toolchains (GCC-4.x) reorder the objects, causing the environment
   data not to start on a flash sector boundary:

   Instead of: we got:

40008000 T environment 40008000 T env_size
4000c000 T redundand_environment 40008004 T redundand_environment
40010000 T env_size 4000c004 T environment

   Note: this patch fixes just the first part, and cures the alignment
   problem by making sure that "env_size" gets placed correctly. However,
   we still have a potential issue because primary and redundant
   environment sectors are actually swapped, i. e. we have now:

40008000 T redundand_environment
4000c000 T environment
40010000 T env_size

   This shall be fixed in the next version.

Signed-off-by: Wolfgang Denk <wd@denx.de>
17 years agoTQM8xx/FPS8xx: adjust flash partitions for 2.6 ARCH=powerpc kernels
Wolfgang Denk [Sun, 16 Sep 2007 00:39:35 +0000 (02:39 +0200)]
TQM8xx/FPS8xx: adjust flash partitions for 2.6 ARCH=powerpc kernels

Signed-off-by: Wolfgang Denk <wd@denx.de>
17 years agoTypo fix in tsec.c
urwithsughosh@gmail.com [Mon, 10 Sep 2007 18:54:56 +0000 (14:54 -0400)]
Typo fix in tsec.c

Fixup for the break statement in wrong place.

[Patch by urwithsughosh@gmail.com]
Acked-by: Andy Fleming <afleming@freescale.com>
Signed-off-by: Wolfgang Denk <wd@denx.de>

17 years agoFix do_div() usage in nand process output
Matthias Fuchs [Tue, 11 Sep 2007 15:04:00 +0000 (17:04 +0200)]
Fix do_div() usage in nand process output

Fix usage of do_div() in nand erase|read|write process output.

The last patch to nand_util.c introduced do_div() instead of libgcc's
implementation. But do_div() returns the quotient in its first
macro parameter and not as result.

Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
17 years agoNAND: Add CFG_NAND_QUIET option
Matthias Fuchs [Wed, 12 Sep 2007 10:36:53 +0000 (12:36 +0200)]
NAND: Add CFG_NAND_QUIET option

This config option sets the default for the progress information
output behavior that can also be configured through the 'quiet'
environment variable.

The legacy NAND code does not print the current progress info
on the console. So this option is for backward compatibility for
units that are in the field and where setting the quiet variable
is not an option. With CFG_NAND_QUIET set to '1' the console
progress info is turned off. This can still be overwritten
through the environment variable.

Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
17 years agoColdFire: fix build error becasue of bad type of mii_init()
Liew Tsi Chung-r5aahp [Thu, 13 Sep 2007 23:06:05 +0000 (16:06 -0700)]
ColdFire: fix build error becasue of bad type of mii_init()

Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
17 years agoColdFire: Fix build error caused by pixis.c
Liew Tsi Chung-r5aahp [Thu, 13 Sep 2007 23:04:05 +0000 (16:04 -0700)]
ColdFire: Fix build error caused by pixis.c

Moved the #include <asm/cache.h> inside the #ifdef CONFIG_FSL_PIXIS.

Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
17 years agoUpdate MPC8349ITX*_config to place config.tmp in right place.
Sam Sparks [Fri, 14 Sep 2007 17:14:42 +0000 (11:14 -0600)]
Update MPC8349ITX*_config to place config.tmp in right place.

MPC834ITX*_config does not store config.tmp at the correct locatation,
causing MPC8349ITXGP to have the wrong TEXT_BASE.

Signed-off-by: Sam Sparks <SSparks@twacs.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
17 years agoFix cases where DECLARE_GLOBAL_DATA_PTR was not declared as global
Wolfgang Denk [Sat, 15 Sep 2007 18:48:41 +0000 (20:48 +0200)]
Fix cases where DECLARE_GLOBAL_DATA_PTR was not declared as global

Signed-off-by: Wolfgang Denk <wd@denx.de>
17 years agoMake DECLARE_GLOBAL_DATA_PTR global for DaVinci
Dirk Behme [Sat, 15 Sep 2007 09:55:42 +0000 (11:55 +0200)]
Make DECLARE_GLOBAL_DATA_PTR global for DaVinci

As discussed in [1], DECLARE_GLOBAL_DATA_PTR has to be global and not
function local.

Signed-off-by: Dirk Behme <dirk.behme@gmail.com>
[1] http://article.gmane.org/gmane.comp.boot-loaders.u-boot/31805

17 years agoSynchronize with U-BOOT mainline
Michal Simek [Fri, 14 Sep 2007 22:03:35 +0000 (00:03 +0200)]
Synchronize with U-BOOT mainline

17 years agoMerge ../u-boot
Michal Simek [Fri, 14 Sep 2007 22:01:53 +0000 (00:01 +0200)]
Merge ../u-boot