oweals/u-boot.git
17 years agoCoding style cleanup
Stefan Roese [Tue, 14 Aug 2007 13:03:17 +0000 (15:03 +0200)]
Coding style cleanup

Signed-off-by: Stefan Roese <sr@denx.de>
17 years agoMerge with /home/stefan/git/u-boot/zeus
Stefan Roese [Tue, 14 Aug 2007 13:00:42 +0000 (15:00 +0200)]
Merge with /home/stefan/git/u-boot/zeus

17 years agoppc4xx: Add initial Zeus (PPC405EP) board support
Stefan Roese [Tue, 14 Aug 2007 12:44:41 +0000 (14:44 +0200)]
ppc4xx: Add initial Zeus (PPC405EP) board support

Signed-off-by: Stefan Roese <sr@denx.de>
17 years agoPOST: Add option for external ethernet loopback test
Stefan Roese [Tue, 14 Aug 2007 12:41:55 +0000 (14:41 +0200)]
POST: Add option for external ethernet loopback test

When CFG_POST_ETHER_EXT_LOOPBACK is defined, the ethernet POST
is not done using an internal loopback connection, but by assuming
that an external loopback connector is plugged into the board.

Signed-off-by: Stefan Roese <sr@denx.de>
17 years agoPOST: Add ppc405 support to cache and UART POST
Stefan Roese [Tue, 14 Aug 2007 12:39:44 +0000 (14:39 +0200)]
POST: Add ppc405 support to cache and UART POST

Signed-off-by: Stefan Roese <sr@denx.de>
17 years agoppc4xx: Fix problem in PLL clock calculation
Stefan Roese [Mon, 13 Aug 2007 07:05:33 +0000 (09:05 +0200)]
ppc4xx: Fix problem in PLL clock calculation

This patch was originall provided by David Mitchell <dmitchell@amcc.com>
and fixes a bug in the PLL clock calculation.

Signed-off-by: Stefan Roese <sr@denx.de>
17 years agoCoding style cleanup
Stefan Roese [Fri, 10 Aug 2007 08:42:25 +0000 (10:42 +0200)]
Coding style cleanup

Signed-off-by: Stefan Roese <sr@denx.de>
17 years agoAdd PPC4xx-HCU4 and HCU5 boards: HCU5 files
Niklaus Giger [Fri, 27 Jul 2007 09:31:22 +0000 (11:31 +0200)]
Add PPC4xx-HCU4 and HCU5 boards: HCU5 files

Signed-off-by: Niklaus Giger <niklaus.giger@netstal.com>
17 years agoAdd PPC4xx-HCU4 and HCU5 boards: HCU4 files
Niklaus Giger [Fri, 27 Jul 2007 09:30:33 +0000 (11:30 +0200)]
Add PPC4xx-HCU4 and HCU5 boards: HCU4 files

Signed-off-by: Niklaus Giger <niklaus.giger@netstal.com>
17 years agoAdd PPC4xx-HCU4 and HCU5 boards: common files
Niklaus Giger [Fri, 27 Jul 2007 09:38:26 +0000 (11:38 +0200)]
Add PPC4xx-HCU4 and HCU5 boards: common files

Signed-off-by: Niklaus Giger <niklaus.giger@netstal.com>
17 years agoAdd PPC4xx-HCU4 and HCU5 boards: make related
Niklaus Giger [Fri, 27 Jul 2007 09:28:44 +0000 (11:28 +0200)]
Add PPC4xx-HCU4 and HCU5 boards: make related

Signed-off-by: Niklaus Giger <niklaus.giger@netstal.com>
17 years agoAdd PPC4xx-HCU4 and HCU5 boards: HCU5 config
Niklaus Giger [Fri, 27 Jul 2007 09:28:03 +0000 (11:28 +0200)]
Add PPC4xx-HCU4 and HCU5 boards: HCU5 config

Signed-off-by: Niklaus Giger <niklaus.giger@netstal.com>
17 years agoAdd PPC4xx-HCU4 and HCU5 boards: HCU4 config
Niklaus Giger [Fri, 27 Jul 2007 09:27:15 +0000 (11:27 +0200)]
Add PPC4xx-HCU4 and HCU5 boards: HCU4 config

Signed-off-by: Niklaus Giger <niklaus.giger@netstal.com>
17 years agoAdd PPC4xx-HCU4 and HCU5 boards: READMEs
Niklaus Giger [Fri, 27 Jul 2007 09:25:31 +0000 (11:25 +0200)]
Add PPC4xx-HCU4 and HCU5 boards: READMEs

Signed-off-by: Niklaus Giger <niklaus.giger@netstal.com>
17 years agoAdd PPC4xx-HCU4 and HCU5 boards: Infrastructure
Niklaus Giger [Fri, 27 Jul 2007 09:37:40 +0000 (11:37 +0200)]
Add PPC4xx-HCU4 and HCU5 boards: Infrastructure

This series of patches adds support for 2 boards from Netstal Maschinen.

The HCU4 has a PPC405Gpr and
the HCU5 has a PPC440EPX.

The HCU4 has a somehow complicated flash setup, as the booteprom is
only 8 bits and the CFI 16 bits wide, which makes it impossible to use a more
elegant solution.

The HCU5 has only a booteprom as the whole code will be downloaded from a
different board which has HD, CD-ROM, etc and where all code is stored.

This is my third try. I incorporated all suggestions made by Wolfgang and Stefan.
Thanks them a lot.

Signed-off-by: Niklaus Giger <niklaus.giger@netstal.com>
17 years agoppc4xx: Update lwmon5 POST configuration
Stefan Roese [Fri, 10 Aug 2007 06:42:55 +0000 (08:42 +0200)]
ppc4xx: Update lwmon5 POST configuration

Signed-off-by: Stefan Roese <sr@denx.de>
17 years agoPOST: Add ppc4xx UART POST support without external uart clock (lwmon5)
Yuri Tikhonov [Fri, 10 Aug 2007 06:25:22 +0000 (08:25 +0200)]
POST: Add ppc4xx UART POST support without external uart clock (lwmon5)

The patch adds support for UART POST on ppc44x-based boards with no
external serial clocks installed.

Signed-off-by: Yuri Tikhonov <yur@emcraft.com>
Acked-by: Stefan Roese <sr@denx.de>
17 years agoppc4xx: Update AMCC Bamboo README doc/README.bamboo
Stefan Roese [Mon, 6 Aug 2007 19:10:17 +0000 (21:10 +0200)]
ppc4xx: Update AMCC Bamboo README doc/README.bamboo

As suggested by Eugene O'Brien <Eugene.O'Brien@advantechamt.com>,
here an updated Bamboo README.

Signed-off-by: Stefan Roese <sr@denx.de>
17 years agoMerge with git://www.denx.de/git/u-boot.git
Stefan Roese [Thu, 2 Aug 2007 06:43:48 +0000 (08:43 +0200)]
Merge with git://www.denx.de/git/u-boot.git

17 years agoppc4xx: Code cleanup
Stefan Roese [Thu, 2 Aug 2007 06:33:56 +0000 (08:33 +0200)]
ppc4xx: Code cleanup

Signed-off-by: Stefan Roese <sr@denx.de>
17 years ago[ppc440SPe] Graceful recovery from machine check during PCIe configuration
Grzegorz Bernacki [Tue, 31 Jul 2007 16:51:48 +0000 (18:51 +0200)]
[ppc440SPe] Graceful recovery from machine check during PCIe configuration

During config transactions on the PCIe bus an attempt to scan for a
non-existent device can lead to a machine check exception with certain
peripheral devices. In order to avoid crashing in such scenarios the
instrumented versions of the config cycle read routines are introduced, so
the exceptions fixups framework can gracefully recover.

Signed-off-by: Grzegorz Bernacki <gjb@semihalf.com>
Acked-by: Rafal Jaworowski <raj@semihalf.com>
17 years ago[ppc4xx] Separate settings for PCIe bus numbering on 440SPe rev.A
Rafal Jaworowski [Tue, 31 Jul 2007 16:19:54 +0000 (18:19 +0200)]
[ppc4xx] Separate settings for PCIe bus numbering on 440SPe rev.A

This brings back separate settings for PCIe bus numbers depending on chip
revision, which got eliminated in 2b393b0f0af8402ef43b25c1968bfd29714ddffa
commit. 440SPe rev. A does NOT work properly with the same settings as for
the rev. B (no devices are seen on the bus during enumeration).

Signed-off-by: Rafal Jaworowski <raj@semihalf.com>
17 years agoppc4xx: Update AMCC Bamboo 440EP support
Eugene OBrien [Tue, 31 Jul 2007 08:24:56 +0000 (10:24 +0200)]
ppc4xx: Update AMCC Bamboo 440EP support

Changed storage type of cfg_simulate_spd_eeprom to const
Changed storage type of gpio_tab to stack storage
(Cannot access global data declarations in .bss until afer code relocation)

Improved SDRAM tests to catch problems where data is not uniquely addressable
(e.g. incorrectly programmed SDRAM row or columns)

Added CONFIG_PROG_SDRAM_TLB to support Bamboo SIMM/DIMM modules
Fixed AM29LV320DT (OpCode Flash) sector map

Signed-off-by: Eugene OBrien <eugene.obrien@advantechamt.com>
Signed-off-by: Stefan Roese <sr@denx.de>
17 years agoppc4xx: Update 440EPx lwmon5 board support
Stefan Roese [Tue, 31 Jul 2007 06:37:01 +0000 (08:37 +0200)]
ppc4xx: Update 440EPx lwmon5 board support

- Clear ECC status regs after ECC POST test
- Set dcbz for ECC generation with caches enabled as default
- Code cleanup

Signed-off-by: Stefan Roese <sr@denx.de>
17 years agoppc4xx: Only print ECC related info when the error bis are set
Stefan Roese [Mon, 30 Jul 2007 09:04:57 +0000 (11:04 +0200)]
ppc4xx: Only print ECC related info when the error bis are set

Signed-off-by: Stefan Roese <sr@denx.de>
17 years agonew FPGA image for PLU405 board
Matthias Fuchs [Fri, 27 Jul 2007 14:44:31 +0000 (16:44 +0200)]
new FPGA image for PLU405 board

new FPGA image for PLU405 board with improved CompactFlash timing

Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
17 years agoppc4xx: Add support for AMCC 405EP Taihu board
John Otken [Thu, 26 Jul 2007 15:49:11 +0000 (17:49 +0200)]
ppc4xx: Add support for AMCC 405EP Taihu board

Signed-off-by: John Otken <john@softadvances.com>
17 years agoppc4xx: lwmon5: Update Lime initialization
Anatolij Gustschin [Thu, 26 Jul 2007 13:08:01 +0000 (15:08 +0200)]
ppc4xx: lwmon5: Update Lime initialization

Change Lime SDRAM initialization to now support 100MHz and
133MHz (if enabled). Also the framebuffer is initialized to
display a blue rectangle with a white border.

Signed-off-by: Anatolij Gustschin <agust@denx.de>
Signed-off-by: Stefan Roese <sr@denx.de>
17 years agoppc4xx: lwmon5: Support for 128 MByte NOR FLASH added
Stefan Roese [Tue, 24 Jul 2007 07:52:52 +0000 (09:52 +0200)]
ppc4xx: lwmon5: Support for 128 MByte NOR FLASH added

The used Intel NOR FLASH chips have internally two dies, and are now
treated as two seperate chips.

Signed-off-by: Stefan Roese <sr@denx.de>
17 years agoppc4xx: Fix lwmon5 interrupt controller setup (polarity, trigger...)
Stefan Roese [Tue, 24 Jul 2007 05:20:09 +0000 (07:20 +0200)]
ppc4xx: Fix lwmon5 interrupt controller setup (polarity, trigger...)

As suggested by Hakan Eryigit, here an updated setup for the lwmon5
interrupt controller.

Signed-off-by: Stefan Roese <sr@denx.de>
17 years agoppc4xx: Fix bug with default GPIO output value
Stefan Roese [Fri, 20 Jul 2007 13:03:44 +0000 (15:03 +0200)]
ppc4xx: Fix bug with default GPIO output value

As spotted by Matthias Fuchs, the default output values for all GPIO1
outputs were not setup correctly. This patch fixes this issue.

Signed-off-by: Stefan Roese <sr@denx.de>
17 years agoPOST: Add ECC POST for the lwmon5 board
Pavel Kolesnikov [Fri, 20 Jul 2007 13:03:03 +0000 (15:03 +0200)]
POST: Add ECC POST for the lwmon5 board

This patch adds ECC Post test for the Lwmon5 board based
on PPC440EPx to U-Boot.

Signed-off-by: Pavel Kolesnikov <concord@emcraft.com>
Acked-by: Yuri Tikhonov <yur@emcraft.com>
Acked-by: Stefan Roese <sr@denx.de>
17 years agoFix breakage of 8xx boards from recent commit.
Rafal Jaworowski [Thu, 19 Jul 2007 15:12:28 +0000 (17:12 +0200)]
Fix breakage of 8xx boards from recent commit.

This patch fixes the negative consequences for 8xx of the recent
"ppc4xx: Clean up 440 exceptions handling" commit.

Signed-off-by: Rafal Jaworowski <raj@semihalf.com>
17 years agoMerge with git://www.denx.de/git/u-boot.git
Stefan Roese [Mon, 16 Jul 2007 11:28:47 +0000 (13:28 +0200)]
Merge with git://www.denx.de/git/u-boot.git

17 years agoppc4xx: Code cleanup
Stefan Roese [Mon, 16 Jul 2007 08:02:12 +0000 (10:02 +0200)]
ppc4xx: Code cleanup

Signed-off-by: Stefan Roese <sr@denx.de>
17 years agoppc4xx: AMCC Luan uses the new boardspecific DDR2 controller setup
Stefan Roese [Mon, 16 Jul 2007 08:01:38 +0000 (10:01 +0200)]
ppc4xx: AMCC Luan uses the new boardspecific DDR2 controller setup

Signed-off-by: Stefan Roese <sr@denx.de>
17 years agoppc4xx: Support for Yucca board with 440SPe Rev A added to 44x_spd_ddr2.c
Stefan Roese [Mon, 16 Jul 2007 08:00:43 +0000 (10:00 +0200)]
ppc4xx: Support for Yucca board with 440SPe Rev A added to 44x_spd_ddr2.c

The new boardspecific DDR2 controller configuration is used for the Yucca
board. Now the Yucca board with 440SPe Rev. A chips is also supported.

Signed-off-by: Stefan Roese <sr@denx.de>
17 years agoppc4xx: Add new weak functions to support boardspecific DDR2 configuration
Stefan Roese [Mon, 16 Jul 2007 07:57:00 +0000 (09:57 +0200)]
ppc4xx: Add new weak functions to support boardspecific DDR2 configuration

The new "weak" functions ddr_wrdtr() and ddr_clktr() are added to better
support non default, boardspecific DDR(2) controller configuration.

Signed-off-by: Stefan Roese <sr@denx.de>
17 years agoppc4xx: Add remove_tlb() function to remove a mem area from TLB setup
Stefan Roese [Mon, 16 Jul 2007 06:53:51 +0000 (08:53 +0200)]
ppc4xx: Add remove_tlb() function to remove a mem area from TLB setup

The new function remove_tlb() can be used to remove the TLB's used to
map a specific memory region. This is especially useful for the DDR(2)
setup routines which configure the SDRAM area temporarily as a cached
area (for speedup on auto-calibration and ECC generation) and later
need this area uncached for normal usage.

Signed-off-by: Stefan Roese <sr@denx.de>
17 years agoUpdate CHANGELOG
Wolfgang Denk [Sat, 14 Jul 2007 20:51:02 +0000 (22:51 +0200)]
Update CHANGELOG

Signed-off-by: Wolfgang Denk <wd@denx.de>
17 years agoMerge with /home/hs/Atronic/u-boot-dev-new
Heiko Schocher [Fri, 13 Jul 2007 23:07:51 +0000 (01:07 +0200)]
Merge with /home/hs/Atronic/u-boot-dev-new

17 years ago[PCS440EP] - fix compile error, if BUILD_DIR is used
Heiko Schocher [Fri, 13 Jul 2007 23:06:58 +0000 (01:06 +0200)]
[PCS440EP]  - fix compile error, if BUILD_DIR is used

17 years agomake show_boot_progress () weak.
Heiko Schocher [Fri, 13 Jul 2007 07:54:17 +0000 (09:54 +0200)]
make show_boot_progress () weak.

Signed-off-by: Heiko Schocher <hs@denx.de>
17 years ago[PCS440EP] - The DIAG LEDs are now blinking, if an error occur
Heiko Schocher [Fri, 13 Jul 2007 06:26:05 +0000 (08:26 +0200)]
[PCS440EP] - The DIAG LEDs are now blinking, if an error occur
- fix compile error, if BUILD_DIR is used

Signed-off-by: Heiko Schocher <hs@denx.de>
17 years agoppc4xx: Change receive buffer handling in the 4xx emac driver
Stefan Roese [Thu, 12 Jul 2007 14:32:08 +0000 (16:32 +0200)]
ppc4xx: Change receive buffer handling in the 4xx emac driver

This change fixes a bug in the receive buffer handling, that
could lead to problems upon high network traffic (broadcasts...).

Signed-off-by: Stefan Roese <sr@denx.de>
17 years agoUpdate CHANGELOG, minor coding style cleanup.
Wolfgang Denk [Wed, 11 Jul 2007 23:45:34 +0000 (01:45 +0200)]
Update CHANGELOG, minor coding style cleanup.

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

17 years agoCM1.QP1: Support for the Schindler CM1.QP1 board.
Bartlomiej Sieka [Wed, 11 Jul 2007 18:11:07 +0000 (20:11 +0200)]
CM1.QP1: Support for the Schindler CM1.QP1 board.

Signed-off-by: Piotr Kruszynski <ppk@semihalf.com>
Signed-off-by: Bartlomiej Sieka <tur@semihalf.com>
17 years ago[PCS440EP] - Show on the DIAG LEDs, if the SHA1 check failed
Heiko Schocher [Wed, 11 Jul 2007 16:39:11 +0000 (18:39 +0200)]
[PCS440EP]  - Show on the DIAG LEDs, if the SHA1 check failed
            - now the Flash ST M29W040B is supported (not tested)
            - fix the "led" command
            - fix compile error, if BUILD_DIR is used

Signed-off-by: Heiko Schocher <hs@denx.de>
17 years agoMerge with git://www.denx.de/git/u-boot.git
Stefan Roese [Wed, 11 Jul 2007 10:16:04 +0000 (12:16 +0200)]
Merge with git://www.denx.de/git/u-boot.git

17 years agoCoding style cleanup; update CHANGELOG.
Wolfgang Denk [Mon, 9 Jul 2007 22:01:28 +0000 (00:01 +0200)]
Coding style cleanup; update CHANGELOG.

Signed-off-by: Wolfgang Denk <wd@denx.de>
17 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

17 years agoppc4xx: Update lwmon5 default environment
Stefan Roese [Fri, 6 Jul 2007 10:26:51 +0000 (12:26 +0200)]
ppc4xx: Update lwmon5 default environment

Signed-off-by: Stefan Roese <sr@denx.de>
17 years agoppc4xx: Update lwmon5 board
Stefan Roese [Fri, 6 Jul 2007 09:48:24 +0000 (11:48 +0200)]
ppc4xx: Update lwmon5 board

Add unlock=yes environment variable to default variables to unlock
the CFI flash by default.

Signed-off-by: Stefan Roese <sr@denx.de>
17 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 ... /home/wd/git/u-boot/custodian/u-boot-ppc4xx

17 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>
17 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>
17 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>
17 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>
17 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 ... /home/wd/git/u-boot/custodian/u-boot-testing

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

17 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>
17 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>
17 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>
17 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>
17 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>
17 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>
17 years agoCoding stylke cleanup; rebuild CHANGELOG
Wolfgang Denk [Fri, 22 Jun 2007 21:59:00 +0000 (23:59 +0200)]
Coding stylke cleanup; rebuild CHANGELOG

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

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

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

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

17 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

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

17 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>
17 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 ... /home/stefan/git/u-boot/denx-440-exceptions

17 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>
17 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>
17 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>
17 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>
17 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>
17 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>
17 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>
17 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.

17 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>
17 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>
17 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 ... /home/wd/git/u-boot/custodian/u-boot-mpc86xx

17 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 ... /home/wd/git/u-boot/custodian/u-boot-arm

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

17 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>
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 ... /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>