]> git.kernelconcepts.de Git - karo-tx-uboot.git/log
karo-tx-uboot.git
16 years agoMerge with /home/hs/Atronic/u-boot
Wolfgang Denk [Mon, 9 Jul 2007 21:41:45 +0000 (23:41 +0200)]
Merge with /home/hs/Atronic/u-boot

16 years agoMerge with /home/wd/git/u-boot/custodian/u-boot-ppc4xx
Wolfgang Denk [Fri, 6 Jul 2007 00:50:34 +0000 (02:50 +0200)]
Merge with /home/wd/git/u-boot/custodian/u-boot-ppc4xx

16 years agoCode cleanup and default config update for STC GP3 SSA board.
Wolfgang Denk [Fri, 6 Jul 2007 00:50:19 +0000 (02:50 +0200)]
Code cleanup and default config update for STC GP3 SSA board.

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agoMerged POST framework with the current TOT.
Sergei Poselenov [Thu, 5 Jul 2007 06:17:37 +0000 (08:17 +0200)]
Merged POST framework with the current TOT.

Signed-off-by: Sergei Poselenov <sposelenov@emcraft.com>
16 years agoresubmit: ppc4xx: Remove sequoia/sequioa.h. Cleanup ppc440.h for PPC440EPX
Niklaus Giger [Wed, 27 Jun 2007 16:11:38 +0000 (18:11 +0200)]
resubmit: ppc4xx: Remove sequoia/sequioa.h. Cleanup ppc440.h for PPC440EPX

Signed-off-by: Niklaus Giger <niklaus.giger@nestal.com>
16 years agoppc4xx: Update lwmon5 board
Stefan Roese [Wed, 4 Jul 2007 08:06:30 +0000 (10:06 +0200)]
ppc4xx: Update lwmon5 board

- Add optional ECC generation routine to preserve existing
  RAM values. This is needed for the Linux log-buffer support
- Add optional DDR2 setup with CL=4
- GPIO50 not used anymore
- Lime register setup added

Signed-off-by: Stefan Roese <sr@denx.de>
16 years agoMerge with /home/wd/git/u-boot/custodian/u-boot-testing
Wolfgang Denk [Tue, 3 Jul 2007 13:07:56 +0000 (15:07 +0200)]
Merge with /home/wd/git/u-boot/custodian/u-boot-testing

16 years agoFix S-ATA support.
Mushtaq Khan [Sat, 30 Jun 2007 16:50:48 +0000 (18:50 +0200)]
Fix S-ATA support.

Signed-off-by: mushtaq khan <mushtaqk_921@yahoo.co.in>
16 years agoMerge with git://www.denx.de/git/u-boot.git
Stefan Roese [Mon, 25 Jun 2007 18:20:30 +0000 (20:20 +0200)]
Merge with git://www.denx.de/git/u-boot.git

16 years ago[PCS440EP] get rid of CONFIG_PPC4xx_USE_SPD_DDR_INIT_HANG
Heiko Schocher [Mon, 25 Jun 2007 17:11:37 +0000 (19:11 +0200)]
[PCS440EP] get rid of CONFIG_PPC4xx_USE_SPD_DDR_INIT_HANG

Signed-off-by: Heiko Schocher <hs@denx.de>
16 years agoppc4xx: PPC440EPx Emit DDR0 registers on machine check interrupt
Niklaus Giger [Mon, 25 Jun 2007 15:03:13 +0000 (17:03 +0200)]
ppc4xx: PPC440EPx Emit DDR0 registers on machine check interrupt

This patch prints the DDR status registers upon machine check
interrupt on the 440EPx/GRx. This can be useful especially when
ECC support is enabled.

I added some small changes to the original patch from Niklaus to
make it compile clean.

Signed-off-by: Niklaus Giger <niklaus.giger@nestal.com>
Signed-off-by: Stefan Roese <sr@denx.de>
16 years agoppc4xx: Fix O=buildir builds
Niklaus Giger [Mon, 25 Jun 2007 14:50:55 +0000 (16:50 +0200)]
ppc4xx: Fix O=buildir builds

This patch fixes the problem to assemble cpu/ppc4xx/start.S
experienced last week where building failed having specified
O=../build.sequoia.

Signed-off-by: Niklaus Giger <niklaus.giger@nestal.com>
16 years agoppc4xx: Add pci_pre_init() for 405 boards
Stefan Roese [Mon, 25 Jun 2007 13:57:39 +0000 (15:57 +0200)]
ppc4xx: Add pci_pre_init() for 405 boards

This patch removes the CFG_PCI_PRE_INIT option completely, since
it's not needed anymore with the patch from Matthias Fuchs with
the "weak" pci_pre_init() implementation.

Signed-off-by: Stefan Roese <sr@denx.de>
16 years agoppc4xx: Maintenance patch for esd's CPCI405 derivats
Matthias Fuchs [Sun, 24 Jun 2007 15:41:21 +0000 (17:41 +0200)]
ppc4xx: Maintenance patch for esd's CPCI405 derivats

-add pci_pre_init() for pci interrupt fixup code
-disable phy sleep mode via reset_phy() function
-use correct io accessors
-cleanup

Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
16 years agoppc4xx: Add pci_pre_init() for 405 boards
Matthias Fuchs [Sun, 24 Jun 2007 15:23:41 +0000 (17:23 +0200)]
ppc4xx: Add pci_pre_init() for 405 boards

This patch adds support for calling a plattform dependant
pci_pre_init() function for 405 boards. This can be used to
move the current pci_405gp_fixup_irq() function into the
board code.

This patch also makes the CFG_PCI_PRE_INIT define obsolete.
A default function with 'weak' attribute is used when
a board specific pci_pre_init() is not implemented.

Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
16 years agoCoding stylke cleanup; rebuild CHANGELOG
Wolfgang Denk [Fri, 22 Jun 2007 21:59:00 +0000 (23:59 +0200)]
Coding stylke cleanup; rebuild CHANGELOG

16 years agoAdapt log buffer code to support Linux 2.6
Igor Lisitsin [Wed, 18 Apr 2007 10:55:19 +0000 (14:55 +0400)]
Adapt log buffer code to support Linux 2.6

A new environment variable, "logversion", selects the log buffer
behaviour. If it is not set or set to a value other than 2, then the
old, Linux 2.4.4, behaviour is selected.

Signed-off-by: Igor Lisitsin <igor@emcraft.com>
--

16 years agoExtend POST support for PPC440
Igor Lisitsin [Wed, 28 Mar 2007 15:06:19 +0000 (19:06 +0400)]
Extend POST support for PPC440

Added memory, CPU, UART, I2C and SPR POST tests for PPC440.

Signed-off-by: Igor Lisitsin <igor@emcraft.com>
--

16 years ago[PCS440EP] upgrade the PCS440EP board:
Heiko Schocher [Fri, 22 Jun 2007 17:11:54 +0000 (19:11 +0200)]
[PCS440EP]      upgrade the PCS440EP board:
                - Show on the Status LEDs, some States of the board.
                - Get the MAC addresses from the EEProm
                - use PREBOOT
                - use the CF on the board.
                - check the U-Boot image in the Flash with a SHA1
                  checksum.
                - use dynamic TLB entries generation for the SDRAM

Signed-off-by: Heiko Schocher <hs@denx.de>
16 years agoppc4xx: Fix problem with extended program_tlb() funtion
Stefan Roese [Fri, 22 Jun 2007 14:58:40 +0000 (16:58 +0200)]
ppc4xx: Fix problem with extended program_tlb() funtion

The recently extended program_tlb() function had a problem when
multiple TLB's had to be setup (for example with 512MB of SDRAM). The
virtual address was not incremented. This patch fixes this issue
and is tested on Katmai with 512MB SDRAM.

Signed-off-by: Stefan Roese <sr@denx.de>
16 years ago[ppc] Fix build breakage for all non-4xx PowerPC variants.
Rafal Jaworowski [Fri, 22 Jun 2007 12:58:04 +0000 (14:58 +0200)]
[ppc] Fix build breakage for all non-4xx PowerPC variants.

- adapt to the more generic EXCEPTION_PROLOG and CRIT_EXCEPTION macros
- minor 4xx cleanup

16 years agoCoding style cleanup. Refresh CHANGELOG.
Wolfgang Denk [Wed, 20 Jun 2007 16:14:24 +0000 (18:14 +0200)]
Coding style cleanup. Refresh CHANGELOG.

16 years agoMerge with git://www.denx.de/git/u-boot.git
Stefan Roese [Wed, 20 Jun 2007 06:23:42 +0000 (08:23 +0200)]
Merge with git://www.denx.de/git/u-boot.git

16 years agoppc4xx: Add bootstrap command for AMCC Sequoia (440EPx) eval board
Stefan Roese [Tue, 19 Jun 2007 15:22:44 +0000 (17:22 +0200)]
ppc4xx: Add bootstrap command for AMCC Sequoia (440EPx) eval board

This patch adds a board command to configure the I2C bootstrap EEPROM
values. Right now 533 and 667MHz are supported for booting either via NOR
or NAND FLASH. Here the usage:

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

Signed-off-by: Stefan Roese <sr@denx.de>
16 years ago[ppc4xx] Fix problem with NAND booting on AMCC Acadia
Stefan Roese [Tue, 19 Jun 2007 14:42:31 +0000 (16:42 +0200)]
[ppc4xx] Fix problem with NAND booting on AMCC Acadia

The latest changes showed a problem with the location of the NAND-SPL
image in the OCM and the init-data area (incl. cache). This patch
fixes this problem.

Signed-off-by: Stefan Roese <sr@denx.de>
16 years ago[ppc4xx] Change board/amcc/acadia/cpr.c to pll.c
Stefan Roese [Tue, 19 Jun 2007 14:40:58 +0000 (16:40 +0200)]
[ppc4xx] Change board/amcc/acadia/cpr.c to pll.c

Signed-off-by: Stefan Roese <sr@denx.de>
16 years agoMerge with /home/wd/git/u-boot/master
Wolfgang Denk [Mon, 18 Jun 2007 19:38:46 +0000 (21:38 +0200)]
Merge with /home/wd/git/u-boot/master

16 years ago[ppc4xx] Change lwmon5 port to work with recent 440 exception rework
Stefan Roese [Fri, 15 Jun 2007 09:33:41 +0000 (11:33 +0200)]
[ppc4xx] Change lwmon5 port to work with recent 440 exception rework

Now CONFIG_440 has to be defined in all PPC440 board config files.

Signed-off-by: Stefan Roese <sr@denx.de>
16 years agoMerge with /home/stefan/git/u-boot/denx-440-exceptions
Stefan Roese [Fri, 15 Jun 2007 09:20:13 +0000 (11:20 +0200)]
Merge with /home/stefan/git/u-boot/denx-440-exceptions

16 years agoppc4xx: Clean up 440 exceptions handling
Grzegorz Bernacki [Fri, 15 Jun 2007 09:19:28 +0000 (11:19 +0200)]
ppc4xx: Clean up 440 exceptions handling

- Introduced dedicated switches for building 440 and 405 images required
  for 440-specific machine instructions like 'rfmci' etc.

- Exception vectors moved to the proper location (_start moved away from
  the critical exception handler space, which it occupied)

- CriticalInput now serviced (with default handler)

- MachineCheck properly serviced (added a dedicated handler and return
  subroutine)

- Overall cleanup of exceptions declared with STD_EXCEPTION macro (unused,
  unhandled and those not relevant for 4xx were eliminated)

- Eliminated Linux leftovers, removed dead code

Signed-off-by: Grzegorz Bernacki <gjb@semihalf.com>
Signed-off-by: Rafal Jaworowski <raj@semihalf.com>
Signed-off-by: Stefan Roese <sr@denx.de>
16 years ago[ppc4xx] Add initial lwmon5 board support
Stefan Roese [Fri, 15 Jun 2007 06:18:01 +0000 (08:18 +0200)]
[ppc4xx] Add initial lwmon5 board support

This patch adds initial support for the Liebherr lwmon5 board euqipped
with an AMCC 440EPx PowerPC.

Signed-off-by: Stefan Roese <sr@denx.de>
16 years ago[ppc4xx] Extend 44x GPIO setup with default output state
Stefan Roese [Fri, 15 Jun 2007 05:39:43 +0000 (07:39 +0200)]
[ppc4xx] Extend 44x GPIO setup with default output state

The board config array CFG_440_GPIO_TABLE for the ppc440 GPIO setup
is extended with the default GPIO output state (level).

Signed-off-by: Stefan Roese <sr@denx.de>
16 years ago[ppc4xx] Extend program_tlb() with virtual & physical addresses
Stefan Roese [Thu, 14 Jun 2007 09:14:32 +0000 (11:14 +0200)]
[ppc4xx] Extend program_tlb() with virtual & physical addresses

Now program_tlb() allows to program a TLB (or multiple) with
different virtual and physical addresses. With this change, now one
physical region (e.g. SDRAM) can be mapped 2 times, once with caches
diabled and once with caches enabled.

Signed-off-by: Stefan Roese <sr@denx.de>
16 years agoChange 'repeatable' attribute of some commands to sensible values.
Detlev Zundel [Wed, 23 May 2007 17:02:41 +0000 (19:02 +0200)]
Change 'repeatable' attribute of some commands to sensible values.

Most prominently this changes 'erase' to be non-repeatable.

Signed-off-by: Detlev Zundel <dzu@denx.de>
16 years agoFix 'run' not to continue after interrupted command
Detlev Zundel [Wed, 23 May 2007 16:47:48 +0000 (18:47 +0200)]
Fix 'run' not to continue after interrupted command

Signed-off-by: Detlev Zundel <dzu@denx.de>
16 years agoTQM5200: Add Flat Device Tree support, update default env. accordingly.
Bartlomiej Sieka [Fri, 8 Jun 2007 12:52:22 +0000 (14:52 +0200)]
TQM5200: Add Flat Device Tree support, update default env. accordingly.

Signed-off-by: Jan Wrobel <wrr@semihalf.com>
Acked-by: Bartlomiej Sieka <tur@semihalf.com>
16 years agoFix config problems on SC3 board; make ide_reset_timeout work.
Wolfgang Denk [Fri, 8 Jun 2007 08:24:58 +0000 (10:24 +0200)]
Fix config problems on SC3 board; make ide_reset_timeout work.

16 years ago[PATCH] fix gpio setting when using CFG_440_GPIO_TABLE
Benoît Monin [Fri, 8 Jun 2007 07:55:24 +0000 (09:55 +0200)]
[PATCH] fix gpio setting when using CFG_440_GPIO_TABLE

Set the correct value in GPIOx_TCR when configuring the gpio
with CFG_440_GPIO_TABLE.

Signed-off-by: Benoit Monin <bmonin@adeneo.eu>
Signed-off-by: Stefan Roese <sr@denx.de>
16 years agoCoding Style cleanup; generate new CHANGELOG file.
Wolfgang Denk [Wed, 6 Jun 2007 14:26:56 +0000 (16:26 +0200)]
Coding Style cleanup; generate new CHANGELOG file.

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agoMerge with /home/wd/git/u-boot/custodian/u-boot-mpc86xx
Wolfgang Denk [Wed, 6 Jun 2007 14:21:11 +0000 (16:21 +0200)]
Merge with /home/wd/git/u-boot/custodian/u-boot-mpc86xx

16 years agoMerge with /home/wd/git/u-boot/custodian/u-boot-arm
Wolfgang Denk [Wed, 6 Jun 2007 14:18:01 +0000 (16:18 +0200)]
Merge with /home/wd/git/u-boot/custodian/u-boot-arm

16 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

16 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>
16 years agoMerge branch 'mpc8641'
Jon Loeliger [Tue, 5 Jun 2007 18:29:00 +0000 (13:29 -0500)]
Merge branch 'mpc8641'

16 years agompc8641 image size cleanup
Ed Swarthout [Tue, 5 Jun 2007 17:30:52 +0000 (12:30 -0500)]
mpc8641 image size cleanup

e600 does not have a bootpg restriction.
Move the version string to beginning of image at fff00000.
Resetvec.S is not needed.
Update flash copy instructions.
Add tftpflash env variable

Signed-off-by: Ed Swarthout <Ed.Swarthout@freescale.com>
Signed-off-by: Jon Loeliger <jdl@freescale.com>
16 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

16 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>
16 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>
16 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

16 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>
16 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>
16 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>
16 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>
16 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>
16 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>
16 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>
16 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>
16 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>
16 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>
16 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>
16 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

16 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>
16 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

16 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>
16 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>
16 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>
16 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>
16 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>
16 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>
16 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>
16 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>
16 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>
16 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>
16 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

16 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>
16 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>
16 years agoAdd LIST_86xx MAKEALL target for PowerPC builds.
Jon Loeliger [Wed, 23 May 2007 19:09:46 +0000 (14:09 -0500)]
Add LIST_86xx MAKEALL target for PowerPC builds.

Signed-off-by: Jon Loeliger <jdl@freescale.com>
16 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>
16 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>
16 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>
16 years agoAdd support for the Siemens SMN42 board.
Gary Jennejohn [Fri, 18 May 2007 16:41:22 +0000 (17:41 +0100)]
Add support for the Siemens SMN42 board.

16 years agoReduce line lengths to 80 characters max.
Peter Pearse [Fri, 18 May 2007 15:47:03 +0000 (16:47 +0100)]
Reduce line lengths to 80 characters max.

16 years agoMerge with git://www.denx.de/git/u-boot.git
Peter Pearse [Fri, 18 May 2007 13:34:19 +0000 (14:34 +0100)]
Merge with git://www.denx.de/git/u-boot.git

16 years agoMakefile permissions
Peter Pearse [Fri, 18 May 2007 13:34:07 +0000 (14:34 +0100)]
Makefile permissions

16 years agoMerge with git://www.denx.de/git/u-boot.git
Peter Pearse [Fri, 18 May 2007 13:33:23 +0000 (14:33 +0100)]
Merge with git://www.denx.de/git/u-boot.git

16 years agoMakefile permissions
Peter Pearse [Fri, 18 May 2007 13:33:11 +0000 (14:33 +0100)]
Makefile permissions

16 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

16 years agoReduce CONFIG_MPC8YXX_TSECx to CONFIG_TSECx
Kim Phillips [Wed, 16 May 2007 21:52:19 +0000 (16:52 -0500)]
Reduce CONFIG_MPC8YXX_TSECx to CONFIG_TSECx

For all practical u-boot purposes, TSECs don't differ throughout the
mpc8[356]xx families; reduce CONFIG_MPC8YXX_TSECx to CONFIG_TSECx.

Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
16 years agoMerge with /home/git/u-boot
Wolfgang Denk [Wed, 16 May 2007 22:06:11 +0000 (00:06 +0200)]
Merge with /home/git/u-boot

16 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>
16 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>
16 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>
16 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

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

16 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

16 years agoMinor coding style cleanup.
Wolfgang Denk [Tue, 15 May 2007 21:38:05 +0000 (23:38 +0200)]
Minor coding style cleanup.

16 years agoAdd driver for S-ATA-controller on Intel processors with South
mushtaq khan [Fri, 20 Apr 2007 08:53:02 +0000 (14:23 +0530)]
Add driver for S-ATA-controller on Intel processors with South
Bridge, ICH-5, ICH-6 and ICH-7.

Implementation:

1. Code is divided in to two files. All functions, which are
   controller specific are kept in "drivers/ata_piix.c" file and
   functions, which are not controller specific, are kept in
   "common/cmd_sata.c" file.

2. Reading and Writing from the S-ATA drive is done using PIO method.

3. Driver can be configured for 48-bit addressing by defining macro
   CONFIG_LBA48, if this macro is not defined driver uses the 28-bit
   addressing.

4. S-ATA read function is hooked to the File system, commands like
   ext2ls and ext2load file can be used. This has been tested.

5. U-Boot command "SATA_init" is added, which initializes the S-ATA
   controller and identifies the S-ATA drives connected to it.

6. U-Boot command "sata" is added, which is used to read/write, print
   partition table and get info about the drives present. This I have
   implemented in same way as "ide" command is implemented in U-Boot.

7. This driver is for S-ATA in native mode.

8. This driver does not support the Native command queuing and
   Hot-plugging.

Signed-off-by: Mushtaq Khan <mushtaq_k@procsys.com>
16 years agoFixes bug clearing the bss section for i386
mushtaq khan [Mon, 30 Apr 2007 10:27:22 +0000 (15:57 +0530)]
Fixes bug clearing the bss section for i386

Hi,
There is a bug in the code of clearing the bss section for processor
i386.(File: cpu/i386/start.S)
In the code, bss_start addr (starting addr of bss section) is put into
the register %eax, but the code which clears the bss section refers to
the addr pointed by %edi.

This patch fixes this bug by putting bss_start into %edi register.

Signed-off-by: Mushtaq Khan <mushtaq_k@procsys.com>
16 years agoAdd support for BCM5464 Quad Phy
Joe Hamman [Mon, 30 Apr 2007 21:47:28 +0000 (16:47 -0500)]
Add support for BCM5464 Quad Phy

Added support for Broadcom's BCM5464 Quad Phy

Signed-off-by: Joe Hamman <joe.hamman@embeddedspecialties.com>
16 years agoSearch the exception table with linear algorithm
Zang Roy-r61911 [Wed, 9 May 2007 00:10:57 +0000 (08:10 +0800)]
Search the exception table with linear algorithm

Search the exception table with linear algorithm instead of
bisecting algorithm.
Because the exception table might be unsorted.

Signed-off-by: Roy Zang <tie-fei.zang@freescale.com>