]> git.sur5r.net Git - u-boot/log
u-boot
16 years agoGroup console drivers in drivers/Makefile
Grant Likely [Mon, 24 Sep 2007 15:05:30 +0000 (09:05 -0600)]
Group console drivers in drivers/Makefile

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
16 years agoGroup network drivers in drivers/Makefile
Grant Likely [Mon, 24 Sep 2007 15:05:30 +0000 (09:05 -0600)]
Group network drivers in drivers/Makefile

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
16 years agoBuild: split COBJS value into multiple lines
Grant Likely [Mon, 24 Sep 2007 15:05:30 +0000 (09:05 -0600)]
Build: split COBJS value into multiple lines

This change is in preparation for condtitionial compile support in the
build system.  By spliting them all into seperate lines now, subsequent
patches that change 'COBJS-y += ' into 'COBJS-$(CONFIG_<blah>) += ' will
be less invasive and easier to review

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
16 years agoAdd .gitignore files
Grant Likely [Mon, 24 Sep 2007 15:05:30 +0000 (09:05 -0600)]
Add .gitignore files

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Acked-by: Kim Phillips <kim.phillips@freescale.com>
16 years agoRevert "Correct relocation fixup for mpc5xx"
Grant Likely [Thu, 15 Nov 2007 15:27:52 +0000 (08:27 -0700)]
Revert "Correct relocation fixup for mpc5xx"

This reverts commit 3649cd99ba815b6601868735765602f00ef3692b.
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
16 years agoRevert "Correct fixup relocation for MPC5xxx"
Grant Likely [Thu, 15 Nov 2007 15:24:32 +0000 (08:24 -0700)]
Revert "Correct fixup relocation for MPC5xxx"

This reverts commit 6f7576b20ecf0d040c3ac3b032b5cbc860e38a90.
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
16 years agoRevert "Correct fixup relocation for mpc8220"
Grant Likely [Thu, 15 Nov 2007 15:21:04 +0000 (08:21 -0700)]
Revert "Correct fixup relocation for mpc8220"

This reverts commit a85dd254c0577fca13627c46e93fc2ad4c4f1f00.
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
16 years agoRevert "Correct fixup relocation for mpc824x"
Grant Likely [Thu, 15 Nov 2007 15:20:57 +0000 (08:20 -0700)]
Revert "Correct fixup relocation for mpc824x"

This reverts commit f3a52fe05923935db86985daf9438e2f70ac39aa.
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
16 years agoRevert "Correct fixup relocation for mpc8260"
Grant Likely [Thu, 15 Nov 2007 15:20:50 +0000 (08:20 -0700)]
Revert "Correct fixup relocation for mpc8260"

This reverts commit 5af61b2f4b838a05f79be274f3e5a66edd2d9c96.
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
16 years agoRevert "Correct fixup relocation for mpc83xx"
Grant Likely [Thu, 15 Nov 2007 15:20:43 +0000 (08:20 -0700)]
Revert "Correct fixup relocation for mpc83xx"

This reverts commit 057004f4a4863554d56cc56268bfa7c7d9738e27.
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
16 years agoRevert "[MPC512x] Correct fixup relocation"
Grant Likely [Thu, 15 Nov 2007 15:20:25 +0000 (08:20 -0700)]
Revert "[MPC512x] Correct fixup relocation"

This reverts commit 8d17979d0359492a822a0a409d26e3a3549b4cd4.
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
16 years agoppc4xx: Small AMCC Kilauea cleanup
Stefan Roese [Thu, 15 Nov 2007 13:25:09 +0000 (14:25 +0100)]
ppc4xx: Small AMCC Kilauea cleanup

Remove not needed pci_target_init() function.

Signed-off-by: Stefan Roese <sr@denx.de>
16 years agoppc4xx: Enable 440 GPIO init table CFG_440_GPIO_TABLE for 405 platforms
Stefan Roese [Thu, 15 Nov 2007 13:23:55 +0000 (14:23 +0100)]
ppc4xx: Enable 440 GPIO init table CFG_440_GPIO_TABLE for 405 platforms

- Rename CFG_440_GPIO_TABLE to CFG_4xx_GPIO_TABLE
- Cleanup of the 4xx GPIO functions
- Move some GPIO defines from the cpu headers ppc405.h/ppc440.h into gpio.h

Signed-off-by: Stefan Roese <sr@denx.de>
16 years agoppc4xx: AMCC Taihu board config file cleanup
Stefan Roese [Thu, 15 Nov 2007 13:20:08 +0000 (14:20 +0100)]
ppc4xx: AMCC Taihu board config file cleanup

This patch makes the AMCC Taihu a little more compatible to the other
AMCC eval boards.

Signed-off-by: Stefan Roese <sr@denx.de>
16 years agoppc4xx: lwmon5: Change PHY reset sequence for PHY MDIO address latching
Stefan Roese [Tue, 13 Nov 2007 07:18:20 +0000 (08:18 +0100)]
ppc4xx: lwmon5: Change PHY reset sequence for PHY MDIO address latching

Signed-off-by: Stefan Roese <sr@denx.de>
16 years agoMerge branch 'master' of git://www.denx.de/git/u-boot
Stefan Roese [Tue, 13 Nov 2007 07:16:40 +0000 (08:16 +0100)]
Merge branch 'master' of git://www.denx.de/git/u-boot

16 years agoppc4xx: Fix 405EX PCIe UTLSET register setup
Stefan Roese [Tue, 13 Nov 2007 07:06:11 +0000 (08:06 +0100)]
ppc4xx: Fix 405EX PCIe UTLSET register setup

Signed-off-by: Stefan Roese <sr@denx.de>
16 years ago[UC101] SRAM now with 2 MB working.
Heiko Schocher [Tue, 13 Nov 2007 06:50:29 +0000 (07:50 +0100)]
[UC101] SRAM now with 2 MB working.

Signed-off-by: Heiko Schocher <hs@denx.de>
16 years agoppc4xx: Use generic usb-ohci driver for sequoia board
Matthias Fuchs [Fri, 9 Nov 2007 14:37:53 +0000 (15:37 +0100)]
ppc4xx: Use generic usb-ohci driver for sequoia board

This patch makes the sequoia board use the generic usb-ohci driver
instead of cpu/ppc4xx/usb_ohci.c.

Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
Signed-off-by: Stefan Roese <sr@denx.de>
16 years agoppc4xx: Make USB working with CONFIG_4xx_DCACHE defined
Matthias Fuchs [Fri, 9 Nov 2007 14:37:23 +0000 (15:37 +0100)]
ppc4xx: Make USB working with CONFIG_4xx_DCACHE defined

This patch disables the 44x d-cache on 'usb start' and
reenables it on 'usb stop'. This should be seen as a
temporary fix until the generic usb-ohci driver can
life with d-cache enabled.

Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
Signed-off-by: Stefan Roese <sr@denx.de>
16 years agoppc4xx: Remove redundant code from 4xx network driver
Matthias Fuchs [Fri, 9 Nov 2007 14:36:44 +0000 (15:36 +0100)]
ppc4xx: Remove redundant code from 4xx network driver

This patch removes some redundant code and decrements the end
address of cache flush and invalidate by 1.

Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
Signed-off-by: Stefan Roese <sr@denx.de>
16 years agoppc4xx: Remove In:/Out:/Err: boot output for AMCC Kilauea
Stefan Roese [Fri, 9 Nov 2007 11:19:58 +0000 (12:19 +0100)]
ppc4xx: Remove In:/Out:/Err: boot output for AMCC Kilauea

Signed-off-by: Stefan Roese <sr@denx.de>
16 years agoppc4xx: Make output a little shorter on I2C bootrom detection
Stefan Roese [Fri, 9 Nov 2007 11:18:54 +0000 (12:18 +0100)]
ppc4xx: Make output a little shorter on I2C bootrom detection

Most 4xx PPC capable of using an I2C bootrom for bootstrap setting
already print a line with the information which I2C bootrom is
used for bootstrap configuration. So we don't need this extra line
with "I2C boot EEPROM en-/dis-abled".

This patch also has a little code cleanup integrated.

Signed-off-by: Stefan Roese <sr@denx.de>
16 years agoColdFire: MCF5329 - Remove reset registers from CCM
TsiChungLiew [Thu, 8 Nov 2007 18:50:18 +0000 (12:50 -0600)]
ColdFire: MCF5329 - Remove reset registers from CCM

Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
16 years agoColdFire: MCF5329 - Add Reset structure to immap_5329.h
TsiChungLiew [Thu, 8 Nov 2007 18:31:11 +0000 (12:31 -0600)]
ColdFire: MCF5329 - Add Reset structure to immap_5329.h

Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
16 years agoColdFire: MCF5329 - revert include/asm-m68k/m5329.h file mode
TsiChungLiew [Thu, 8 Nov 2007 18:19:01 +0000 (12:19 -0600)]
ColdFire: MCF5329 - revert include/asm-m68k/m5329.h file mode

Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
16 years agoColdFire: MCF5445x - Update correct RAMBAR and missing linker files
TsiChungLiew [Thu, 8 Nov 2007 00:00:54 +0000 (18:00 -0600)]
ColdFire: MCF5445x - Update correct RAMBAR and missing linker files

Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
16 years agoColdFire: MCF532x - Update do_reset() using core reset
TsiChungLiew [Wed, 7 Nov 2007 23:56:15 +0000 (17:56 -0600)]
ColdFire: MCF532x - Update do_reset() using core reset

Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
16 years agoColdFire: Update cpu flag for 4.2-xx compiler
TsiChungLiew [Wed, 7 Nov 2007 23:51:00 +0000 (17:51 -0600)]
ColdFire: Update cpu flag for 4.2-xx compiler

Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
16 years agoImplement general ULi 526x Ethernet driver support in U-boot
Roy Zang [Mon, 5 Nov 2007 09:39:24 +0000 (17:39 +0800)]
Implement general ULi 526x Ethernet driver support in U-boot

This patch implements general ULi 526x Ethernet driver.
Until now, it is the only native Ethernet port on
MPC8610HPCD board, but it could be used on other boards
with ULi 526x Ethernet port as well.

Signed-off-by: Roy Zang <tie-fei.zang@freescale.com>
Signed-off-by: Zhang Wei <wei.zhang@freescale.com>
Acked-by: Jon Loeliger <jdl@freescale.com>
Signed-off-by: Ben Warren <bwarren@qstreams.com>
16 years agoNET: Add Ethernet 1000BASE-X support for PPC4xx
Larry Johnson [Thu, 1 Nov 2007 13:46:50 +0000 (08:46 -0500)]
NET: Add Ethernet 1000BASE-X support for PPC4xx

This patch adds support for 1000BASE-X to functions "miiphy_speed ()" and
"miiphy_duplex()".  It also adds function "miiphy_is_1000base_x ()", which
returns non-zero iff the PHY registers are configured for 1000BASE-X.  The
"mii info" command is modified to distinguish between 1000BASE-T and -X.

Signed-off-by: Larry Johnson <lrj@acm.org>
Signed-off-by: Ben Warren <bwarren@qstreams.com>
16 years agoNET: Cosmetic changes
Larry Johnson [Wed, 31 Oct 2007 16:21:29 +0000 (11:21 -0500)]
NET: Cosmetic changes

Signed-off-by: Larry Johnson <lrj@acm.org>
Signed-off-by: Ben Warren <bwarren@qstreams.com>
16 years agoMerge git://www.denx.de/git/u-boot
Ben Warren [Tue, 6 Nov 2007 15:17:40 +0000 (10:17 -0500)]
Merge git://www.denx.de/git/u-boot

16 years agoppc4xx: Make output a little shorter on PCIe detection
Stefan Roese [Mon, 5 Nov 2007 06:43:05 +0000 (07:43 +0100)]
ppc4xx: Make output a little shorter on PCIe detection

Now not max 3 lines but 2 lines are printed per PCIe port.

Signed-off-by: Stefan Roese <sr@denx.de>
16 years agoCleanup coding style; update CHANGELOG
Wolfgang Denk [Sat, 3 Nov 2007 22:09:27 +0000 (23:09 +0100)]
Cleanup coding style; update CHANGELOG

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agofix wording in README
Bruce Adler [Fri, 2 Nov 2007 20:15:42 +0000 (13:15 -0700)]
fix wording in README

Changed the wording to properly describe the shadowing
of the environment from ROM to RAM

Signed-off-by: Bruce Adler <bruce.adler@acm.org>
16 years agoblackfin: Move `-D__BLACKFIN__' to $(ARCH)_config.mk
Shinya Kuribayashi [Tue, 30 Oct 2007 17:18:15 +0000 (02:18 +0900)]
blackfin: Move `-D__BLACKFIN__' to $(ARCH)_config.mk

Signed-off-by: Shinya Kuribayashi <skuribay@ruby.dti.ne.jp>
16 years agoTrimmed some variables in ne2000.c
Vlad Lungu [Thu, 25 Oct 2007 13:08:14 +0000 (16:08 +0300)]
Trimmed some variables in ne2000.c

Signed-off-by: Vlad Lungu <vlad@comsys.ro>
16 years agoFix the issue of usb_kbd driver missing the scan code of key 'z'.
Zhang Wei [Thu, 25 Oct 2007 09:51:27 +0000 (17:51 +0800)]
Fix the issue of usb_kbd driver missing the scan code of key 'z'.

The scan code of the key 'z' is 0x1d, which should be handled.

The change has be tested on NOVATEK USB keyboard and ULI PCI OHCI
controller.

Signed-off-by: Zhang Wei <wei.zhang@freescale.com>
16 years agoFix USB support issue for MPC8641HPCN board.
Zhang Wei [Thu, 25 Oct 2007 09:30:04 +0000 (17:30 +0800)]
Fix USB support issue for MPC8641HPCN board.

The configuration file has already enabled USB, but it
missed definition of CFG_OHCI_SWAP_REG_ACCESS, the USB
on MPC8641HPCN can not work because of the wrong USB
register endian.

And add the USB command to U-Boot commands list.

Signed-off-by: Zhang Wei <wei.zhang@freescale.com>
16 years agoUse config_cmd_default.h instead of config_cmd_all.h
Jean-Christophe PLAGNIOL-VILLARD [Wed, 24 Oct 2007 16:16:01 +0000 (18:16 +0200)]
Use config_cmd_default.h instead of config_cmd_all.h

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
16 years agoTQM5200: Call usb_cpu_init() during board init
Marian Balakowicz [Tue, 23 Oct 2007 23:37:36 +0000 (01:37 +0200)]
TQM5200: Call usb_cpu_init() during board init

usb_cpu_init() configures GPS USB pins, clocks, etc. and
is required for proper operation of kernel USB subsystem.
This setup was previously done in the kernel by the fixup
code which is being removed, thus low level init must be
done by U-boot now.

Signed-off-by: Marian Balakowicz <m8@semihalf.com>
16 years agoFix typo in nfs.c
Guennadi Liakhovetski [Tue, 23 Oct 2007 14:25:50 +0000 (16:25 +0200)]
Fix typo in nfs.c

An obvious typo. Originally fixed in linkstation u-boot port.

Signed-off-by: Guennadi Liakhovetski <lg@denx.de>
16 years agoFix a typo in cpu/mpc824x/interrupts.c
Guennadi Liakhovetski [Tue, 23 Oct 2007 12:35:05 +0000 (14:35 +0200)]
Fix a typo in cpu/mpc824x/interrupts.c

Since December 2003 the timer_interrupt_cpu() function in
cpu/mpc824x/interrupts.c contains what seems to be a superfluous
parameter. Remove it.

Signed-off-by: Guennadi Liakhovetski <lg@denx.de>
16 years agoadd ft_cpu_setup(..) on mpc8260
Sergej Stepanov [Wed, 17 Oct 2007 09:13:51 +0000 (11:13 +0200)]
add ft_cpu_setup(..) on mpc8260

Add ft_cpu_setup(..)-function to adapt it for use with libfdt
based on code from mpc5xxx

Sigend-off-by: Sergej Stepanov <Sergej.Stepanov@ids.de>
--

16 years agochanges for IDS8247 board support
Sergej Stepanov [Wed, 17 Oct 2007 09:18:42 +0000 (11:18 +0200)]
changes for IDS8247 board support

To get the IDS8247 board working following are done:
 - FCC2 is deactivated
 - FCC1 is activated
 - I2C is activated
 - CFI driver is activated
 - Adapted for use with LIBFDT

Signed-off-by: Sergej Stepanov <Sergej.Stepanov@ids.de>
--

16 years agoppc4xx: Add AMCC Kilauea/Haleakala NAND booting support
Stefan Roese [Sat, 3 Nov 2007 11:08:28 +0000 (12:08 +0100)]
ppc4xx: Add AMCC Kilauea/Haleakala NAND booting support

This patch adds NAND booting support for the AMCC 405EX(r) eval boards.
Again, only one image supports both targets.

Signed-off-by: Stefan Roese <sr@denx.de>
16 years agoMerge git://www.denx.de/git/u-boot
Ben Warren [Fri, 2 Nov 2007 15:20:41 +0000 (11:20 -0400)]
Merge git://www.denx.de/git/u-boot

16 years agoMerge branch 'master' of /home/wd/git/u-boot/work
Wolfgang Denk [Fri, 2 Nov 2007 14:09:22 +0000 (15:09 +0100)]
Merge branch 'master' of /home/wd/git/u-boot/work

16 years agoMerge branch 'master' of /home/wd/git/u-boot/custodians
Wolfgang Denk [Fri, 2 Nov 2007 14:09:10 +0000 (15:09 +0100)]
Merge branch 'master' of /home/wd/git/u-boot/custodians

16 years agoATSTK1002: Remove default ethernet addresses
Haavard Skinnemoen [Wed, 24 Oct 2007 13:48:37 +0000 (15:48 +0200)]
ATSTK1002: Remove default ethernet addresses

Wolfgang is right: It's not a good idea to set up default initial
ethernet addresses for a board, even though they belong to the local
range.

This will change the failure mode from "IT manager screams at you for
using duplicate ethernet addresses" to a nice error message explaining
that the ethernet address hasn't been set properly.

Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
16 years agoDHCP Client Fix
Justin Flammia [Mon, 29 Oct 2007 21:40:35 +0000 (17:40 -0400)]
DHCP Client Fix

This is a multi-part message in MIME format.

commit e6e505eae94ed721e123e177489291fc4544b7b8
Author: Justin Flammia <jflammia@savantav.com>
Date:   Mon Oct 29 17:19:03 2007 -0400

    Found a bug in the way the DHCP Request packet is built, where the IP address
    that is offered by the server is bound to prematurely. This patch is a fix of
    that bug where the IP address offered by the DHCP server is not used until
    after the DHCP ACK from the server is received.

Signed-off-by: Justin Flammia <jflammia@savantav.com>
Signed-off-by: Ben Warren <bwarren@qstreams.com>
16 years agoMerge branch 'master' of git://www.denx.de/git/u-boot-coldfire
Wolfgang Denk [Thu, 1 Nov 2007 21:58:59 +0000 (22:58 +0100)]
Merge branch 'master' of git://www.denx.de/git/u-boot-coldfire

16 years agoMerge branch 'master' of git://www.denx.de/git/u-boot-arm
Wolfgang Denk [Thu, 1 Nov 2007 21:57:33 +0000 (22:57 +0100)]
Merge branch 'master' of git://www.denx.de/git/u-boot-arm

16 years agoMerge branch 'master' of git://www.denx.de/git/u-boot-tq-group
Wolfgang Denk [Thu, 1 Nov 2007 21:56:16 +0000 (22:56 +0100)]
Merge branch 'master' of git://www.denx.de/git/u-boot-tq-group

16 years agoMerge branch 'master' of /home/wd/git/u-boot/custodians
Wolfgang Denk [Thu, 1 Nov 2007 21:55:23 +0000 (22:55 +0100)]
Merge branch 'master' of /home/wd/git/u-boot/custodians

16 years agoMerge branch 'master' of git://www.denx.de/git/u-boot-mips
Wolfgang Denk [Thu, 1 Nov 2007 21:54:31 +0000 (22:54 +0100)]
Merge branch 'master' of git://www.denx.de/git/u-boot-mips

16 years agoMerge branch 'master' of git://www.denx.de/git/u-boot-mpc85xx
Wolfgang Denk [Thu, 1 Nov 2007 21:38:01 +0000 (22:38 +0100)]
Merge branch 'master' of git://www.denx.de/git/u-boot-mpc85xx

16 years agoppc4xx: Fix acadia_nand build problem
Stefan Roese [Wed, 31 Oct 2007 19:58:34 +0000 (20:58 +0100)]
ppc4xx: Fix acadia_nand build problem

Since the cache handling functions were moved from start.S into cache.S
the acadia NAND booting Makfile needs to be adapted accordingly.

Signed-off-by: Stefan Roese <sr@denx.de>
16 years agoppc4xx: Add CONFIG_4xx_DCACHE compile options to enable cached SDRAM
Stefan Roese [Wed, 31 Oct 2007 19:57:11 +0000 (20:57 +0100)]
ppc4xx: Add CONFIG_4xx_DCACHE compile options to enable cached SDRAM

This patch adds the CONFIG_4xx_DCACHE options to some SDRAM init files
and to the Sequoia TLB init code. Now the cache can be enabled on 44x
boards by defining CONFIG_4xx_DCACHE in the board config file. This
option will disappear, when more boards use is successfully and no
more known problems exist.

This is tested successfully on Sequoia and Katmai. The only problem that
needs to be fixed is, that USB is not working on Sequoia right now, since
it will need some cache handling code too, similar to the 4xx EMAC driver.

Signed-off-by: Stefan Roese <sr@denx.de>
16 years agoppc4xx: Enable CPU POST test for 4xx with dcache enabled
Stefan Roese [Wed, 31 Oct 2007 19:51:10 +0000 (20:51 +0100)]
ppc4xx: Enable CPU POST test for 4xx with dcache enabled

Now with caches enabled (i- and d-cache) on 44x, we need a chance to
disable the cache for the CPU POST tests, since these tests consist
of self modifying code. This is done via the new change_tlb() function.

Signed-off-by: Stefan Roese <sr@denx.de>
16 years agoppc4xx: Change 4xx POST ethernet test to handle cached memory too
Stefan Roese [Wed, 31 Oct 2007 19:47:26 +0000 (20:47 +0100)]
ppc4xx: Change 4xx POST ethernet test to handle cached memory too

This patch enables the 4xx EMAC POST driver to work too, when dcache is
enabled.

Signed-off-by: Stefan Roese <sr@denx.de>
16 years agoppc4xx: Remove temporary TLB entry in POST cache test only for 440
Stefan Roese [Wed, 31 Oct 2007 19:45:53 +0000 (20:45 +0100)]
ppc4xx: Remove temporary TLB entry in POST cache test only for 440

Signed-off-by: Stefan Roese <sr@denx.de>
16 years agoppc4xx: Change 4xx ethernet driver to handle cached memory too
Stefan Roese [Wed, 31 Oct 2007 17:01:24 +0000 (18:01 +0100)]
ppc4xx: Change 4xx ethernet driver to handle cached memory too

This patch enables the 4xx EMAC driver to work too, when dcache is
enabled.

Signed-off-by: Stefan Roese <sr@denx.de>
16 years agoppc4xx: Add change_tlb function to modify I attribute of TLB(s)
Stefan Roese [Wed, 31 Oct 2007 16:59:22 +0000 (17:59 +0100)]
ppc4xx: Add change_tlb function to modify I attribute of TLB(s)

This function is used to either turn cache on or off in a specific
memory area.

Signed-off-by: Stefan Roese <sr@denx.de>
16 years agoppc4xx: Remove cache definition from 4xx board config files
Stefan Roese [Wed, 31 Oct 2007 16:57:52 +0000 (17:57 +0100)]
ppc4xx: Remove cache definition from 4xx board config files

All 4xx board config files don't need the cache definitions anymore.
These are now defined in common headers.

Signed-off-by: Stefan Roese <sr@denx.de>
16 years agoppc4xx: Rework 4xx cache support
Stefan Roese [Wed, 31 Oct 2007 16:55:58 +0000 (17:55 +0100)]
ppc4xx: Rework 4xx cache support

New cache handling functions added and all existing functions
moved from start.S into seperate cache.S.

Signed-off-by: Stefan Roese <sr@denx.de>
16 years agoppc4xx: Remove compiler warning from previous commit
Stefan Roese [Tue, 23 Oct 2007 16:03:12 +0000 (18:03 +0200)]
ppc4xx: Remove compiler warning from previous commit

Signed-off-by: Stefan Roese <sr@denx.de>
16 years agoppc4xx: Remove temporary TLB entry in POST cache test
Stefan Roese [Tue, 23 Oct 2007 12:40:30 +0000 (14:40 +0200)]
ppc4xx: Remove temporary TLB entry in POST cache test

Signed-off-by: Stefan Roese <sr@denx.de>
16 years agoppc4xx: Change autonegotiation timeout from 4 to 5 seconds
Stefan Roese [Tue, 23 Oct 2007 12:05:08 +0000 (14:05 +0200)]
ppc4xx: Change autonegotiation timeout from 4 to 5 seconds

I lately noticed, that newer 4xx board with GBit support sometimes don't
finish link autonegotiation in 4 seconds. Changing this timeout to 5
seconds seems fine here.

Signed-off-by: Stefan Roese <sr@denx.de>
16 years agoppc4xx: Change 4xx_enet & miiphy to use out_be32() and friends
Stefan Roese [Tue, 23 Oct 2007 12:03:17 +0000 (14:03 +0200)]
ppc4xx: Change 4xx_enet & miiphy to use out_be32() and friends

This patch changes all in32/out32 calls to use the recommended in_be32/
out_be32 macros instead.

Signed-off-by: Stefan Roese <sr@denx.de>
16 years agoppc4xx: Fix POST ethernet test for Haleakala
Stefan Roese [Thu, 25 Oct 2007 10:24:59 +0000 (12:24 +0200)]
ppc4xx: Fix POST ethernet test for Haleakala

The POST ethernet test needed to be changed to dynamically determine
the count of ethernet devices. This code is cloned from the 4xx
ethernet driver.

Signed-off-by: Stefan Roese <sr@denx.de>
16 years agoppc4xx: Correct UART input clock calculation and passing to fdt
Stefan Roese [Tue, 23 Oct 2007 09:31:05 +0000 (11:31 +0200)]
ppc4xx: Correct UART input clock calculation and passing to fdt

We now use a value in the gd (global data) structure for the UART input
frequency, since the PPC4xx_SYS_INFO struct is always rewritten completely
in get_sys_info().

Signed-off-by: Stefan Roese <sr@denx.de>
16 years agoppc4xx: Add initial AMCC Haleakala PPC405EXr eval board support
Stefan Roese [Tue, 23 Oct 2007 08:10:08 +0000 (10:10 +0200)]
ppc4xx: Add initial AMCC Haleakala PPC405EXr eval board support

The Haleakala is nearly identical with the Kilauea eval board. The only
difference is that the 405EXr only supports one EMAC and one PCIe
interface. This patch adds support for the Haleakala board by using
the identical image for Kilauea and Haleakala. The distinction is done
by comparing the PVR.

Signed-off-by: Stefan Roese <sr@denx.de>
16 years agoppc4xx: Fixed offset of refresh rate type for Bamboo on-board DDR SDRAM
Eugene O'Brien [Tue, 23 Oct 2007 06:29:10 +0000 (08:29 +0200)]
ppc4xx: Fixed offset of refresh rate type for Bamboo on-board DDR SDRAM

This patch also adds a note to the fixed DDR setup for Bamboo NAND booting:

Note:
As found out by Eugene O'Brien <eugene.obrien@advantechamt.com>, the fixed
DDR setup has problems (U-Boot crashes randomly upon TFTP), when the DIMM
modules are still plugged in. So it is recommended to remove the DIMM
modules while using the NAND booting code with the fixed SDRAM setup!

Signed-off-by: Eugene O'Brien <eugene.obrien@advantechamt.com>
Signed-off-by: Stefan Roese <sr@denx.de>
16 years agoppc4xx: Add SNTP support to AMCC Katmai, Kilauea & Makalu boards
Stefan Roese [Mon, 22 Oct 2007 14:24:44 +0000 (16:24 +0200)]
ppc4xx: Add SNTP support to AMCC Katmai, Kilauea & Makalu boards

Signed-off-by: Stefan Roese <sr@denx.de>
16 years agoppc4xx: Rework of 4xx serial driver (4)
Stefan Roese [Mon, 22 Oct 2007 14:22:40 +0000 (16:22 +0200)]
ppc4xx: Rework of 4xx serial driver (4)

Change 4xx_uart.c:

- Use in_8/out_8 macros instead of in8/out8
- No need for UART_BASE marco anymore, now really handled via function
  parameter
- serial_init_common() introduced
- Further coding style cleanup

Signed-off-by: Stefan Roese <sr@denx.de>
16 years agoppc4xx: Rework of 4xx serial driver (3)
Stefan Roese [Mon, 22 Oct 2007 13:45:49 +0000 (15:45 +0200)]
ppc4xx: Rework of 4xx serial driver (3)

Change all linker scripts to reference the changed driver name iop480_uart.o.

Signed-off-by: Stefan Roese <sr@denx.de>
16 years agoppc4xx: Rework of 4xx serial driver (2)
Stefan Roese [Mon, 22 Oct 2007 13:44:39 +0000 (15:44 +0200)]
ppc4xx: Rework of 4xx serial driver (2)

Change all linker scripts to reference the changed driver name 4xx_uart.o.

Note: In most cased all these explicit referencing of these object files
in the linker scripts is not neccessary. Only for manually embedded
environment into the U-Boot image, which is not done is most cases.

Signed-off-by: Stefan Roese <sr@denx.de>
16 years agoppc4xx: Rework of 4xx serial driver (1)
Stefan Roese [Mon, 22 Oct 2007 13:09:59 +0000 (15:09 +0200)]
ppc4xx: Rework of 4xx serial driver (1)

This patch starts the rework of the PPC4xx serial driver. First we split
the file into two seperate files, one 4xx_uart.c with the 405/440 UART
handling code and the other one iop480_uart.c with the UART code for the
PLX-Tech IOP480 PPC (PPC403 based).

Signed-off-by: Stefan Roese <sr@denx.de>
16 years agoppc4xx: Correct UART input clock calculation and passing to fdt
Stefan Roese [Mon, 22 Oct 2007 08:30:38 +0000 (10:30 +0200)]
ppc4xx: Correct UART input clock calculation and passing to fdt

Signed-off-by: Stefan Roese <sr@denx.de>
16 years agoppc4xx: Add initial AMCC Makalu 405EX support
Stefan Roese [Mon, 22 Oct 2007 05:34:34 +0000 (07:34 +0200)]
ppc4xx: Add initial AMCC Makalu 405EX support

Signed-off-by: Stefan Roese <sr@denx.de>
16 years agoppc4xx: Add freqUART to CPU speed detection
Stefan Roese [Mon, 22 Oct 2007 05:33:52 +0000 (07:33 +0200)]
ppc4xx: Add freqUART to CPU speed detection

This value is needed later for the device tree configuration of
the uart clock.

Signed-off-by: Stefan Roese <sr@denx.de>
16 years agoppc: Small Kilauea cleanup of config file
Stefan Roese [Sun, 21 Oct 2007 12:26:29 +0000 (14:26 +0200)]
ppc: Small Kilauea cleanup of config file

Signed-off-by: Stefan Roese <sr@denx.de>
16 years agortc: Add Xicor/Intersil X1205 RTC support
Stefan Roese [Sun, 21 Oct 2007 06:16:12 +0000 (08:16 +0200)]
rtc: Add Xicor/Intersil X1205 RTC support

This patch adds support for the Xicor/Intersil X1205 RTC used on the
AMCC Makalu eval board. This driver is basically cloned from the Linux
driver version (2.6.23).

This patch also introduces the Linux bcd.h header for the BCD2BIN/
BIN2BCD conversions. In the future some of the other U-Boot RTC driver
should be converted to also use this header instead of implementing
their own local copy of these functions/macros.

Signed-off-by: Stefan Roese <sr@denx.de>
16 years agoppc4xx: Consolidate some of the 405 and 440 macros/structs into 4xx
Stefan Roese [Sun, 21 Oct 2007 06:12:41 +0000 (08:12 +0200)]
ppc4xx: Consolidate some of the 405 and 440 macros/structs into 4xx

This patch moves some common 4xx macros and the PPC405_SYS_INFO/
PPC440_SYS_INFO structure into the common ppc4xx.h header.

Lot's of other macros are good candidates to be consolidated this way
in the future.

Signed-off-by: Stefan Roese <sr@denx.de>
16 years agoppc4xx: Fix size setup in Kilauea DDR2 init routine
Stefan Roese [Sun, 21 Oct 2007 06:05:18 +0000 (08:05 +0200)]
ppc4xx: Fix size setup in Kilauea DDR2 init routine

The size was initilized wrong. Instead of 256MB, the DDR2 controller
was setup to 512MB. Now the correct values is used.

This patch also does a little cleanup and adds a comment here.

Signed-off-by: Stefan Roese <sr@denx.de>
16 years agoppc4xx: Define CONFIG_BOOKE for all PPC440 based processors
Eugene O'Brien [Thu, 18 Oct 2007 15:29:04 +0000 (17:29 +0200)]
ppc4xx: Define CONFIG_BOOKE for all PPC440 based processors

CONFIG_BOOKE must be defined for PPC440 processors so that the proper SPR
number is used to access system registers.

Signed-off-by: Eugene O'Brien <eugene.obrien@advantechamt.com>
Signed-off-by: Stefan Roese <sr@denx.de>
16 years agoppc4xx: Change inbound PCIe location for endpoint tests on Katmai
Stefan Roese [Thu, 18 Oct 2007 05:42:27 +0000 (07:42 +0200)]
ppc4xx: Change inbound PCIe location for endpoint tests on Katmai

On Yucca & Katmai, the inbound memory map pointed to 0x4.0000.0000, which
is the internal SRAM. Since I now ported and tested this endpoint mode
on Kilauea successfully to map to 0 (SDRAM), I also changed this for
Katmai.

Yucca will stay at internal SRAM for now. Not sure if somebody relies on
this setup.

Signed-off-by: Stefan Roese <sr@denx.de>
16 years agoppc4xx: Add PCIe endpoint support on Kilauea (405EX)
Stefan Roese [Thu, 18 Oct 2007 05:39:38 +0000 (07:39 +0200)]
ppc4xx: Add PCIe endpoint support on Kilauea (405EX)

This patch adds endpoint support for the AMCC Kilauea eval board. It can
be tested by connecting a reworked PCIe cable (only 1x lane singles
connected) to another root-complex.

In this test setup, a 64MB inbound window is configured at BAR0 which maps
to 0 on the PLB side. So accessing this BAR0 from the root-complex will
access the first 64MB of the SDRAM on the PPC side.

Signed-off-by: Stefan Roese <sr@denx.de>
16 years agoppc4xx: Dynamic configuration of 4xx PCIe mode as root or endpoint mode
Stefan Roese [Sat, 13 Oct 2007 14:43:23 +0000 (16:43 +0200)]
ppc4xx: Dynamic configuration of 4xx PCIe mode as root or endpoint mode

This patch adds support for dynamic configuration of PCIe ports for the
AMCC PPC4xx boards equipped with PCIe interfaces. These are the PPC440SPe
boards Yucca & Katmai and the 405EX board Kilauea.

This dynamic configuration is done via the "pcie_mode" environement
variable. This variable can be set to "EP" or "RP" for endpoint or
rootpoint mode. Multiple values can be joined via the ":" delimiter.
Here an example:

pcie_mode=RP:EP:EP

This way, PCIe port 0 will be configured as rootpoint, PCIe port 1 and 2
as endpoint.

Per default Yucca will be configured as:
pcie_mode=RP:EP:EP

Per default Katmai will be configured as:
pcie_mode=RP:RP:REP

Per default Kilauea will be configured as:
pcie_mode=RP:RP

Signed-off-by: Tirumala R Marri <tmarri@amcc.com>
Signed-off-by: Stefan Roese <sr@denx.de>
16 years agoppc4xx: Enable device tree support (fdt) on Kilauea per default
Stefan Roese [Thu, 11 Oct 2007 09:15:59 +0000 (11:15 +0200)]
ppc4xx: Enable device tree support (fdt) on Kilauea per default

This patch enables the fdt support on the AMCC Kilauea eval board.
Additionally now EBC ranges fdt fixup is included to support NOR
FLASH mapping via the Linux physmap_of driver.

This Kilauea port now support booting arch/ppc and arch/powerpc
Linux kernels. The default environment "net_nfs" is for arch/ppc
and "net_nfs_fdt" is for arch/powerpc. In the long run, arch/ppc
support will be removed.

Signed-off-by: Stefan Roese <sr@denx.de>
16 years agoppc4xx: Add additional debug info to 4xx fdt support
Stefan Roese [Thu, 11 Oct 2007 09:11:45 +0000 (11:11 +0200)]
ppc4xx: Add additional debug info to 4xx fdt support

Signed-off-by: Stefan Roese <sr@denx.de>
16 years agoppc4xx: Fix small merge problems with CPCI440 and Acadia boards
Stefan Roese [Fri, 5 Oct 2007 19:28:58 +0000 (21:28 +0200)]
ppc4xx: Fix small merge problems with CPCI440 and Acadia boards

Signed-off-by: Stefan Roese <sr@denx.de>
16 years agoppc4xx: Fix small merge problem in 4xx_enet.c
Stefan Roese [Fri, 5 Oct 2007 15:35:10 +0000 (17:35 +0200)]
ppc4xx: Fix small merge problem in 4xx_enet.c

Signed-off-by: Stefan Roese <sr@denx.de>
16 years agoppc4xx: Add initial AMCC Kilauea 405EX support
Stefan Roese [Fri, 5 Oct 2007 15:11:30 +0000 (17:11 +0200)]
ppc4xx: Add initial AMCC Kilauea 405EX support

Signed-off-by: Stefan Roese <sr@denx.de>
16 years agoppc4xx: Add PPC405EX support
Stefan Roese [Fri, 5 Oct 2007 15:10:59 +0000 (17:10 +0200)]
ppc4xx: Add PPC405EX support

Signed-off-by: Stefan Roese <sr@denx.de>
16 years agoppc4xx: Cleanup of 4xx PCI and PCIe support (renaming)
Stefan Roese [Fri, 5 Oct 2007 15:09:36 +0000 (17:09 +0200)]
ppc4xx: Cleanup of 4xx PCI and PCIe support (renaming)

Signed-off-by: Stefan Roese <sr@denx.de>
16 years agoppc4xx: Add initial fdt support to 4xx (first needed on 405EX)
Stefan Roese [Fri, 5 Oct 2007 15:07:50 +0000 (17:07 +0200)]
ppc4xx: Add initial fdt support to 4xx (first needed on 405EX)

Signed-off-by: Stefan Roese <sr@denx.de>
16 years agoPOST: Add 405EX support to 4xx UART POST test
Stefan Roese [Fri, 5 Oct 2007 15:04:57 +0000 (17:04 +0200)]
POST: Add 405EX support to 4xx UART POST test

Signed-off-by: Stefan Roese <sr@denx.de>