]> git.sur5r.net Git - u-boot/log
u-boot
17 years agoppc4xx: Change SysACE address on Katmai
Stefan Roese [Mon, 2 Apr 2007 08:09:30 +0000 (10:09 +0200)]
ppc4xx: Change SysACE address on Katmai

With this new base address of the Xilinx SystemACE controller
the Linux driver will be easier to adapt, since it can now be
mapped via the "normal" ioremap() call.

Signed-off-by: Stefan Roese <sr@denx.de>
17 years agoMerge with git://www.denx.de/git/u-boot.git
Stefan Roese [Sat, 31 Mar 2007 11:44:12 +0000 (13:44 +0200)]
Merge with git://www.denx.de/git/u-boot.git

17 years agoppc4xx: Update Katmai bootstrap command
Stefan Roese [Sat, 31 Mar 2007 11:16:23 +0000 (13:16 +0200)]
ppc4xx: Update Katmai bootstrap command

Now the DDR2 frequency is also 2*PLB frequency when 166MHz PLB
is selected.

Signed-off-by: Stefan Roese <sr@denx.de>
17 years agoppc4xx: Update 44x_spd_ddr2 code (440SP/440SPe)
Stefan Roese [Sat, 31 Mar 2007 11:15:06 +0000 (13:15 +0200)]
ppc4xx: Update 44x_spd_ddr2 code (440SP/440SPe)

Additional RAM information is now printed upon powerup, like
DDR2 frequency and CAS latency.

Signed-off-by: Stefan Roese <sr@denx.de>
17 years agoppc4xx: Change Yucca config file to support ECC
Stefan Roese [Sat, 31 Mar 2007 06:48:36 +0000 (08:48 +0200)]
ppc4xx: Change Yucca config file to support ECC

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

Signed-off-by: Stefan Roese <sr@denx.de>
17 years agoppc4xx: Fix "bootstrap" command for Katmai board
Stefan Roese [Sat, 31 Mar 2007 06:47:34 +0000 (08:47 +0200)]
ppc4xx: Fix "bootstrap" command for Katmai board

The board specific "bootstrap" command is now fixed and can
be used for the AMCC Katmai board to configure different
CPU/PLB/OPB frequencies.

Signed-off-by: Stefan Roese <sr@denx.de>
17 years agoppc4xx: Update 44x_spd_ddr2 code (440SP/440SPe)
Stefan Roese [Sat, 31 Mar 2007 06:46:08 +0000 (08:46 +0200)]
ppc4xx: Update 44x_spd_ddr2 code (440SP/440SPe)

Fix a bug in the auto calibration routine. This driver now runs
more reliable with the tested modules. It's also tested with
167MHz PLB frequency (667MHz DDR2 frequency) on the Katmai.

Signed-off-by: Stefan Roese <sr@denx.de>
17 years agoMerge with /home/wd/git/u-boot/custodian/u-boot-mpc86xx
Wolfgang Denk [Thu, 29 Mar 2007 10:16:41 +0000 (12:16 +0200)]
Merge with /home/wd/git/u-boot/custodian/u-boot-mpc86xx

17 years agoMerge some AMCC make targets to keep the top-level Makefile smaller
Stefan Roese [Wed, 28 Mar 2007 13:03:16 +0000 (15:03 +0200)]
Merge some AMCC make targets to keep the top-level Makefile smaller

Signed-off-by: Stefan Roese <sr@denx.de>
17 years agoi2c: Enable "old" i2c commands even when CONFIG_I2C_CMD_TREE is defined
Stefan Roese [Wed, 28 Mar 2007 12:52:12 +0000 (14:52 +0200)]
i2c: Enable "old" i2c commands even when CONFIG_I2C_CMD_TREE is defined

The "old" i2c commands (iprobe, imd...) are now compiled in again,
even when the i2c command tree is enabled via the CONFIG_I2C_CMD_TREE
config option.

Signed-off-by: Stefan Roese <sr@denx.de>
17 years agoMerge with /home/stefan/git/u-boot/acadia
Stefan Roese [Sat, 24 Mar 2007 14:59:23 +0000 (15:59 +0100)]
Merge with /home/stefan/git/u-boot/acadia

17 years ago[PATCH] Add 4xx GPIO functions
Stefan Roese [Sat, 24 Mar 2007 14:57:09 +0000 (15:57 +0100)]
[PATCH] Add 4xx GPIO functions

This patch adds some 4xx GPIO functions. It also moves some of the
common code and defines into a common 4xx GPIO header file.

Signed-off-by: Stefan Roese <sr@denx.de>
17 years ago[PATCH] Small Sequoia cleanup
Stefan Roese [Sat, 24 Mar 2007 14:55:58 +0000 (15:55 +0100)]
[PATCH] Small Sequoia cleanup

Signed-off-by: Stefan Roese <sr@denx.de>
17 years ago[PATCH] Clean up 40EZ/Acadia support
Stefan Roese [Sat, 24 Mar 2007 14:45:34 +0000 (15:45 +0100)]
[PATCH] Clean up 40EZ/Acadia support

This patch cleans up all the open issue of the preliminary
Acadia support.

Signed-off-by: Stefan Roese <sr@denx.de>
17 years agoFix 8641HPCN problem with ld version 2.16
Jon Loeliger [Tue, 12 Dec 2006 17:02:20 +0000 (11:02 -0600)]
Fix 8641HPCN problem with ld version 2.16

(Dot outside sections problem).

This fix is in the spirit of 807d5d7319330e336ab34a5623c5e0d73b87d540.

Signed-off-by: Jon Loeliger <jdl@freescale.com>
17 years agoSet Rev 2.x 86xx PIC in mixed mode.
Haiying Wang [Thu, 7 Dec 2006 16:35:55 +0000 (10:35 -0600)]
Set Rev 2.x 86xx PIC in mixed mode.

Prevent false interrupt from hanging Linux as MSR[EE] is set
to enable interrupts by changing the PIC out of the default
pass through mode into mixed mode.

Signed-off-by: Haiying Wang <haiying.wang@freescale.com>
Signed-off-by: Jon Loeliger <jdl@freescale.com>
17 years agoAdd flash cmd function to 8641HPCN ramboot
Jason Jin [Thu, 7 Dec 2006 16:32:35 +0000 (10:32 -0600)]
Add flash cmd function to 8641HPCN ramboot

Also fixes some commmand for 8641 HPCN ramboot case.

Signed-off-by: Jason Jin <jason.jin@freescale.com>
Signed-off-by: Jon Loeliger <jdl@freescale.com>
17 years agoAdd support for 8641 Rev 2 silicon.
Ed Swarthout [Thu, 7 Dec 2006 16:34:14 +0000 (10:34 -0600)]
Add support for 8641 Rev 2 silicon.

Without this patch, I am unable to get to the prompt on rev 2 silicon.
Only set ddrioovcr for rev1.

Signed-off-by: Ed Swarthout<ed.swarthout@freescale.com>
Signed-off-by: Jon Loeliger <jdl@freescale.com>
17 years agoCode cleanup / re-insert previous Copyright entries.
Wolfgang Denk [Wed, 21 Mar 2007 23:13:12 +0000 (00:13 +0100)]
Code cleanup / re-insert previous Copyright entries.

Signed-off-by: Wolfgang Denk <wd@denx.de>
17 years agoMerge with /home/wd/git/u-boot/custodian/u-boot-blackfin
Wolfgang Denk [Wed, 21 Mar 2007 23:00:03 +0000 (00:00 +0100)]
Merge with /home/wd/git/u-boot/custodian/u-boot-blackfin

17 years agoCode cleanup. Update CHANGELOG
Wolfgang Denk [Wed, 21 Mar 2007 22:26:15 +0000 (23:26 +0100)]
Code cleanup. Update CHANGELOG

17 years agoMerge with /home/wd/git/u-boot/custodian/u-boot-ppc4xx
Wolfgang Denk [Wed, 21 Mar 2007 22:11:22 +0000 (23:11 +0100)]
Merge with /home/wd/git/u-boot/custodian/u-boot-ppc4xx

17 years agoppc4xx: Fix file mode of include/configs/acadia.h
Stefan Roese [Wed, 21 Mar 2007 13:54:29 +0000 (14:54 +0100)]
ppc4xx: Fix file mode of include/configs/acadia.h

Signed-off-by: Stefan Roese <sr@denx.de>
17 years agoSPC1920: fix small clock routing bug
Markus Klotzbuecher [Wed, 21 Mar 2007 13:41:46 +0000 (14:41 +0100)]
SPC1920: fix small clock routing bug

Signed-off-by: Markus Klotzbuecher <mk@denx.de>
17 years agoMerge with /home/stefan/git/u-boot/acadia
Stefan Roese [Wed, 21 Mar 2007 13:38:25 +0000 (14:38 +0100)]
Merge with /home/stefan/git/u-boot/acadia

17 years ago[PATCH] Add AMCC Acadia (405EZ) eval board support
Stefan Roese [Wed, 21 Mar 2007 12:39:57 +0000 (13:39 +0100)]
[PATCH] Add AMCC Acadia (405EZ) eval board support

This patch adds support for the new AMCC Acadia eval board.

Please note that this Acadia/405EZ support is still in a beta stage.
Still lot's of cleanup needed but we need a preliminary release now.

Signed-off-by: Stefan Roese <sr@denx.de>
17 years ago[PATCH] Add AMCC PPC405EZ support
Stefan Roese [Wed, 21 Mar 2007 12:38:59 +0000 (13:38 +0100)]
[PATCH] Add AMCC PPC405EZ support

This patch adds support for the new AMCC 405EZ PPC. It is in
preparation for the AMCC Acadia board support.

Please note that this Acadia/405EZ support is still in a beta stage.
Still lot's of cleanup needed but we need a preliminary release now.

Signed-off-by: Stefan Roese <sr@denx.de>
17 years agoMerge with /home/hs/TQ/u-boot
Wolfgang Denk [Wed, 21 Mar 2007 09:23:56 +0000 (10:23 +0100)]
Merge with /home/hs/TQ/u-boot

17 years ago[PATCH] TQM8272: dont change the bits given from the HRCW
Heiko Schocher [Wed, 21 Mar 2007 07:45:17 +0000 (08:45 +0100)]
[PATCH] TQM8272: dont change the bits given from the HRCW
                 for the SIUMCR and BCR Register.
                 Fix the calculation for the EEprom Size

Signed-off-by: Heiko Schocher <hs@denx.de>
17 years agoMerge http://www.denx.de/git/u-boot
Aubrey Li [Tue, 20 Mar 2007 14:58:25 +0000 (22:58 +0800)]
Merge http://www.denx.de/git/u-boot

17 years ago[Blackfin][PATCH] Add BF561 EZKIT board support
Aubrey Li [Tue, 20 Mar 2007 10:16:24 +0000 (18:16 +0800)]
[Blackfin][PATCH] Add BF561 EZKIT board support

17 years agoMerge http://www.denx.de/git/u-boot
Aubrey Li [Mon, 19 Mar 2007 15:01:15 +0000 (23:01 +0800)]
Merge http://www.denx.de/git/u-boot

17 years ago[Blackfin][PATCH] minor cleanup
Aubrey Li [Mon, 19 Mar 2007 14:55:58 +0000 (22:55 +0800)]
[Blackfin][PATCH] minor cleanup

17 years agoRemove obsoleted POST files.
Wolfgang Denk [Mon, 19 Mar 2007 12:10:08 +0000 (13:10 +0100)]
Remove obsoleted POST files.

Signed-off-by: Wolfgang Denk <wd@denx.de>
17 years ago[PATCH] Add flash chip M29W320ET/B support
Aubrey Li [Sun, 18 Mar 2007 17:26:11 +0000 (01:26 +0800)]
[PATCH] Add flash chip M29W320ET/B support

17 years ago[Blackfin][PATCH] Add BF537 stamp board support
Aubrey Li [Sun, 18 Mar 2007 17:24:52 +0000 (01:24 +0800)]
[Blackfin][PATCH] Add BF537 stamp board support

17 years agoMerge with /home/wd/git/u-boot/custodian/u-boot-ppc4xx
Wolfgang Denk [Fri, 16 Mar 2007 21:20:36 +0000 (22:20 +0100)]
Merge with /home/wd/git/u-boot/custodian/u-boot-ppc4xx

17 years ago[PATCH] Use dynamic SDRAM TLB setup on AMCC Ebony eval board
Stefan Roese [Fri, 16 Mar 2007 20:11:42 +0000 (21:11 +0100)]
[PATCH] Use dynamic SDRAM TLB setup on AMCC Ebony eval board

Define CONFIG_PROG_SDRAM_TLB so that the TLB entries for the
DDR memory are dynamically programmed matching the total size
of the equipped memory (DIMM modules).

Signed-off-by: Stefan Roese <sr@denx.de>
17 years ago[PATCH] renamed environment variable 'addcon' to 'addcons' for PCI405
Matthias Fuchs [Tue, 13 Mar 2007 12:38:05 +0000 (13:38 +0100)]
[PATCH] renamed environment variable 'addcon' to 'addcons' for PCI405
        boards in terms of unification.

Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
17 years agoMake SC3 board build with 'make O='; use 'addcons' consistently
Wolfgang Denk [Tue, 13 Mar 2007 15:05:55 +0000 (16:05 +0100)]
Make SC3 board build with 'make O='; use 'addcons' consistently
(SC3 and Jupiter used to use 'addcon' instead).

Signed-off-by: Wolfgang Denk wd@denx.de
17 years agoMerge with /home/hs/jupiter/u-boot
Wolfgang Denk [Tue, 13 Mar 2007 10:33:35 +0000 (11:33 +0100)]
Merge with /home/hs/jupiter/u-boot

17 years ago[PATCH] update board config for jupiter Board:
Heiko Schocher [Tue, 13 Mar 2007 08:40:59 +0000 (09:40 +0100)]
[PATCH] update board config for jupiter Board:
        added Hush Shell,
              CONFIG_CMDLINE_EDITING,
              CFG_ENV_ADDR_REDUND activated

Signed-off-by: Heiko Schocher <hs@denx.de>
17 years ago[Blackfin][PATCH] minor cleanup
Aubrey Li [Mon, 12 Mar 2007 04:11:55 +0000 (12:11 +0800)]
[Blackfin][PATCH] minor cleanup

17 years ago[Blackfin][PATCH] Fix BUILD_DIR option of MAKEALL building issue
Aubrey Li [Sun, 11 Mar 2007 17:42:06 +0000 (01:42 +0800)]
[Blackfin][PATCH] Fix BUILD_DIR option of MAKEALL building issue

17 years ago[Blackfin][PATCH] code cleanup
Aubrey Li [Sun, 11 Mar 2007 16:25:14 +0000 (00:25 +0800)]
[Blackfin][PATCH] code cleanup

17 years ago[Blackfin][PATCH] code cleanup
Aubrey Li [Sat, 10 Mar 2007 15:49:29 +0000 (23:49 +0800)]
[Blackfin][PATCH] code cleanup

17 years ago[Blackfin][PATCH-2/2] Common files changed to support bf533 platform
Aubrey.Li [Fri, 9 Mar 2007 05:40:56 +0000 (13:40 +0800)]
[Blackfin][PATCH-2/2] Common files changed to support bf533 platform

17 years ago[Blackfin]PATCH-1/2]: Remove obsolete blackfin port and add bf533 platform support
Aubrey.Li [Fri, 9 Mar 2007 05:38:44 +0000 (13:38 +0800)]
[Blackfin]PATCH-1/2]: Remove obsolete blackfin port and add bf533 platform support

17 years agoMerge with /home/wd/git/u-boot/custodian/u-boot-ppc4xx
Wolfgang Denk [Thu, 8 Mar 2007 22:06:12 +0000 (23:06 +0100)]
Merge with /home/wd/git/u-boot/custodian/u-boot-ppc4xx

17 years agoppc4xx: Fix file mode of sequoia.c
Stefan Roese [Thu, 8 Mar 2007 22:00:08 +0000 (23:00 +0100)]
ppc4xx: Fix file mode of sequoia.c

Signed-off-by: Stefan Roese <sr@denx.de>
17 years agoMinor cleanup.
Wolfgang Denk [Thu, 8 Mar 2007 21:52:51 +0000 (22:52 +0100)]
Minor cleanup.

17 years agoppc4xx: Clear Sequoia/Rainier security engine reset bits
John Otken john@softadvances.com [Thu, 8 Mar 2007 15:39:48 +0000 (09:39 -0600)]
ppc4xx: Clear Sequoia/Rainier security engine reset bits

Signed-off-by: John Otken john@softadvances.com <john@softadvances.com>
17 years agoMerge with /home/wd/git/u-boot/custodian/u-boot-mpc83xx
Wolfgang Denk [Thu, 8 Mar 2007 21:42:44 +0000 (22:42 +0100)]
Merge with /home/wd/git/u-boot/custodian/u-boot-mpc83xx

17 years ago[PATCH] I2C: add some more SPD eeprom decoding for DDR2 modules
Matthias Fuchs [Thu, 8 Mar 2007 15:26:52 +0000 (16:26 +0100)]
[PATCH] I2C: add some more SPD eeprom decoding for DDR2 modules

Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
17 years ago[PATCH] I2C: disable flat i2c commands when CONFIG_I2C_CMD_TREE is defined
Matthias Fuchs [Thu, 8 Mar 2007 15:25:47 +0000 (16:25 +0100)]
[PATCH] I2C: disable flat i2c commands when CONFIG_I2C_CMD_TREE is defined

Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
17 years ago[PATCH] 4xx: allow CONFIG_I2C_CMD_TREE without CONFIG_I2C_MULTI_BUS
Matthias Fuchs [Thu, 8 Mar 2007 15:23:11 +0000 (16:23 +0100)]
[PATCH] 4xx: allow CONFIG_I2C_CMD_TREE without CONFIG_I2C_MULTI_BUS

Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
17 years ago[PATCH] I2C: Add missing default CFG_SPD_BUS_NUM
Matthias Fuchs [Thu, 8 Mar 2007 15:20:32 +0000 (16:20 +0100)]
[PATCH] I2C: Add missing default CFG_SPD_BUS_NUM

Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
17 years agofixed ethernet phy configuration for plu405 board
Matthias Fuchs [Wed, 7 Mar 2007 14:32:01 +0000 (15:32 +0100)]
fixed ethernet phy configuration for plu405 board

Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
17 years agoMinor cleanup
Wolfgang Denk [Thu, 8 Mar 2007 20:49:27 +0000 (21:49 +0100)]
Minor cleanup

17 years agoMerge with /home/hs/jupiter/u-boot
Wolfgang Denk [Thu, 8 Mar 2007 20:45:04 +0000 (21:45 +0100)]
Merge with /home/hs/jupiter/u-boot

17 years agoMerge with /home/wd/git/u-boot/custodian/u-boot-ppc4xx
Wolfgang Denk [Thu, 8 Mar 2007 10:38:58 +0000 (11:38 +0100)]
Merge with /home/wd/git/u-boot/custodian/u-boot-ppc4xx

17 years agoMerge with /home/stefan/git/u-boot/yucca-ddr2
Stefan Roese [Thu, 8 Mar 2007 09:32:45 +0000 (10:32 +0100)]
Merge with /home/stefan/git/u-boot/yucca-ddr2

17 years ago[PATCH] Update AMCC Luan 440SP eval board support
Stefan Roese [Thu, 8 Mar 2007 09:13:16 +0000 (10:13 +0100)]
[PATCH] Update AMCC Luan 440SP eval board support

The AMCC Luan now uses the common 440SP(e) DDR SPD code for DDR
inititializition. This includes DDR auto calibration and support
for different DIMM modules, instead of the fixed setup used in
the earlier version.

This patch also enables the cache in FLASH for the startup
phase of U-Boot (while running from FLASH). After relocating to
SDRAM the cache is disabled again. This will speed up the boot
process, especially the SDRAM setup, since there are some loops
for memory testing (auto calibration).

Signed-off-by: Stefan Roese <sr@denx.de>
17 years ago[PATCH] Update AMCC Yucca 440SPe eval board support
Stefan Roese [Thu, 8 Mar 2007 09:10:18 +0000 (10:10 +0100)]
[PATCH] Update AMCC Yucca 440SPe eval board support

The AMCC Yucca now uses the common 440SP(e) DDR SPD code for DDR
inititializition. This includes DDR auto calibration and support
for different DIMM modules, instead of the fixed setup used in
the earlier version.

Signed-off-by: Stefan Roese <sr@denx.de>
17 years agoppc4xx: Small AMCC Katmai 440SPe update
Stefan Roese [Thu, 8 Mar 2007 09:07:18 +0000 (10:07 +0100)]
ppc4xx: Small AMCC Katmai 440SPe update

Signed-off-by: Stefan Roese <sr@denx.de>
17 years agoppc4xx: Update 440SP/440SPe DDR SPD setup code to support 440SP
Stefan Roese [Thu, 8 Mar 2007 09:06:09 +0000 (10:06 +0100)]
ppc4xx: Update 440SP/440SPe DDR SPD setup code to support 440SP

Signed-off-by: Stefan Roese <sr@denx.de>
17 years agoMerge with /home/wd/git/u-boot/custodian/u-boot-ppc4xx
Wolfgang Denk [Wed, 7 Mar 2007 15:50:34 +0000 (16:50 +0100)]
Merge with /home/wd/git/u-boot/custodian/u-boot-ppc4xx

17 years ago[PATCH] Use dynamic SDRAM TLB setup on AMCC Ocotea eval board
Stefan Roese [Wed, 7 Mar 2007 15:43:00 +0000 (16:43 +0100)]
[PATCH] Use dynamic SDRAM TLB setup on AMCC Ocotea eval board

Define CONFIG_PROG_SDRAM_TLB so that the TLB entries for the
DDR memory are dynamically programmed matching the total size
of the equipped memory (DIMM modules).

Signed-off-by: Stefan Roese <sr@denx.de>
17 years ago[PATCH] Fix AMCC 44x SPD SDRAM init code to support 2 DIMM's
Stefan Roese [Wed, 7 Mar 2007 15:39:36 +0000 (16:39 +0100)]
[PATCH] Fix AMCC 44x SPD SDRAM init code to support 2 DIMM's

This patch fixes a problem that occurs when 2 DIMM's are
used. This problem was first spotted and fixed by Gerald Jackson
<gerald.jackson@reaonixsecurity.com> but this patch fixes the
problem in a little more clever way.

This patch also adds the nice functionality to dynamically
create the TLB entries for the SDRAM (tlb.c). So we should
never run into such problems with wrong (too short) TLB
initialization again on these platforms.

As this feature is new to the "old" 44x SPD DDR driver, it
has to be enabled via the CONFIG_PROG_SDRAM_TLB define.

Signed-off-by: Stefan Roese <sr@denx.de>
17 years agoUC101: fix compiler warnings
Wolfgang Denk [Wed, 7 Mar 2007 15:33:44 +0000 (16:33 +0100)]
UC101: fix compiler warnings

17 years agoHMI1001: fix build error, cleanup compiler warnings.
Wolfgang Denk [Wed, 7 Mar 2007 15:19:46 +0000 (16:19 +0100)]
HMI1001: fix build error, cleanup compiler warnings.

17 years agoRestructure POST directory to support of other CPUs, boards, etc.
Wolfgang Denk [Tue, 6 Mar 2007 17:08:43 +0000 (18:08 +0100)]
Restructure POST directory to support of other CPUs, boards, etc.

17 years agoFix HOSTARCH handling.
Wolfgang Denk [Tue, 6 Mar 2007 17:01:47 +0000 (18:01 +0100)]
Fix HOSTARCH handling.
Patch by Mike Frysinger, Mar 05 2007

17 years ago[PATCH] Speed optimization of AMCC Sequoia/Rainier DDR2 setup
Stefan Roese [Tue, 6 Mar 2007 06:47:04 +0000 (07:47 +0100)]
[PATCH] Speed optimization of AMCC Sequoia/Rainier DDR2 setup

As provided by the AMCC applications team, this patch optimizes the
DDR2 setup for 166MHz bus speed. The values provided are also save
to use on a "normal" 133MHz PLB bus system. Only the refresh counter
setup has to be adjusted as done in this patch.

For this the NAND booting version had to include the "speed.c" file
from the cpu/ppc4xx directory. With this addition the NAND SPL image
will just fit into the 4kbytes of program space. gcc version 4.x as
provided with ELDK 4.x is needed to generate this optimized code.

Signed-off-by: Stefan Roese <sr@denx.de>
17 years agompc83xx: fix implicit declaration of function 'ft_get_prop' warnings
Kim Phillips [Wed, 28 Feb 2007 06:02:04 +0000 (00:02 -0600)]
mpc83xx: fix implicit declaration of function 'ft_get_prop' warnings

(cherry picked from c5bf13b02284c3204a723566a9bab700e5059659 commit)

17 years agompc83xx: Fix config of Arbiter, System Priority, and Clock Mode
Kumar Gala [Wed, 28 Feb 2007 05:51:42 +0000 (23:51 -0600)]
mpc83xx: Fix config of Arbiter, System Priority, and Clock Mode

The config value for:
* CFG_ACR_PIPE_DEP
* CFG_ACR_RPTCNT
* CFG_SPCR_TSEC1EP
* CFG_SPCR_TSEC2EP
* CFG_SCCR_TSEC1CM
* CFG_SCCR_TSEC2CM

Were not being used when setting the appropriate register

Added:
* CFG_SCCR_USBMPHCM
* CFG_SCCR_USBDRCM
* CFG_SCCR_PCICM
* CFG_SCCR_ENCCM

To allow full config of the SCCR.

Also removed random CFG_SCCR settings in MPC8349EMDS, TQM834x, and sbc8349
that were just bogus.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
17 years agompc83xx: update [local-]mac-address properties on UEC based devices
Kim Phillips [Fri, 23 Feb 2007 02:06:57 +0000 (20:06 -0600)]
mpc83xx: update [local-]mac-address properties on UEC based devices

8360 and 832x weren't updating their [local-]mac-address
properties. This patch fixes that.

Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
17 years agompc83xx: write MAC address to mac-address and local-mac-address
Timur Tabi [Tue, 13 Feb 2007 16:41:42 +0000 (10:41 -0600)]
mpc83xx: 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, this patch
updates ftp_cpu_setup() to write the MAC address to mac-address if it exists.
This function already updates local-mac-address.

Signed-off-by: Timur Tabi <timur@freescale.com>
17 years agompc83xx: add command line editing by default
Kim Phillips [Wed, 28 Feb 2007 00:41:08 +0000 (18:41 -0600)]
mpc83xx: add command line editing by default

17 years agompc83xx: Disable G1TXCLK, G2TXCLK h/w buffers
Kim Phillips [Thu, 15 Feb 2007 01:50:53 +0000 (19:50 -0600)]
mpc83xx: Disable G1TXCLK, G2TXCLK h/w buffers

Disable G1TXCLK, G2TXCLK h/w buffers. This patch
fixes a networking timeout issue with MPC8360EA (Rev.2) PBs.

Verified on Rev. 1.1, Rev. 1.2, and Rev. 2.0 boards.

Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
Signed-off-by: Emilian Medve <Emilian.Medve@freescale.com>
17 years agompc83xx: Add DDR2 controller fixed/SPD Init for MPC83xx
Xie Xiaobo [Wed, 14 Feb 2007 10:27:17 +0000 (18:27 +0800)]
mpc83xx: Add DDR2 controller fixed/SPD Init for MPC83xx

The code supply fixed and SPD initialization for MPC83xx DDR2 Controller.
it pass DDR/DDR2 compliance tests.

Signed-off-by: Xie Xiaobo <X.Xie@freescale.com>
17 years agompc83xx: Add the cpu specific code for MPC8360E rev2.0 MDS
Xie Xiaobo [Wed, 14 Feb 2007 10:27:06 +0000 (18:27 +0800)]
mpc83xx: Add the cpu specific code for MPC8360E rev2.0 MDS

MPC8360E rev2.0 have new spridr,and PVR value,
The MDS board for MPC8360E rev2.0 has 32M bytes Flash and 256M DDR2 DIMM.

Signed-off-by: Xie Xiaobo <X.Xie@freescale.com>
17 years agompc83xx: Add the cpu and board specific code for MPC8349E rev3.1 MDS
Xie Xiaobo [Wed, 14 Feb 2007 10:26:44 +0000 (18:26 +0800)]
mpc83xx: Add the cpu and board specific code for MPC8349E rev3.1 MDS

MPC8349E rev3.1 have new spridr,and PVR value,
The MDS board for MPC8349E rev3.1 has 32M bytes Flash and 256M DDR2 DIMM.

Signed-off-by: Xie Xiaobo<X.Xie@freescale.com>
17 years agompc83xx: Fix empty i2c reads/writes in fsl_i2c.c
Joakim Tjernlund [Wed, 31 Jan 2007 10:04:19 +0000 (11:04 +0100)]
mpc83xx: Fix empty i2c reads/writes in fsl_i2c.c

Fix empty i2c reads/writes, i2c_write(0x50, 0x00, 0, NULL, 0)
which is used to se if an slave will ACK after receiving its address.

Correct i2c probing to use this method as the old method could upset
a slave as it wrote a data byte to it.

Add a small delay in i2c_init() to let the controller
shutdown any ongoing I2C activity.

Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@transmode.se>
17 years agompc83xx: Add support for the MPC8349E-mITX-GP
Timur Tabi [Wed, 31 Jan 2007 21:54:29 +0000 (15:54 -0600)]
mpc83xx: Add support for the MPC8349E-mITX-GP

Add support for the MPC8349E-mITX-GP, a stripped-down version of the
MPC8349E-mITX.  Bonus features include support for low-boot (BMS bit in
HRCW is 0) for the ITX and a README for the ITX and the ITX-GP.

Signed-off-by: Timur Tabi <timur@freescale.com>
17 years agompc83xx: Delete sdram_init() for MPC8349E-mITX
Timur Tabi [Wed, 31 Jan 2007 21:54:20 +0000 (15:54 -0600)]
mpc83xx: Delete sdram_init() for MPC8349E-mITX

There is no SDRAM on any of the 8349 ITX variants, so function sdram_init()
never does anything.  This patch deletes it.

Signed-off-by: Timur Tabi <timur@freescale.com>
17 years agompc83xx: Fix the LAW1/3 bug
Dave Liu [Fri, 19 Jan 2007 02:43:26 +0000 (10:43 +0800)]
mpc83xx: Fix the LAW1/3 bug

The patch solves the alignment problem of the local bus access windows to
render accessible the memory bank and PHY registers of UPC 1 (starting at
0xf801 0000). What we actually did was to adjust the sizes of the bus
access windows so that the base address alignment requirement would be met.

Signed-off-by: Chereji Marian <marian.chereji@freescale.com>
Signed-off-by: Gridish Shlomi <gridish@freescale.com>
Signed-off-by: Dave Liu <daveliu@freescale.com>
17 years agompc83xx: don't hang if watchdog configured on 8360, 832x
Kim Phillips [Tue, 30 Jan 2007 22:15:31 +0000 (16:15 -0600)]
mpc83xx: don't hang if watchdog configured on 8360, 832x

don't hang if watchdog configured on 8360, 832x

The watchdog programming model is the same across all 83xx devices;
make the code reflect that.

17 years agompc83xx: protect memcpy to bad address if a local-mac-address is missing from dt
Kim Phillips [Tue, 30 Jan 2007 22:15:21 +0000 (16:15 -0600)]
mpc83xx: protect memcpy to bad address if a local-mac-address is missing from dt

protect memcpy to bad address if a local-mac-address is missing from dt

17 years agompc83xx: make 8360 default environment fdt be 8360 (not 8349)
Kim Phillips [Tue, 30 Jan 2007 22:15:04 +0000 (16:15 -0600)]
mpc83xx: make 8360 default environment fdt be 8360 (not 8349)

make 8360 default environment fdt be 8360 (not 8349)

17 years agompc83xx: Fix alternating tx error / tx buffer not ready bug in QE UEC
Emilian Medve [Tue, 30 Jan 2007 22:14:50 +0000 (16:14 -0600)]
mpc83xx: Fix alternating tx error / tx buffer not ready bug in QE UEC

The problem is not gcc4 but the code itself. The BD_STATUS() macro can't
be used for busy-waiting since it strips the 'volatile' property from
the bd variable. gcc3 was working by pure luck.

This is a follow on patch to "Fix the UEC driver bug of QE"

17 years agompc83xx: Replace CONFIG_MPC8349 and use CONFIG_MPC834X instead
Kumar Gala [Tue, 30 Jan 2007 20:08:30 +0000 (14:08 -0600)]
mpc83xx: Replace CONFIG_MPC8349 and use CONFIG_MPC834X instead

The code that is ifdef'd with CONFIG_MPC8349 is actually applicable to all
MPC834X class processors.  Change the protections from CONFIG_MPC8349 to
CONFIG_MPC834X so they are more generic.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
17 years agompc83xx: add MPC832XEMDS and sbc8349 to MAKEALL
Kim Phillips [Thu, 25 Jan 2007 19:40:55 +0000 (13:40 -0600)]
mpc83xx: add MPC832XEMDS and sbc8349 to MAKEALL

17 years agompc83xx: sort Makefile targets
Kim Phillips [Wed, 24 Jan 2007 23:18:37 +0000 (17:18 -0600)]
mpc83xx: sort Makefile targets

reordered targets alphabetically

17 years agompc83xx: U-Boot support for Wind River SBC8349
Paul Gortmaker [Tue, 16 Jan 2007 16:38:14 +0000 (11:38 -0500)]
mpc83xx: U-Boot support for Wind River SBC8349

I've redone the SBC8349 support to match git-current, which
incorporates all the MPC834x updates from Freescale since the 1.1.6
release,  including the DDR changes.

I've kept all the SBC8349 files as parallel as possible to the
MPC8349EMDS ones for ease of maintenance and to allow for easy
inspection of what was changed to support this board.  Hence the SBC8349
U-Boot has FDT support and everything else that the MPC8349EMDS has.

Fortunately the Freescale updates added support for boards using CS0,
but I had to change spd_sdram.c to allow for board specific settings for
the sdram_clk_cntl (it is/was hard coded to zero, and that remains the
default if the board doesn't specify a value.)

Hopefully this should be mergeable as-is and require no whitespace
cleanups or similar, but if something doesn't measure up then let me
know and I'll fix it.

Thanks,
Paul.

17 years agompc83xx: Remove a redundant semicolon in mpc8349itx.c
Sam Song [Thu, 14 Dec 2006 11:03:21 +0000 (19:03 +0800)]
mpc83xx: Remove a redundant semicolon in mpc8349itx.c

A redundant semicolon existed in mpc8349itx.c
should be removed.

Signed-off-by: Sam Song <samsongshu@yahoo.com.cn>
17 years agompc83xx: Put the version (and magic) after the HRCW.
Jerry Van Baren [Thu, 7 Dec 2006 02:23:55 +0000 (21:23 -0500)]
mpc83xx: Put the version (and magic) after the HRCW.

Put the version (and magic) after the HRCW.  This puts it in a fixed
location in flash, not at the start of flash but as close as we can get.

Signed-off-by: Jerry Van Baren <vanbaren@cideas.com>
17 years agompc83xx: Add the MPC832XEMDS board readme
Dave Liu [Thu, 7 Dec 2006 13:14:51 +0000 (21:14 +0800)]
mpc83xx: Add the MPC832XEMDS board readme

Add the MPC832XEMDS board readme

Signed-off-by: Dave Liu <daveliu@freescale.com>
17 years agompc83xx: Add support for the MPC832XEMDS board
Dave Liu [Thu, 7 Dec 2006 13:13:15 +0000 (21:13 +0800)]
mpc83xx: Add support for the MPC832XEMDS board

This patch supports DUART, ETH3/4 and PCI etc.

Signed-off-by: Dave Liu <daveliu@freescale.com>
17 years agompc83xx: streamline the 83xx immr head file
Dave Liu [Thu, 7 Dec 2006 13:11:58 +0000 (21:11 +0800)]
mpc83xx: streamline the 83xx immr head file

For better format and style, I streamlined the 83xx head files,
including immap_83xx.h and mpc83xx.h. In the old head files, 1)
duplicated macro definition appear in the both files; 2) the structure
of QE immr is duplicated in the immap_83xx.h and immap_qe.h; 3) The
macro definition put inside the each structure. So, I cleaned up the
structure of QE immr from immap_83xx.h, deleted the duplicated stuff and
moved the macro definition to mpc83xx.h, Just like MPC8260.

CHANGELOG

*streamline the 83xx immr head file

Signed-off-by: Dave Liu <daveliu@freescale.com>