]> git.sur5r.net Git - u-boot/log
u-boot
17 years agoMerge with /home/stefan/git/u-boot/acadia-nand-boot
Stefan Roese [Wed, 6 Jun 2007 09:43:58 +0000 (11:43 +0200)]
Merge with /home/stefan/git/u-boot/acadia-nand-boot

17 years agoppc4xx: Add NAND booting support for AMCC Acadia (405EZ) eval board
Stefan Roese [Wed, 6 Jun 2007 09:42:13 +0000 (11:42 +0200)]
ppc4xx: Add NAND booting support for AMCC Acadia (405EZ) eval board

This patch adds NAND booting support for the AMCC Acadia eval board.

Please make sure to configure jumper J7 to position 2-3 when booting
from NOR, and to position 1-2 when booting for NAND.

I also added a board command to configure the I2C bootstrap EEPROM
values. Right now only 267MHz is support for booting either via NOR
or NAND FLASH. Here the usage:

=> bootstrap 267 nor ;to configure the board for 267MHz NOR booting
=> bootstrap 267 nand ;to configure the board for 267MHz NNAND booting

Signed-off-by: Stefan Roese <sr@denx.de>
17 years agoMerge with /home/wd/git/u-boot/custodian/u-boot-ppc4xx
Wolfgang Denk [Mon, 4 Jun 2007 20:59:44 +0000 (22:59 +0200)]
Merge with /home/wd/git/u-boot/custodian/u-boot-ppc4xx

17 years ago[PATCH] Fix ppc4xx bootstrap letter displayed on startup
Benoît Monin [Mon, 4 Jun 2007 06:36:05 +0000 (08:36 +0200)]
[PATCH] Fix ppc4xx bootstrap letter displayed on startup

The attached patch is mainly cosmetic, allowing u-boot to
display the correct bootstrap option letter according to the
datasheets.

The original patch was extended with 405EZ support by Stefan
Roese.

Signed-off-by: Benoit Monin <bmonin@adeneo.eu>
Signed-off-by: Stefan Roese <sr@denx.de>
17 years agoppc4xx: Add missing file for Bamboo NAND booting support
Stefan Roese [Fri, 1 Jun 2007 14:18:17 +0000 (16:18 +0200)]
ppc4xx: Add missing file for Bamboo NAND booting support

Signed-off-by: Stefan Roese <sr@denx.de>
17 years agoMerge with /home/stefan/git/u-boot/bamboo-nand
Stefan Roese [Fri, 1 Jun 2007 14:15:34 +0000 (16:15 +0200)]
Merge with /home/stefan/git/u-boot/bamboo-nand

17 years agoppc4xx: Undo Sequoia patch for dynamic EBC speed support of 83MHz
Stefan Roese [Fri, 1 Jun 2007 13:58:19 +0000 (15:58 +0200)]
ppc4xx: Undo Sequoia patch for dynamic EBC speed support of 83MHz

This patch undoes the patch by Jeff Mann with commit-id ada4697d. As
suggested by AMCC it is not recommended to dynamically change the EBC
speed after bootup. So we undo this change to be on the safe side.

Signed-off-by: Stefan Roese <sr@denx.de>
17 years agoppc4xx: Update Sequoia NAND booting support with ECC
Stefan Roese [Fri, 1 Jun 2007 13:29:04 +0000 (15:29 +0200)]
ppc4xx: Update Sequoia NAND booting support with ECC

Signed-off-by: Stefan Roese <sr@denx.de>
17 years agoppc4xx: Add NAND booting support for AMCC Bamboo (440EP) eval board
Stefan Roese [Fri, 1 Jun 2007 13:27:11 +0000 (15:27 +0200)]
ppc4xx: Add NAND booting support for AMCC Bamboo (440EP) eval board

This patch adds NAND booting support for the AMCC Bamboo eval board.
Since the NAND-SPL boot image is limited to 4kbytes, this version
only supports the onboard 64MBytes of DDR. The DIMM modules can't be
supported, since the setup code for I2C DIMM autodetection and
configuration is too big for this NAND bootloader.

Signed-off-by: Stefan Roese <sr@denx.de>
17 years agoNAND: Add ECC support to NAND booting support in nand_spl/nand_boot.c
Stefan Roese [Fri, 1 Jun 2007 13:23:04 +0000 (15:23 +0200)]
NAND: Add ECC support to NAND booting support in nand_spl/nand_boot.c

The U-Boot NAND booting support is now extended to support ECC
upon loading of the NAND U-Boot image.

Tested on AMCC Sequoia (440EPx) and Bamboo (440EP).

Signed-off-by: Stefan Roese <sr@denx.de>
17 years agoppc4xx: Prepare Bamboo port for NAND booting support
Stefan Roese [Fri, 1 Jun 2007 13:19:29 +0000 (15:19 +0200)]
ppc4xx: Prepare Bamboo port for NAND booting support

This patch updates the "normal" Bamboo NOR booting port, so
that it is compatible with the coming soon NAND booting
Bamboo port.

It also enables the 2nd NAND flash on the Bamboo.

Signed-off-by: Stefan Roese <sr@denx.de>
17 years agoppc4xx: Update in_be32() functions and friends to latest Linux version
Stefan Roese [Fri, 1 Jun 2007 13:16:58 +0000 (15:16 +0200)]
ppc4xx: Update in_be32() functions and friends to latest Linux version

Signed-off-by: Stefan Roese <sr@denx.de>
17 years agoNAND: Add hardware ECC support to the PPC4xx NAND driver ndfc.c
Stefan Roese [Fri, 1 Jun 2007 13:15:12 +0000 (15:15 +0200)]
NAND: Add hardware ECC support to the PPC4xx NAND driver ndfc.c

This patch adds hardware ECC support to the NDFC driver. It also
changes the register access from using the "simple" in32/out32
functions to the in_be32/out_be32 functions, which make sure
that the access is correctly synced. This is the only recommended
access to SoC registers in the current Linux kernel.

Signed-off-by: Stefan Roese <sr@denx.de>
17 years agoNAND: Update nand_ecc.c to latest Linux version
Stefan Roese [Fri, 1 Jun 2007 13:12:15 +0000 (15:12 +0200)]
NAND: Update nand_ecc.c to latest Linux version

This patch updates the nand_ecc code to the latest Linux version.
The main reason for this is the more compact code. This makes
it possible to include the ECC code into the NAND bootloader
image (NAND_SPL) for PPC4xx.

Signed-off-by: Stefan Roese <sr@denx.de>
17 years agoppc4xx: 44x DDR driver code cleanup and small fix for Bamboo
Stefan Roese [Fri, 1 Jun 2007 13:09:50 +0000 (15:09 +0200)]
ppc4xx: 44x DDR driver code cleanup and small fix for Bamboo

Signed-off-by: Stefan Roese <sr@denx.de>
17 years agoppc4xx: Change Luan config file to support ECC
Stefan Roese [Fri, 1 Jun 2007 11:45:24 +0000 (13:45 +0200)]
ppc4xx: Change Luan config file to support ECC

With the updated 44x DDR2 driver the Luan board now supports
ECC generation and checking.

Signed-off-by: Stefan Roese <sr@denx.de>
17 years agoppc4xx: Update 44x_spd_ddr2 code (440SP/440SPe)
Stefan Roese [Fri, 1 Jun 2007 11:45:00 +0000 (13:45 +0200)]
ppc4xx: Update 44x_spd_ddr2 code (440SP/440SPe)

Add config option for 180 degree advance clock control as needed
for the AMCC Luan eval board.

Signed-off-by: Stefan Roese <sr@denx.de>
17 years agoMerge with /home/wd/git/u-boot/stx-gp3ssa
Wolfgang Denk [Thu, 31 May 2007 15:21:22 +0000 (17:21 +0200)]
Merge with /home/wd/git/u-boot/stx-gp3ssa

17 years agoAdd support for STX GP3SSA (stxssa) Board with 4 MiB flash.
Wolfgang Denk [Thu, 31 May 2007 15:20:09 +0000 (17:20 +0200)]
Add support for STX GP3SSA (stxssa) Board with 4 MiB flash.

Signed-off-by: Wolfgang Denk <wd@denx.de>
17 years agoMerge with /home/tur/git/u-boot#motionpro
Wolfgang Denk [Sun, 27 May 2007 23:11:11 +0000 (01:11 +0200)]
Merge with /home/tur/git/u-boot#motionpro

17 years agoMotion-PRO: Code cleanup, fix of a typo in OF_STDOUT_PATH.
Bartlomiej Sieka [Sun, 27 May 2007 15:26:46 +0000 (17:26 +0200)]
Motion-PRO: Code cleanup, fix of a typo in OF_STDOUT_PATH.

Signed-off-by: Bartlomiej Sieka <tur@semihalf.com>
17 years agoMotion-PRO: Add support for redundant environment.
Bartlomiej Sieka [Sun, 27 May 2007 15:06:36 +0000 (17:06 +0200)]
Motion-PRO: Add support for redundant environment.

Enable redundant environment, add a MTD partition for it; also add env.
variable command for passing MTD partitions to the kernel command line.

Signed-off-by: Piotr Kruszynski <ppk@semihalf.com>
Acked-by: Bartlomiej Sieka <tur@semihalf.com>
17 years agoMotion-PRO: Change maximum console buffer size from 256 to 1024 bytes.
Bartlomiej Sieka [Sun, 27 May 2007 15:05:11 +0000 (17:05 +0200)]
Motion-PRO: Change maximum console buffer size from 256 to 1024 bytes.

Allow passing longer command line to the kernel - useful especially
for passing MTD partition layout.

Signed-off-by: Piotr Kruszynski <ppk@semihalf.com>
Acked-by: Bartlomiej Sieka <tur@semihalf.com>
17 years agoFix: Add missing NULL termination in strings expanded by macros parser.
Bartlomiej Sieka [Sun, 27 May 2007 15:04:18 +0000 (17:04 +0200)]
Fix: Add missing NULL termination in strings expanded by macros parser.

Signed-off-by: Piotr Kruszynski <ppk@semihalf.com>
Acked-by: Bartlomiej Sieka <tur@semihalf.com>
17 years agoMotion-PRO: Update EEPROM's page write bits and write delay.
Bartlomiej Sieka [Sun, 27 May 2007 15:03:37 +0000 (17:03 +0200)]
Motion-PRO: Update EEPROM's page write bits and write delay.

Change EEPROM configuration according to the datasheet: "The 24C01A and 24C02A
have a page write capability of two bytes", and "This device offers fast (1ms)
byte write". Add 3ms of extra delay.

Signed-off-by: Piotr Kruszynski <ppk@semihalf.com>
Acked-by: Bartlomiej Sieka <tur@semihalf.com>
17 years agoMPC5XXX, Motion-PRO: Fix PHY initialization problem.
Bartlomiej Sieka [Sun, 27 May 2007 14:58:45 +0000 (16:58 +0200)]
MPC5XXX, Motion-PRO: Fix PHY initialization problem.

After being reset in mpc5xxx_fec_init_phy(), PHY goes into FX mode, in which
networking does not function. This commit switches PHY to TX mode by clearing
the FX_SEL bit of Mode Control Register. It also reverses commit
008861a2f3ef2c062744d733787c7e530a1b8761, i.e., a temporary workaround.

Signed-off-by: Grzegorz Bernacki <gjb@semihalf.com>
Acked-by: Bartlomiej Sieka <tur@semihalf.com>
17 years agoMotion-PRO: Add support for the temperature sensor.
Bartlomiej Sieka [Sun, 27 May 2007 14:57:15 +0000 (16:57 +0200)]
Motion-PRO: Add support for the temperature sensor.

Signed-off-by: Piotr Kruszynski <ppk@semihalf.com>
Acked-by: Bartlomiej Sieka <tur@semihalf.com>
17 years agoMotion-PRO: Add displaying of CPLD revision information during boot.
Bartlomiej Sieka [Sun, 27 May 2007 14:55:23 +0000 (16:55 +0200)]
Motion-PRO: Add displaying of CPLD revision information during boot.

Signed-off-by: Jan Wrobel <wrr@semihalf.com>
Acked-by: Bartlomiej Sieka <tur@semihalf.com>
17 years agoMPC5xxx: Change names of defines related to IPB and PCI clocks.
Bartlomiej Sieka [Sun, 27 May 2007 14:53:43 +0000 (16:53 +0200)]
MPC5xxx: Change names of defines related to IPB and PCI clocks.

Both CFG_PCISPEED_66 and CFG_IPBSPEED_133 are misnamed, as defining
them does not cause PCI or IPB clocks to run at the specified speed.
Instead, they configure divisors used to calculate said clocks. This
patch renames the defines according to their real function.

Signed-off-by: Grzegorz Bernacki <gjb@semihalf.com>
Acked-by: Bartlomiej Sieka <tur@semihalf.com>
17 years agoMotion-PRO: Add LED support.
Bartlomiej Sieka [Sun, 27 May 2007 14:51:48 +0000 (16:51 +0200)]
Motion-PRO: Add LED support.

Signed-off-by: Jan Wrobel <wrr@semihalf.com>
Signed-off-by: Marian Balakowicz <m8@semihalf.com>
Acked-by: Bartlomiej Sieka <tur@semihalf.com>
17 years agoMerge with /home/stefan/git/u-boot/acadia-nand
Stefan Roese [Thu, 24 May 2007 07:50:17 +0000 (09:50 +0200)]
Merge with /home/stefan/git/u-boot/acadia-nand

17 years agoppc4xx: Fix small 405EZ OCM initilization bug in start.S
Stefan Roese [Thu, 24 May 2007 07:49:00 +0000 (09:49 +0200)]
ppc4xx: Fix small 405EZ OCM initilization bug in start.S

As pointed out by Bruce Adler <bruce.adler@acm.org> this patch
fixes a small bug in the 405EZ OCM initialization. Thanks for
spotting.

Signed-off-by: Stefan Roese <sr@denx.de>
17 years agoppc4xx: Update AMCC Acadia support for board revision 1.1
Stefan Roese [Thu, 24 May 2007 06:22:09 +0000 (08:22 +0200)]
ppc4xx: Update AMCC Acadia support for board revision 1.1

This patch updates the Acadia (405EZ) support for the new 1.1 board
revision. It also adds support for NAND FLASH via the 4xx NDFC.

Please note that the jumper J7 must be in position 2-3 for this
NAND support. Position 1-2 is for NAND booting only. NAND booting
support will follow later.

Signed-off-by: Stefan Roese <sr@denx.de>
17 years agoppc4xx: Use do { ... } while (0) for CPR & SDR access macros
Stefan Roese [Tue, 22 May 2007 10:48:09 +0000 (12:48 +0200)]
ppc4xx: Use do { ... } while (0) for CPR & SDR access macros

Signed-off-by: Stefan Roese <sr@denx.de>
17 years agoppc4xx: Add 405 support to 4xx NAND driver ndfc.c
Stefan Roese [Tue, 22 May 2007 10:46:10 +0000 (12:46 +0200)]
ppc4xx: Add 405 support to 4xx NAND driver ndfc.c

This patch adds support for 405 PPC's to the 4xx NAND driver
ndfc.c. This is in preparation for the new AMCC 405EZ.

Signed-off-by: Stefan Roese <sr@denx.de>
17 years agoppc4xx: Fix problem in 405EZ OCM initialization
Stefan Roese [Mon, 21 May 2007 05:41:22 +0000 (07:41 +0200)]
ppc4xx: Fix problem in 405EZ OCM initialization

As spotted by Bruce Adler this patch fixes an initialization problem
for the 405EZ OCM.

Signed-off-by: Stefan Roese <sr@denx.de>
17 years agoMerge with git://www.denx.de/git/u-boot.git
Stefan Roese [Fri, 18 May 2007 09:20:02 +0000 (11:20 +0200)]
Merge with git://www.denx.de/git/u-boot.git

17 years agoFix compile problem cause my Microblaze merge
Stefano Babic [Wed, 16 May 2007 12:49:12 +0000 (14:49 +0200)]
Fix compile problem cause my Microblaze merge

Signed-off-by: Stefano Babic <sbabic@denx.de>
17 years ago[PATCH] Run new sequoia boards with an EBC speed of 83MHz
Jeffrey Mann [Wed, 16 May 2007 11:23:10 +0000 (13:23 +0200)]
[PATCH] Run new sequoia boards with an EBC speed of 83MHz

Because the Sequoia board does not boot with an EBC faster than 66MHz,
the clock divider are changed after the initial boot process.

This allows for maximum clocking speeds  to be achieved on newer boards.
Sequoia boards with 666.66 MHz processors require that the EBC divider
be set to 3 in order to start the initial boot process at a slower EBC
speed. After the initial boot process, the divider can be set back to 2,
which will cause the boards to run at 83.333MHz. This is backward
compatible with boards with 533.33 MHz processors, as these boards will
already be set with an EBC divider of 2.

Signed-off-by: Jeffrey Mann <mannj@embeddedplanet.com>
17 years agoMinor Coding Style cleanup, update CHANGELOG.
Wolfgang Denk [Tue, 15 May 2007 23:16:53 +0000 (01:16 +0200)]
Minor Coding Style cleanup, update CHANGELOG.

Signed-off-by: Wolfgang Denk <wd@denx.de>
17 years agoMerge with /home/wd/git/u-boot/custodian/u-boot-mpc83xx
Wolfgang Denk [Tue, 15 May 2007 23:12:04 +0000 (01:12 +0200)]
Merge with /home/wd/git/u-boot/custodian/u-boot-mpc83xx

17 years agoCoding Style Cleanup, new CHANGELOG
Wolfgang Denk [Tue, 15 May 2007 22:13:33 +0000 (00:13 +0200)]
Coding Style Cleanup, new CHANGELOG

17 years agoMerge with /home/wd/git/u-boot/custodian/u-boot-microblaze
Wolfgang Denk [Tue, 15 May 2007 22:11:53 +0000 (00:11 +0200)]
Merge with /home/wd/git/u-boot/custodian/u-boot-microblaze

17 years agoMerge with /home/wd/git/u-boot/master
Wolfgang Denk [Mon, 14 May 2007 22:23:53 +0000 (00:23 +0200)]
Merge with /home/wd/git/u-boot/master

17 years agoMerge with /home/tur/git/u-boot#motionpro
Wolfgang Denk [Mon, 14 May 2007 22:22:30 +0000 (00:22 +0200)]
Merge with /home/tur/git/u-boot#motionpro

17 years agoppc4xx: Add mtcpr/mfcpr access macros
Stefan Roese [Fri, 11 May 2007 10:01:49 +0000 (12:01 +0200)]
ppc4xx: Add mtcpr/mfcpr access macros

Signed-off-by: Stefan Roese <sr@denx.de>
17 years agoppc4xx: Set bd->bi_pci_busfreq on 440EPx/GRx too
Stefan Roese [Fri, 11 May 2007 10:01:06 +0000 (12:01 +0200)]
ppc4xx: Set bd->bi_pci_busfreq on 440EPx/GRx too

Signed-off-by: Stefan Roese <sr@denx.de>
17 years ago[Motion-PRO] Add MTD and JFFS2 support, also add default partition
Piotr Kruszynski [Thu, 10 May 2007 14:55:52 +0000 (16:55 +0200)]
[Motion-PRO] Add MTD and JFFS2 support, also add default partition
definition.

17 years agoadd: reading special purpose registers
Michal Simek [Tue, 8 May 2007 13:57:43 +0000 (15:57 +0200)]
add: reading special purpose registers

17 years agoadd: Microblaze V5 exception handling
Michal Simek [Tue, 8 May 2007 12:52:52 +0000 (14:52 +0200)]
add: Microblaze V5 exception handling

17 years agoadd: FSL control read and write
Michal Simek [Tue, 8 May 2007 12:39:11 +0000 (14:39 +0200)]
add: FSL control read and write

17 years ago[Motion-PRO] Add support for I2C, EEPROM and RTC.
Piotr Kruszynski [Tue, 8 May 2007 11:05:44 +0000 (13:05 +0200)]
[Motion-PRO] Add support for I2C, EEPROM and RTC.

17 years ago[Motion-PRO] Add ATA support. Add CF-booting commands to the default
Bartlomiej Sieka [Tue, 8 May 2007 08:23:56 +0000 (10:23 +0200)]
[Motion-PRO] Add ATA support. Add CF-booting commands to the default
environment.

17 years ago[Motion-PRO] Change IPB clock frequency from 50MHz to 100MHz. This
Bartlomiej Sieka [Tue, 8 May 2007 07:39:12 +0000 (09:39 +0200)]
[Motion-PRO] Change IPB clock frequency from 50MHz to 100MHz. This
eliminates networking problems in Linux (timeouts).

17 years ago[Motion-PRO] Enable Flat Device Tree support and modify default environment
Bartlomiej Sieka [Tue, 8 May 2007 07:21:57 +0000 (09:21 +0200)]
[Motion-PRO] Enable Flat Device Tree support and modify default environment
to allow booting of FDT-expecting kernels.

17 years agoMerge git://www.denx.de/git/u-boot
Michal Simek [Mon, 7 May 2007 22:32:35 +0000 (00:32 +0200)]
Merge git://www.denx.de/git/u-boot

Conflicts:

include/asm-microblaze/microblaze_intc.h
include/linux/stat.h

17 years agonew: USE_MSR_INTR support
Michal Simek [Mon, 7 May 2007 21:58:31 +0000 (23:58 +0200)]
new: USE_MSR_INTR support

17 years ago[MPC5xxx] There are networking problems on the Motion-PRO board with
Bartlomiej Sieka [Mon, 7 May 2007 20:36:15 +0000 (22:36 +0200)]
[MPC5xxx] There are networking problems on the Motion-PRO board with
current PHY initalization code (tftp timeouts all the time). This commit
temporarily disables PHY initalization sequence to make the networking
operational, until a fix is found.

17 years agoGet rid of duplicated file (see include/configs/sbc8560.h instead)
Wolfgang Denk [Mon, 7 May 2007 20:10:36 +0000 (22:10 +0200)]
Get rid of duplicated file (see include/configs/sbc8560.h instead)

Signed-off-by: Wolfgang Denk <wd@denx.de>
17 years agoGet rid of duplicated file (see doc/README.SBC8560 instead)
Wolfgang Denk [Mon, 7 May 2007 20:07:08 +0000 (22:07 +0200)]
Get rid of duplicated file (see doc/README.SBC8560 instead)

Signed-off-by: Wolfgang Denk <wd@denx.de>
17 years agofix: read and write MSR - repair number of parameters
Michal Simek [Mon, 7 May 2007 17:43:10 +0000 (19:43 +0200)]
fix: read and write MSR - repair number of parameters

17 years ago[PATCH] ppc4xx: Fix CONFIG_SYS_CLK_FREQ definition in Sequoia config file
Jeffrey Mann [Mon, 7 May 2007 17:42:49 +0000 (19:42 +0200)]
[PATCH] ppc4xx: Fix CONFIG_SYS_CLK_FREQ definition in Sequoia config file

A '3' got cut off in the formatting of the last patch to automatically
change the clock speed of the system clock on sequoia board.

Signed-off-by: Jeffrey Mann <mannj@embeddedplanet.com>
Signed-off-by: Stefan Roese <sr@denx.de>
17 years agonew: fsl interrupt support
Michal Simek [Mon, 7 May 2007 17:33:51 +0000 (19:33 +0200)]
new: fsl interrupt support
FSL_Has_data is connected to INTC.

17 years agofix: interrupt handler
Michal Simek [Mon, 7 May 2007 17:30:12 +0000 (19:30 +0200)]
fix: interrupt handler
remove asm code

17 years agofix: remove asm code
Michal Simek [Mon, 7 May 2007 17:25:08 +0000 (19:25 +0200)]
fix: remove asm code

17 years agofix: clean interrupt
Michal Simek [Mon, 7 May 2007 17:12:43 +0000 (19:12 +0200)]
fix: clean interrupt

17 years agofix: interrupt handler for multiple sources
Michal Simek [Mon, 7 May 2007 15:22:25 +0000 (17:22 +0200)]
fix: interrupt handler for multiple sources

17 years agonew: add writing to msr register
Michal Simek [Mon, 7 May 2007 15:11:09 +0000 (17:11 +0200)]
new: add writing to msr register

17 years ago5xxx: write MAC address to mac-address and local-mac-address
Timur Tabi [Sat, 5 May 2007 06:12:30 +0000 (08:12 +0200)]
5xxx: write MAC address to mac-address and local-mac-address

Some device trees have a mac-address property, some have local-mac-address,
and some have both.  To support all of these device trees, ftp_cpu_setup()
should write the MAC address to mac-address and local-mac-address, if they
exist.

Signed-off-by: Timur Tabi <timur@freescale.com>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
17 years ago[PATCH] Use PVR to distinguish MPC5200B from MPC5200 in boot message
Grzegorz Wianecki [Sun, 29 Apr 2007 12:01:54 +0000 (14:01 +0200)]
[PATCH] Use PVR to distinguish MPC5200B from MPC5200 in boot message

MPC5200B systems are incorrectly reported as MPC5200 in U-Boot start-up
message. Use PVR to distinguish between the two variants, and print proper CPU
information.

Signed-off-by: Grzegorz Wianecki <grzegorz.wianecki@gmail.com>
Signed-off-by: Bartlomiej Sieka <tur@semihalf.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
17 years ago[PATCH] simplify silent console
Ladislav Michl [Wed, 25 Apr 2007 14:01:26 +0000 (16:01 +0200)]
[PATCH] simplify silent console

Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
Acked-by: Stefan Roese <sr@denx.de>
17 years ago[PATCH] Avoid assigning PCI resources from zero address
Sergei Shtylyov [Mon, 23 Apr 2007 13:30:39 +0000 (15:30 +0200)]
[PATCH] Avoid assigning PCI resources from zero address

If a PCI IDE card happens to get a zero address assigned to it, the Linux IDE
core complains and IDE drivers fails to work.  Also, assigning zero to a BAR
was illegal according to PCI 2.1 (the later revisions seem to have excluded the
sentence about "0" being considered an invalid address) -- so, use a reasonable
starting value of 0x1000 (that's what the most Linux archs are using).

Alternatively, one might have fixed the calls to pci_set_region() individually
(some code even seems to have taken care of this issue) but that would have
been a lot more work. :-)

Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Acked-by: Stefan Roese <sr@denx.de>
17 years ago[patch] setenv(...) can delete environmentalvariables
Jeffrey Mann [Mon, 23 Apr 2007 12:00:11 +0000 (14:00 +0200)]
[patch] setenv(...) can delete environmentalvariables

update setenv() function so that entering a NULL value for the
variable's value will delete the environmental variable

Signed-off-by: Jeffrey Mann <mannj@embeddedplanet.com>
Acked-by: Stefan Roese <sr@denx.de>
17 years ago[patch] use unsigned char in smc91111 driver for mac
Mike Frysinger [Mon, 23 Apr 2007 11:54:24 +0000 (13:54 +0200)]
[patch] use unsigned char in smc91111 driver for mac

the v_mac variable in the smc91111 driver is declared as a signed char ...
this causes problems when one of the bytes in the MAC is "signed" like 0xE0
because when it gets printed out, you get a display like:
0xFFFFFFE0 and that's no good

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
17 years agonew: FSL and MSR support #2
Michal Simek [Sat, 5 May 2007 16:54:42 +0000 (18:54 +0200)]
new: FSL and MSR support #2

17 years agonew: FSL and MSR support
Michal Simek [Sat, 5 May 2007 16:27:16 +0000 (18:27 +0200)]
new: FSL and MSR support

17 years agoCoding stylke cleanup; update CHANGELOG.
Wolfgang Denk [Sat, 5 May 2007 16:23:11 +0000 (18:23 +0200)]
Coding stylke cleanup; update CHANGELOG.

Signed-off-by: Wolfgang Denk <wd@denx.de>
17 years agoMerge with /home/wd/git/u-boot/custodian/u-boot-ppc4xx
Wolfgang Denk [Sat, 5 May 2007 16:07:10 +0000 (18:07 +0200)]
Merge with /home/wd/git/u-boot/custodian/u-boot-ppc4xx

17 years agoAdd STX GP3 SSA board to MAKEALL script; update CHANGELOG.
Wolfgang Denk [Sat, 5 May 2007 16:05:02 +0000 (18:05 +0200)]
Add STX GP3 SSA board to MAKEALL script; update CHANGELOG.

Signed-off-by: Wolfgang Denk <wd@denx.de>
17 years agoMerge with /home/wd/git/u-boot/custodian/u-boot-mpc85xx
Wolfgang Denk [Sat, 5 May 2007 15:33:22 +0000 (17:33 +0200)]
Merge with /home/wd/git/u-boot/custodian/u-boot-mpc85xx

17 years agoMake "file" command happy with some config.mk files; update CHANGELOG
Wolfgang Denk [Sat, 5 May 2007 15:15:50 +0000 (17:15 +0200)]
Make "file" command happy with some config.mk files; update CHANGELOG

17 years agoMerge with /home/wd/git/u-boot/custodian/u-boot-nand-flash
Wolfgang Denk [Sat, 5 May 2007 14:57:46 +0000 (16:57 +0200)]
Merge with /home/wd/git/u-boot/custodian/u-boot-nand-flash

17 years agoMerge with /home/wd/git/u-boot/custodian/u-boot-mpc86xx
Wolfgang Denk [Sat, 5 May 2007 14:48:48 +0000 (16:48 +0200)]
Merge with /home/wd/git/u-boot/custodian/u-boot-mpc86xx

17 years agoMerge with git://www.denx.de/git/u-boot.git
Stefan Roese [Sat, 5 May 2007 06:37:54 +0000 (08:37 +0200)]
Merge with git://www.denx.de/git/u-boot.git

17 years agoppc4xx: Detect if the sysclk on Sequoia is 33 or 33.333 MHz
Jeffrey Mann [Sat, 5 May 2007 06:32:14 +0000 (08:32 +0200)]
ppc4xx: Detect if the sysclk on Sequoia is 33 or 33.333 MHz

The AMCC Secquoia board has been changed in a new revision from using a
33.000 MHz clock to a 33.333 MHz system clock. A bit in the CPLD
indicates the difference. This patch reads that bit and uses the correct
clock speed for the board. This code is backward compatable will all
prior boards. All prior boards will be read as 33.000.

Signed-off-by: Jeffrey Mann <mannj@embeddedplanet.com>
Signed-off-by: Stefan Roese <sr@denx.de>
17 years agoppc4xx: Sequoia: Remove cpu/ppc4xx/speed.c from NAND booting
Stefan Roese [Sat, 5 May 2007 06:29:01 +0000 (08:29 +0200)]
ppc4xx: Sequoia: Remove cpu/ppc4xx/speed.c from NAND booting

Using cpu/ppc4xx/speed.c to calculate the bus frequency is too big
for the 4k NAND boot image so define bus_frequency to 133MHz here
which is save for the refresh counter setup.

Signed-off-by: Stefan Roese <sr@denx.de>
17 years agoMerge with git://www.denx.de/git/u-boot.git
Stefan Roese [Sat, 5 May 2007 05:10:03 +0000 (07:10 +0200)]
Merge with git://www.denx.de/git/u-boot.git

17 years agoNAND: Wrong calculation of page number in nand_block_bad()
Thomas Knobloch [Sat, 5 May 2007 05:04:42 +0000 (07:04 +0200)]
NAND: Wrong calculation of page number in nand_block_bad()

In case that there is no memory based bad block table available the
function nand_block_checkbad() in drivers/mtd/nand/nand_base.c will call
nand_block_bad() directly. When parameter 'getchip' is set to zero,
nand_block_bad() will not right shift the offset to calculate the
correct page number.

Signed-off-by: Thomas Knobloch <knobloch@siemens.com>
Signed-off-by: Stefan Roese <sr@denx.de>
17 years agoFix initrd length corruption in bootm command.
Wolfgang Denk [Fri, 4 May 2007 08:02:33 +0000 (10:02 +0200)]
Fix initrd length corruption in bootm command.

When using FDT Images, the length of an inital ramdisk was
overwritten (bug introduced by commit 87a449c8, 22 Aug 2006).

Patches by Timur Tabi & Johns Daniel.

Signed-off-by: Wolfgang Denk <wd@denx.de>
17 years agompc83xx: fix trivial error in MAKEALL
Kim Phillips [Fri, 4 May 2007 00:43:52 +0000 (19:43 -0500)]
mpc83xx: fix trivial error in MAKEALL

Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
17 years agoUpdate board configuration for STX GP3SSA board:
Wolfgang Denk [Thu, 3 May 2007 14:34:41 +0000 (16:34 +0200)]
Update board configuration for STX GP3SSA board:

Enable hush shell, environment in flash rather in EEPROM,
more user-friendly default environment, etc.
The simple EEPROM environment can be selected easily in the board
config file.

Signed-off-by: Wolfgang Denk <wd@denx.de>
17 years agoCleanup STX GP3SSA code; fix build and compile problems.
Wolfgang Denk [Tue, 24 Apr 2007 12:37:49 +0000 (14:37 +0200)]
Cleanup STX GP3SSA code; fix build and compile problems.

17 years agoAdd support for STX GP3SSA (stxssa) Board
Dan Malek [Fri, 5 Jan 2007 08:15:34 +0000 (09:15 +0100)]
Add support for STX GP3SSA (stxssa) Board

Signed-off-by Dan Malek, <dan@embeddedalley.com>

17 years agoCleaned up some 85xx PCI bugs
Andy Fleming [Sat, 24 Feb 2007 07:08:13 +0000 (01:08 -0600)]
Cleaned up some 85xx PCI bugs

* Cleaned up the CDS PCI Config Tables and added NULL entries to
  the end
* Fixed PCIe LAWBAR assignemt to use the cpu-relative address
* Fixed 85xx PCI code to assign powar region sizes based on the
  config values (rather than hard-coding them)
* Fixed the 8548 CDS PCI2 IO to once again have 0 as the base address

Signed-off-by: Andy Fleming <afleming@freescale.com>
17 years agoAdd support for the 8568 MDS board
Andy Fleming [Mon, 23 Apr 2007 07:54:25 +0000 (02:54 -0500)]
Add support for the 8568 MDS board

This included some changes to common files:
* Add 8568 processor SVR to various places
* Add support for setting the qe bus-frequency value in the dts
* Add the 8568MDS target to the Makefile

Signed-off-by: Andy Fleming <afleming@freescale.com>
17 years agoAdd support for treating unknown PHYs as generic PHYs.
David Updegraff [Fri, 20 Apr 2007 19:34:48 +0000 (14:34 -0500)]
Add support for treating unknown PHYs as generic PHYs.

When bringing up u-boot on new boards, PHY support sometimes gets
neglected.  Most PHYs don't really need any special support,
though.  By adding a generic entry that always matches if nothing
else does, we can provide support for "unsupported" PHYs for the
tsec.

The generic PHY driver supports most PHYs, including gigabit.

Signed-off-by: David Updegraff <dave@cray.com>
Signed-off-by: Andy Fleming <afleming@freescale.com>
17 years agoConditionalize 8641 Rev1.0 MCM workarounds
James Yang [Wed, 7 Feb 2007 21:28:04 +0000 (15:28 -0600)]
Conditionalize 8641 Rev1.0 MCM workarounds

Signed-off-by: James Yang <James.Yang@freescale.com>
Signed-off-by: Jon Loeliger <jdl@freescale.com>
17 years agoFix memory initialization on MPC8349E-mITX
Timur Tabi [Mon, 30 Apr 2007 18:59:50 +0000 (13:59 -0500)]
Fix memory initialization on MPC8349E-mITX

Define CFG_DDR_SDRAM_CLK_CNTL for the MPC8349E-mITX and MPC8349E-mITX-GP.
This allows ddr->sdram_clk_cntl to be properly initialized.  This is necessary
on some ITX boards, notably those with a revision 3.1 CPU.

Also change spd_sdram() in cpu/mpc83xx/spd_sdram.c to not write anything into
ddr->sdram_clk_cntl if CFG_DDR_SDRAM_CLK_CNTL is not defined.

Signed-off-by: Timur Tabi <timur@freescale.com>
Acked-by: Michael Benedict <MBenedict@twacs.com>
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
17 years agompc83xx: replace elaborate boottime verbosity with 'clocks' command
Kim Phillips [Mon, 30 Apr 2007 20:26:21 +0000 (15:26 -0500)]
mpc83xx: replace elaborate boottime verbosity with 'clocks' command

and fix CPU: to align with Board: display text.

Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
17 years agoRewrote picos_to_clk() to avoid rounding errors.
James Yang [Fri, 16 Mar 2007 18:02:53 +0000 (13:02 -0500)]
Rewrote picos_to_clk() to avoid rounding errors.
Clarified that conversion is to DRAM clocks rather than platform clocks.
Made function static to spd_sdram.c.

Signed-off-by: James Yang <James.Yang@freescale.com>
Signed-off-by: Jon Loeliger <jdl@freescale.com>