]> git.dujemihanovic.xyz Git - u-boot.git/log
u-boot.git
15 years agoMerge branch 'master' of git://git.denx.de/u-boot-blackfin
Wolfgang Denk [Sat, 7 Feb 2009 21:53:45 +0000 (22:53 +0100)]
Merge branch 'master' of git://git.denx.de/u-boot-blackfin

15 years agoMerge branch 'master' of git://git.denx.de/u-boot-cfi-flash
Wolfgang Denk [Sat, 7 Feb 2009 21:17:44 +0000 (22:17 +0100)]
Merge branch 'master' of git://git.denx.de/u-boot-cfi-flash

15 years agoMerge branch 'master' of git://git.denx.de/u-boot-ppc4xx
Wolfgang Denk [Sat, 7 Feb 2009 21:17:19 +0000 (22:17 +0100)]
Merge branch 'master' of git://git.denx.de/u-boot-ppc4xx

15 years agoMerge branch 'master' of git://git.denx.de/u-boot-mpc5xxx
Wolfgang Denk [Sat, 7 Feb 2009 21:08:53 +0000 (22:08 +0100)]
Merge branch 'master' of git://git.denx.de/u-boot-mpc5xxx

15 years agoppc4xx: Make PCIE support selectable
Dirk Eibach [Tue, 3 Feb 2009 14:15:21 +0000 (15:15 +0100)]
ppc4xx: Make PCIE support selectable

On some platforms PCIE support is not required, but would be included
because the cpu supports it. To reduce fooprint it is now configurable
via CONFIG_PCI_DISABLE_PCIE.

Signed-off-by: Dirk Eibach <eibach@gdsys.de>
Signed-off-by: Stefan Roese <sr@denx.de>
15 years agoppc4xx: Only fixup opb attached UARTs
Matthias Fuchs [Tue, 3 Feb 2009 21:13:16 +0000 (22:13 +0100)]
ppc4xx: Only fixup opb attached UARTs

This patch updates the fdt UART clock fixup code to
only touch CPU internal UARTs on 4xx systems.
Only these UARTs are definitely clocked by gd->uart_clk.

Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
Signed-off-by: Stefan Roese <sr@denx.de>
15 years agoBlackfin: move default boot SPI CS to common code
Mike Frysinger [Tue, 13 Jan 2009 16:00:29 +0000 (11:00 -0500)]
Blackfin: move default boot SPI CS to common code

Move the default SPI CS that we boot from into common code so that it can
be used in other SPI drivers and environment settings.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
15 years agoBlackfin: dynamically update UART speed when initializing
Mike Frysinger [Wed, 10 Dec 2008 17:33:54 +0000 (12:33 -0500)]
Blackfin: dynamically update UART speed when initializing

Previously, booting over the UART required the baud rate to be known ahead
of time.  Using a bit of tricky simple math, we can calculate the new board
rate based on the old divisors.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Robin Getz <rgetz@blackfin.uclinux.org>
15 years agoBlackfin: add support for fast SPI reads with Boot ROM
Mike Frysinger [Tue, 9 Dec 2008 22:21:08 +0000 (17:21 -0500)]
Blackfin: add support for fast SPI reads with Boot ROM

Newer Blackfin boot roms support using the fast SPI read command rather than
just the slow one.  If the functionality is available, then use it.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
15 years agoBlackfin: check for reserved settings in DDR MMRs
Mike Frysinger [Sun, 12 Oct 2008 01:46:52 +0000 (21:46 -0400)]
Blackfin: check for reserved settings in DDR MMRs

Some bits of the DDR MMRs should not be set.  If they do, bad things may
happen (like random failures or hardware destruction).

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
15 years agoBlackfin: set default voltage levels for BF538/BF539 parts
Mike Frysinger [Sun, 12 Oct 2008 01:54:00 +0000 (21:54 -0400)]
Blackfin: set default voltage levels for BF538/BF539 parts

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
15 years agoBlackfin: use on-chip syscontrol() rom function when available
Mike Frysinger [Sun, 1 Jun 2008 05:29:57 +0000 (01:29 -0400)]
Blackfin: use on-chip syscontrol() rom function when available

Newer Blackfin's have an on-chip rom with a syscontrol() function that needs
to be used to properly program the memory and voltage settings as it will
include (possibly critical) factory tested bias values.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
15 years agocfi_flash: Fix typo in cfi_flash.c
Stefan Roese [Thu, 5 Feb 2009 10:44:52 +0000 (11:44 +0100)]
cfi_flash: Fix typo in cfi_flash.c

Patch "flash/cfi_flash: Use virtual sector start address, not phys"
introduced a small typo and compilation warning for systems with CFI
legacy support (e.g. hcu4). This patch fixes it.

Signed-off-by: Stefan Roese <sr@denx.de>
15 years agojedec_flash: Only use manufacturer defines from common flash.h
Stefan Roese [Thu, 29 Jan 2009 10:21:38 +0000 (11:21 +0100)]
jedec_flash: Only use manufacturer defines from common flash.h

This patch removes the double defined manufacturer defines from
jedec_flash.c. Since the common defines in flash.h are 32bit
we now need the (16) cast. This patch also removes the compilation
warning (e.g. seen on hcu5):

./MAKEALL hcu5
Configuring for hcu5 board...
jedec_flash.c:219: warning: large integer implicitly truncated to unsigned type

Signed-off-by: Stefan Roese <sr@denx.de>
15 years agocfi_flash: Silence compilation warning
Stefan Roese [Thu, 5 Feb 2009 10:25:57 +0000 (11:25 +0100)]
cfi_flash: Silence compilation warning

Patch "flash/cfi_flash: Use virtual sector start address, not phys"
introduced a small compilation warning. This patch fixes it.

Signed-off-by: Stefan Roese <sr@denx.de>
15 years agoflash/cfi_flash: Use virtual sector start address, not phys
Becky Bruce [Mon, 2 Feb 2009 22:34:51 +0000 (16:34 -0600)]
flash/cfi_flash: Use virtual sector start address, not phys

include/flash.h was commented to say that the address in
flash_info->start was a physical address.  However, from u-boot's
point of view, and looking at most flash code, it makes more
sense for this to be a virtual address.  So I corrected the
comment to indicate that this was a virtual address.

The only flash driver that was actually treating the address
as physical was the mtd/cfi_flash driver.  However, this code
was using it inconsistently as it actually directly dereferenced
the "start" element, while it used map_physmem to get a
virtual address in other places.  I changed this driver so
that the code which initializes the info->start field calls
map_physmem to get a virtual address, eliminating the need for
further map_physmem calls.  The code is now consistent.

The *only* place a physical address should be used is when defining the
flash banks list that is used to initialize the flash_info struct,
usually found in the board config file.

Signed-off-by: Becky Bruce <beckyb@kernel.crashing.org>
Signed-off-by: Stefan Roese <sr@denx.de>
15 years agoBlackfin: update anomaly lists
Mike Frysinger [Mon, 6 Oct 2008 07:45:55 +0000 (03:45 -0400)]
Blackfin: update anomaly lists

Update the anomaly lists to match latest anomaly sheets.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
15 years agoADS5121 Add PATA support
Ralph Kondziella [Mon, 26 Jan 2009 19:34:36 +0000 (12:34 -0700)]
ADS5121 Add PATA support

Original patch from Ralph Kondziella
plus clean up by Wolfgang Denk
plus changes by John Rigby
    use ips clock not lpc
    port forward to current u-boot release

Signed-off-by: Ralph Kondziella <rk@argos-messtechnik.de>
Signed-off-by: Wolfgang Denk <wd@denx.de>
Signed-off-by: John Rigby <jrigby@freescale.com>
15 years agoADS5121 Add IC Ident Module (IIM) support
Martha Marx [Mon, 26 Jan 2009 17:45:07 +0000 (10:45 -0700)]
ADS5121 Add IC Ident Module (IIM) support

IIM (IC Identification Module) is the fusebox for the mpc5121.
Use #define CONFIG_IIM to turn on the clock for this module
use #define CONFIG_CMD_FUSE to add fusebox commands.
Fusebox commands include the ability to read
the status, read the register cache, override the register cache,
program the fuses and sense them.

Signed-off-by: Martha Marx <mmarx@silicontkx.com>
Signed-off-by: John Rigby <jrigby@freescale.com>
15 years agoMerge branch 'master' of git://git.denx.de/u-boot-usb
Wolfgang Denk [Tue, 3 Feb 2009 22:16:15 +0000 (23:16 +0100)]
Merge branch 'master' of git://git.denx.de/u-boot-usb

15 years agoADS5121 Fix rev2 silicon pci iopad config
John Rigby [Fri, 23 Jan 2009 17:33:15 +0000 (10:33 -0700)]
ADS5121 Fix rev2 silicon pci iopad config

Reset config is not correct

Signed-off-by: John Rigby <jrigby@freescale.com>
15 years agoADS5121 DIU Add diu_bmp_addr env
John Rigby [Wed, 19 Nov 2008 20:57:34 +0000 (13:57 -0700)]
ADS5121 DIU Add diu_bmp_addr env

Add support for using a bmp other than
FSL_Logo_BMP for the DIU splash screen.

Can now set the env var "diu_bmp_addr" to
the address of a BMP in flash to use instead
of the default FSL_Logo_BMP.

Signed-off-by: Martha Marx <mmarx@silicontkx.com>
Signed-off-by: John Rigby <jrigby@freescale.com>
15 years agoADS5121 DIU Make inclusion of FSL logo optional
John Rigby [Thu, 30 Oct 2008 22:39:35 +0000 (16:39 -0600)]
ADS5121 DIU Make inclusion of FSL logo optional

Make inclusion of FSL logo optional and
turn it off by default.

Signed-off-by: John Rigby <jrigby@freescale.com>
15 years agoCompile warning fix in onenand_uboot.h
Remy Bohmer [Sun, 1 Feb 2009 11:27:53 +0000 (12:27 +0100)]
Compile warning fix in onenand_uboot.h

Regression since merge window after 2009.01

Signed-off-by: Remy Bohmer <linux@bohmer.net>
15 years agoUSB: Add EHCI support for VCT EHCI controller (really with driver now)
Stefan Roese [Thu, 29 Jan 2009 05:33:55 +0000 (06:33 +0100)]
USB: Add EHCI support for VCT EHCI controller (really with driver now)

Somehow I missed the real driver part in my last patch version. This patch
now adds the driver.

Signed-off-by: Stefan Roese <sr@denx.de>
Signed-off-by: Remy Bohmer <linux@bohmer.net>
15 years agoBlackfin: add driver for on-chip MMC/SD controller
Cliff Cai [Sat, 29 Nov 2008 23:22:38 +0000 (18:22 -0500)]
Blackfin: add driver for on-chip MMC/SD controller

This is a port of the Linux Blackfin on-chip SDH driver to U-Boot.

Signed-off-by: Cliff Cai <cliff.cai@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
15 years agoBlackfin: add port muxing for BF51x SPI
Mike Frysinger [Sun, 12 Oct 2008 02:47:34 +0000 (22:47 -0400)]
Blackfin: add port muxing for BF51x SPI

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
15 years agoBlackfin: output booting source when booting
Mike Frysinger [Tue, 6 Jan 2009 11:16:19 +0000 (06:16 -0500)]
Blackfin: output booting source when booting

Knowing the booting source of the part is useful, especially when the part
can switch dynamically between sources.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
15 years agoBlackfin: set default CONFIG_ENV_SPI_CS based on bootrom
Mike Frysinger [Thu, 11 Dec 2008 11:30:46 +0000 (06:30 -0500)]
Blackfin: set default CONFIG_ENV_SPI_CS based on bootrom

Set the default CONFIG_ENV_SPI_CS value to match the SPI CS that is used by
the Blackfin on-chip bootrom to boot out of SPI flash.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
15 years agoBlackfin: update asm-blackfin/posix_types.h to latest Linux version
Mike Frysinger [Thu, 11 Dec 2008 09:06:26 +0000 (04:06 -0500)]
Blackfin: update asm-blackfin/posix_types.h to latest Linux version

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
15 years agoBlackfin: add port I bits
Mike Frysinger [Sat, 6 Dec 2008 07:54:52 +0000 (02:54 -0500)]
Blackfin: add port I bits

Some people need to access port I, so make sure the pins are defined.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
15 years agoBlackfin: add driver for on-chip ATAPI controller
Sonic Zhang [Thu, 27 Nov 2008 03:16:45 +0000 (22:16 -0500)]
Blackfin: add driver for on-chip ATAPI controller

This is a port of the Linux Blackfin on-chip ATAPI driver to U-Boot.

Signed-off-by: Sonic Zhang <Sonic.Zhang@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
15 years agoBlackfin: add driver for on-chip NAND controller
Mike Frysinger [Thu, 27 Nov 2008 02:43:06 +0000 (21:43 -0500)]
Blackfin: add driver for on-chip NAND controller

This is a port of the Linux Blackfin on-chip NFC driver to U-Boot.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
15 years agoBlackfin: build with -mno-fdpic
Mike Frysinger [Wed, 12 Nov 2008 12:18:15 +0000 (07:18 -0500)]
Blackfin: build with -mno-fdpic

Use the -mno-fdpic flag so that any Blackfin toolchain can be used to build
up u-boot, including ones that output FDPIC ELF by default.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
15 years agoBlackfin: fix up EBIU defines
Mike Frysinger [Tue, 11 Nov 2008 10:43:57 +0000 (05:43 -0500)]
Blackfin: fix up EBIU defines

The EBIU defines for EBSZ 256/512 were incorrect.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
15 years agoBlackfin: use 8/16/32 bit transfer widths in dma_memcpy()
Mike Frysinger [Wed, 5 Nov 2008 17:45:24 +0000 (12:45 -0500)]
Blackfin: use 8/16/32 bit transfer widths in dma_memcpy()

Rather than using 8bit transfers for everything, use 8/16/32 bit transfers
as usable with the source/destination addresses and the count size.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
15 years agoBlackfin: only flag L1 instruction for DMA memcpy
Mike Frysinger [Wed, 5 Nov 2008 13:50:23 +0000 (08:50 -0500)]
Blackfin: only flag L1 instruction for DMA memcpy

The performance difference from doing an 8 bit DMA memcpy vs an optimized
core memcpy can be pretty big when you add in the overhead of setting up the
MDMA registers, cache flushes, etc...  So only use dma_memcpy() when we
actually require it.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
15 years agoBlackfin: dma_memcpy(): fix random failures
Mike Frysinger [Wed, 5 Nov 2008 12:20:37 +0000 (07:20 -0500)]
Blackfin: dma_memcpy(): fix random failures

We have to make sure the DMA channel is actually disabled in hardware before
attempting to reprogram it.  Otherwise the new settings are ignored and we
end up with random hangs/failures.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
15 years agoBlackfin: rewrite cache handling functions
Mike Frysinger [Tue, 4 Nov 2008 05:04:03 +0000 (00:04 -0500)]
Blackfin: rewrite cache handling functions

Take the cache flush functions from the kernel as they use hardware loops in
order to get optimal performance.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
15 years agoBlackfin: setup bi_enetaddr for single nets
Mike Frysinger [Tue, 4 Nov 2008 03:30:05 +0000 (22:30 -0500)]
Blackfin: setup bi_enetaddr for single nets

For systems with CONFIG_NET_MULTI disabled, bi_enetaddr does not get setup
based on $ethaddr, so set it up.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
15 years agoBlackfin: cache core/system clock values
Mike Frysinger [Sat, 25 Oct 2008 02:48:47 +0000 (22:48 -0400)]
Blackfin: cache core/system clock values

Calculating the clocks requires a bit of calls to gcc math functions, so
cache the values after the first run since they'll most likely never
change once U-Boot is up and running.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
15 years agoBlackfin: enable --gc-sections
Mike Frysinger [Fri, 24 Oct 2008 22:18:16 +0000 (18:18 -0400)]
Blackfin: enable --gc-sections

Start building all Blackfin boards with -ffunction-sections/-fdata-sections
and linking with --gc-sections.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
15 years agoBlackfin: dont check baud if it wont actually get used
Mike Frysinger [Tue, 21 Oct 2008 01:08:54 +0000 (21:08 -0400)]
Blackfin: dont check baud if it wont actually get used

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
15 years agoBlackfin: add driver for on-chip SPI controller
Mike Frysinger [Tue, 14 Oct 2008 11:54:09 +0000 (07:54 -0400)]
Blackfin: add driver for on-chip SPI controller

This fills out the SPI backend for the Blackfin on-chip SPI peripheral.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
15 years agoBlackfin: only build post code when CONFIG_POST
Mike Frysinger [Sat, 18 Oct 2008 09:33:51 +0000 (05:33 -0400)]
Blackfin: only build post code when CONFIG_POST

Save some time by using CONFIG_POST in the Makefile rather than C files.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
15 years agoBlackfin: bfin_mac: cleanup pointer/casts for aliasing issues
Mike Frysinger [Thu, 8 Jan 2009 16:57:57 +0000 (11:57 -0500)]
Blackfin: bfin_mac: cleanup pointer/casts for aliasing issues

Redo how pointers are managed to get rid of ugly casts and strict pointer
aliasing issues that are highlighted by gcc 4.3.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Acked-by: Ben Warren <biggerbadderben@gmail.com>
15 years agoBlackfin: bfin_mac: convert CONFIG_BFIN_MAC_RMII to CONFIG_RMII
Mike Frysinger [Tue, 9 Dec 2008 22:46:21 +0000 (17:46 -0500)]
Blackfin: bfin_mac: convert CONFIG_BFIN_MAC_RMII to CONFIG_RMII

No point in having a Blackfin-specific define "CONFIG_BFIN_MAC_RMII" that
does exactly the same thing as common "CONFIG_RMII".

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Acked-by: Ben Warren <biggerbadderben@gmail.com>
15 years agoBlackfin: bfin_mac: use common debug()
Mike Frysinger [Wed, 5 Nov 2008 11:36:15 +0000 (06:36 -0500)]
Blackfin: bfin_mac: use common debug()

Rather then defining our own DEBUGF(), just use the common debug().

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Acked-by: Ben Warren <biggerbadderben@gmail.com>
15 years agoBlackfin: bfin_mac: respect CONFIG_PHY_{ADDR,CLOCK_FREQ}
Mike Frysinger [Mon, 20 Oct 2008 17:59:51 +0000 (13:59 -0400)]
Blackfin: bfin_mac: respect CONFIG_PHY_{ADDR,CLOCK_FREQ}

Rather than having the on-chip MAC hardcoded to phy address 1 and a speed
of 2.5mhz, use these as defaults if the board doesn't specify otherwise.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Acked-by: Ben Warren <biggerbadderben@gmail.com>
15 years agoBlackfin: bfin_mac: cleanup MII/PHY functions
Mike Frysinger [Tue, 14 Oct 2008 08:52:00 +0000 (04:52 -0400)]
Blackfin: bfin_mac: cleanup MII/PHY functions

Cleanup and rewrite the MII/PHY related functions so that we can reuse the
existing common linux/miiphy.h code and hook into the `mii` command.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Acked-by: Ben Warren <biggerbadderben@gmail.com>
15 years agoBlackfin: bfin_mac: set MDCDIV based on SCLK
Mike Frysinger [Tue, 14 Oct 2008 04:31:30 +0000 (00:31 -0400)]
Blackfin: bfin_mac: set MDCDIV based on SCLK

Rather than hardcoding MDCDIV to 24 (which is correct for ~125mhz SCLK),
use the real algorithm so it gets set correctly regardless of SCLK.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Acked-by: Ben Warren <biggerbadderben@gmail.com>
15 years agoMerge branch 'master' of git://git.denx.de/u-boot-arm
Wolfgang Denk [Sun, 1 Feb 2009 20:38:07 +0000 (21:38 +0100)]
Merge branch 'master' of git://git.denx.de/u-boot-arm

15 years agoMerge branch 'master' of git://git.denx.de/u-boot-net
Wolfgang Denk [Sun, 1 Feb 2009 20:31:37 +0000 (21:31 +0100)]
Merge branch 'master' of git://git.denx.de/u-boot-net

15 years agoMerge branch 'master' of git://git.denx.de/u-boot-ixp
Wolfgang Denk [Sun, 1 Feb 2009 20:24:38 +0000 (21:24 +0100)]
Merge branch 'master' of git://git.denx.de/u-boot-ixp

15 years agoixp: move serial to drivers/serial
Jean-Christophe PLAGNIOL-VILLARD [Sat, 31 Jan 2009 08:10:48 +0000 (09:10 +0100)]
ixp: move serial to drivers/serial

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
15 years agoixp: move pci init in arm/board instead of cpu
Jean-Christophe PLAGNIOL-VILLARD [Sat, 31 Jan 2009 08:04:58 +0000 (09:04 +0100)]
ixp: move pci init in arm/board instead of cpu

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
15 years agoixp: move pci drivers to drivers/pci
Jean-Christophe PLAGNIOL-VILLARD [Sat, 31 Jan 2009 07:56:49 +0000 (08:56 +0100)]
ixp: move pci drivers to drivers/pci

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
15 years agoixp: Move conditional compilation to Makefile
Jean-Christophe PLAGNIOL-VILLARD [Sat, 31 Jan 2009 07:53:44 +0000 (08:53 +0100)]
ixp: Move conditional compilation to Makefile

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
15 years agoixp: add missing os define
Jean-Christophe PLAGNIOL-VILLARD [Sat, 31 Jan 2009 07:53:44 +0000 (08:53 +0100)]
ixp: add missing os define

need by arm-elf toolchains and no impact on the arm-linux one

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
15 years agoixp: remove the option to include the Microcode
Jean-Christophe PLAGNIOL-VILLARD [Sat, 31 Jan 2009 08:53:39 +0000 (09:53 +0100)]
ixp: remove the option to include the Microcode

instead the board will have to load it from flash or ram
which will be specified by npe_ucode env var

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
15 years agoixp/npe: Move conditional compilation to Makefile
Jean-Christophe PLAGNIOL-VILLARD [Fri, 30 Jan 2009 08:45:23 +0000 (09:45 +0100)]
ixp/npe: Move conditional compilation to Makefile

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
15 years agoSX1: add hardware V2 support
Jean-Christophe PLAGNIOL-VILLARD [Wed, 28 Jan 2009 20:58:04 +0000 (21:58 +0100)]
SX1: add hardware V2 support

In the V2 the 2 flash has been replace by one 32MB flash

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
15 years agoSX1: Fix second flash mapping
Jean-Christophe PLAGNIOL-VILLARD [Wed, 28 Jan 2009 20:58:03 +0000 (21:58 +0100)]
SX1: Fix second flash mapping

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
15 years agoSX1: add CONFIG_STDOUT_USBTTY to enable preboot stdout redirect to usbtty
Jean-Christophe PLAGNIOL-VILLARD [Wed, 28 Jan 2009 20:58:03 +0000 (21:58 +0100)]
SX1: add CONFIG_STDOUT_USBTTY to enable preboot stdout redirect to usbtty

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
15 years agomove Samsung's board to board/samsung
Jean-Christophe PLAGNIOL-VILLARD [Wed, 28 Jan 2009 20:57:59 +0000 (21:57 +0100)]
move Samsung's board to board/samsung

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
15 years agomove ARM Ltd. to vendor dir
Jean-Christophe PLAGNIOL-VILLARD [Thu, 29 Jan 2009 11:07:21 +0000 (12:07 +0100)]
move ARM Ltd. to vendor dir

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
15 years agoppc4xx: Clean up configuration file for Korat board
Larry Johnson [Wed, 28 Jan 2009 20:30:37 +0000 (15:30 -0500)]
ppc4xx: Clean up configuration file for Korat board

This patch updates the default environmental variables for the
Korat PPC 440EPx board, and makes additional minor fixes.

Signed-off-by: Larry Johnson <lrj@acm.org>
Signed-off-by: Stefan Roese <sr@denx.de>
15 years agoppc4xx: Add variable "korat_usbcf" for Korat board
Larry Johnson [Wed, 28 Jan 2009 20:30:02 +0000 (15:30 -0500)]
ppc4xx: Add variable "korat_usbcf" for Korat board

The new environment variable "korat_usbcf" selects the USB
port used by the Korat board's CompactFlash controller.

Signed-off-by: Larry Johnson <lrj@acm.org>
Signed-off-by: Stefan Roese <sr@denx.de>
15 years agoAVR32: macb - Search for PHY id
Gunnar Rangoy [Fri, 23 Jan 2009 11:56:31 +0000 (12:56 +0100)]
AVR32: macb - Search for PHY id

This patch adds support for searching through available PHY-addresses in
the macb-driver. This is needed for the ATEVK1100 evaluation board,
where the PHY-address will be initialized to either 1 or 7.

This patch adds a config option, CONFIG_MACB_SEARCH_PHY, which when
enabled tells the driver to search for the PHY address.

Signed-off-by: Gunnar Rangoy <gunnar@rangoy.com>
Signed-off-by: Paul Driveklepp <pauldriveklepp@gmail.com>
Signed-off-by: Olav Morken <olavmrk@gmail.com>
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
15 years agoFix IP alignment problem
Olav Morken [Fri, 23 Jan 2009 11:56:26 +0000 (12:56 +0100)]
Fix IP alignment problem

This patch removes volatile from:
volatile IP_t *ip = (IP_t *)xip;

Due to a bug, avr32-gcc will assume that ip is aligned on a word boundary when
using volatile, which causes an exception since xip isn't aligned on a word
boundary.

Signed-off-by: Gunnar Rangoy <gunnar@rangoy.com>
Signed-off-by: Paul Driveklepp <pauldriveklepp@gmail.com>
Signed-off-by: Olav Morken <olavmrk@gmail.com>
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
15 years agoMarvell 88E1118 interrupt fix
Ron Madrid [Thu, 29 Jan 2009 00:17:21 +0000 (16:17 -0800)]
Marvell 88E1118 interrupt fix

This patch adjusts the LED control so that interrupt lines are not reading LEDs
and effectively causing indefinite interrupts to the controller.

Signed-off-by: Ron Madrid <ron_madrid@sbcglobal.net>
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
15 years agonet: smc911x.c: Add LAN9211 to chip_ids[] array
Stefan Roese [Wed, 21 Jan 2009 16:14:26 +0000 (17:14 +0100)]
net: smc911x.c: Add LAN9211 to chip_ids[] array

Signed-off-by: Stefan Roese <sr@denx.de>
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
15 years agoMove is_valid_ether_addr() to include/net.h
Mike Frysinger [Tue, 27 Jan 2009 21:53:39 +0000 (16:53 -0500)]
Move is_valid_ether_addr() to include/net.h

Import the is_valid_ether_addr() function from the Linux kernel.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
15 years agonet: Sort Makefile labels
Michal Simek [Mon, 5 Jan 2009 11:25:13 +0000 (12:25 +0100)]
net: Sort Makefile labels

Signed-off-by: Michal Simek <monstr@monstr.eu>
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
15 years agoMerge branch 'master' of git://git.denx.de/u-boot-nand-flash
Wolfgang Denk [Wed, 28 Jan 2009 22:14:22 +0000 (23:14 +0100)]
Merge branch 'master' of git://git.denx.de/u-boot-nand-flash

15 years ago85xx: Fix compile breakage with sbc8540 and sbc8560
Wolfgang Denk [Wed, 28 Jan 2009 22:06:42 +0000 (23:06 +0100)]
85xx: Fix compile breakage with sbc8540 and sbc8560

This fixes an error which raises just a warning:
sbc8560.c:250: warning: passing argument 2 of 'strmhz' makes integer from pointer without a cast

Signed-off-by: Wolfgang Denk <wd@denx.de>
15 years agoSPD823TS: do not define CONFIG_CMD_ENV
Mike Frysinger [Wed, 28 Jan 2009 18:48:55 +0000 (13:48 -0500)]
SPD823TS: do not define CONFIG_CMD_ENV

Since the SPD823TS board does not actually have any writable flash to save
its environment, undefine CONFIG_CMD_ENV so the "saveenv" command is
disabled.

This fixes the build error:
common/libcommon.a(cmd_nvedit.o): In function `do_saveenv':
common/cmd_nvedit.c:557: undefined reference to `saveenv'
make: *** [u-boot] Error 1

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
15 years agoOMAP3: Add Zoom1 board support
Dirk Behme [Wed, 28 Jan 2009 20:40:16 +0000 (21:40 +0100)]
OMAP3: Add Zoom1 board support

Support for Zoom MDK with OMAP3430. Details of Zoom MDK available here:
http://www.logicpd.com/products/devkit/ti/zoom_mobile_development_kit

Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Jason Kridner <jkridner@beagleboard.org>
15 years agoOMAP3: Add Pandora support
Dirk Behme [Wed, 28 Jan 2009 20:39:58 +0000 (21:39 +0100)]
OMAP3: Add Pandora support

Add Pandora support.

Signed-off-by: Grazvydas Ignotas <notasas@gmail.com>
Signed-off-by: Dirk Behme <dirk.behme@googlemail.com>
Signed-off-by: Jason Kridner <jkridner@beagleboard.org>
15 years agoOMAP3: Add EVM board
Dirk Behme [Wed, 28 Jan 2009 20:39:58 +0000 (21:39 +0100)]
OMAP3: Add EVM board

Add EVM board support.

Signed-off-by: Manikandan Pillai <mani.pillai@ti.com>
Signed-off-by: Dirk Behme <dirk.behme@googlemail.com>
Signed-off-by: Jason Kridner <jkridner@beagleboard.org>
15 years agoOMAP3: Add Overo board
Dirk Behme [Wed, 28 Jan 2009 20:39:57 +0000 (21:39 +0100)]
OMAP3: Add Overo board

Add Overo board support.

Signed-off-by: Steve Sakoman <sakoman@gmail.com>
Signed-off-by: Dirk Behme <dirk.behme@googlemail.com>
Signed-off-by: Jason Kridner <jkridner@beagleboard.org>
15 years agoOMAP3: Add common power code, README, and BeagleBoard
Dirk Behme [Tue, 27 Jan 2009 17:19:12 +0000 (18:19 +0100)]
OMAP3: Add common power code, README, and BeagleBoard

Add BeagleBoard support, common power code and README.

Signed-off-by: Jason Kridner <jkridner@beagleboard.org>
Signed-off-by: Dirk Behme <dirk.behme@googlemail.com>
15 years agoMerge branch 'master' of git://git.denx.de/u-boot-usb
Wolfgang Denk [Wed, 28 Jan 2009 20:09:46 +0000 (21:09 +0100)]
Merge branch 'master' of git://git.denx.de/u-boot-usb

15 years agoMerge branch 'master' of git://git.denx.de/u-boot-blackfin
Wolfgang Denk [Wed, 28 Jan 2009 20:09:32 +0000 (21:09 +0100)]
Merge branch 'master' of git://git.denx.de/u-boot-blackfin

15 years ago85xx: Fix compile breakage with MPC8540EVAL
Kumar Gala [Wed, 28 Jan 2009 14:31:10 +0000 (08:31 -0600)]
85xx: Fix compile breakage with MPC8540EVAL

Configuring for MPC8540EVAL board...
mpc8540eval.c: In function 'checkboard':
mpc8540eval.c:53: error: invalid operands to binary /
make[1]: *** [mpc8540eval.o] Error 1

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
15 years agousb_scan_devices: fix output with no devices
Bryan Wu [Mon, 19 Jan 2009 04:04:27 +0000 (23:04 -0500)]
usb_scan_devices: fix output with no devices

We should check the return of usb_new_device() so that if no USB device is
found, we print out the right message rather than always saying "new usb
device found".

Signed-off-by: Bryan Wu <bryan.wu@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Remy Bohmer <linux@bohmer.net>
15 years agoUSB: Add high-speed (480Mb/s) to all USB related outputs
Stefan Roese [Thu, 22 Jan 2009 09:11:21 +0000 (10:11 +0100)]
USB: Add high-speed (480Mb/s) to all USB related outputs

With this patch the USB related connection speed output ("usb tree" command and
debug output) is now high-speed enabled.

This patch also fixes a compilation warning when debugging is enabled.

Signed-off-by: Stefan Roese <sr@denx.de>
Signed-off-by: Remy Bohmer <linux@bohmer.net>
15 years agoUSB: Add dcache support to the EHCI driver
Stefan Roese [Wed, 21 Jan 2009 16:12:19 +0000 (17:12 +0100)]
USB: Add dcache support to the EHCI driver

This patch adds routines to handle (flush/invalidate) the dcache for the
QH and qTD structures and data buffers. This is needed on platforms using
this EHCI support with dcache enabled (like the MIPS VCT board port).

Signed-off-by: Stefan Roese <sr@denx.de>
Signed-off-by: Remy Bohmer <linux@bohmer.net>
15 years agoUSB: Add EHCI support for VCT EHCI controller
Stefan Roese [Wed, 21 Jan 2009 16:12:28 +0000 (17:12 +0100)]
USB: Add EHCI support for VCT EHCI controller

Signed-off-by: Stefan Roese <sr@denx.de>
Signed-off-by: Remy Bohmer <linux@bohmer.net>
15 years agoUSB: Add config option to call ehci_hcd_init() again after EHCI reset
Stefan Roese [Wed, 21 Jan 2009 16:12:10 +0000 (17:12 +0100)]
USB: Add config option to call ehci_hcd_init() again after EHCI reset

This patch adds the config option CONFIG_EHCI_HCD_INIT_AFTER_RESET
to call ehci_hcd_init() again after ehci_reset() is executed. This
is needed for the upcoming VCT EHCI support which needs to re-init
the hcd part again after the EHCI CMD_RESET is executed.

Signed-off-by: Stefan Roese <sr@denx.de>
Signed-off-by: Remy Bohmer <linux@bohmer.net>
15 years agoUSB: Fix speed detection on EHCI cntr with root hub transaction translators
Stefan Roese [Wed, 21 Jan 2009 16:12:01 +0000 (17:12 +0100)]
USB: Fix speed detection on EHCI cntr with root hub transaction translators

This patch fixes an issue that the speed of USB devices was not detected
correctly on some EHCI controllers. This will be used on the upcoming VCT
EHCI support.

Signed-off-by: Stefan Roese <sr@denx.de>
Signed-off-by: Remy Bohmer <linux@bohmer.net>
15 years agousb : musb : Enabling USB MSC support for DM6446 (TI DaVinci) platform
Thomas Abraham [Sun, 4 Jan 2009 04:11:20 +0000 (09:41 +0530)]
usb : musb : Enabling USB MSC support for DM6446 (TI DaVinci) platform

Enabling USB MSC support for DM6446 (TI DaVinci) platform in the
configuration file.

Signed-off-by: Ravi Babu <ravibabu@ti.com>
Signed-off-by: Swaminathan S <swami.iyer@ti.com>
Signed-off-by: Thomas Abraham <t-abraham@ti.com>
Signed-off-by: Ajay Kumar Gupta <ajay.gupta@ti.com>
Signed-off-by: Remy Bohmer <linux@bohmer.net>
15 years agousb : musb : Enabling DM6446 (TI DaVinci) USB module power
Thomas Abraham [Sun, 4 Jan 2009 04:11:16 +0000 (09:41 +0530)]
usb : musb : Enabling DM6446 (TI DaVinci) USB module power

Enabling DM6446 (TI DaVinci) USB module power and MUSB low-level
controller hook up to USB core layer.

Signed-off-by: Ravi Babu <ravibabu@ti.com>
Signed-off-by: Swaminathan S <swami.iyer@ti.com>
Signed-off-by: Thomas Abraham <t-abraham@ti.com>
Signed-off-by: Ajay Kumar Gupta <ajay.gupta@ti.com>
Signed-off-by: Remy Bohmer <linux@bohmer.net>
15 years agousb : musb : Adding DM6446 (TI DaVinci) platform specific USB support
Thomas Abraham [Sun, 4 Jan 2009 04:11:13 +0000 (09:41 +0530)]
usb : musb : Adding DM6446 (TI DaVinci) platform specific USB support

Adding DM6446 (TI DaVinci) platform specific USB functionality for
USB Phy and VBUS initialization.

Signed-off-by: Ravi Babu <ravibabu@ti.com>
Signed-off-by: Swaminathan S <swami.iyer@ti.com>
Signed-off-by: Thomas Abraham <t-abraham@ti.com>
Signed-off-by: Ajay Kumar Gupta <ajay.gupta@ti.com>
Signed-off-by: Remy Bohmer <linux@bohmer.net>
15 years agousb : musb : Adding USB VBUS enable functionality for DM644x DVEVM
Thomas Abraham [Sun, 4 Jan 2009 04:11:09 +0000 (09:41 +0530)]
usb : musb : Adding USB VBUS enable functionality for DM644x DVEVM

Adding USB VBUS enable functionality for DM644x DVEVM (TI DaVinci)
platform.

Signed-off-by: Ravi Babu <ravibabu@ti.com>
Signed-off-by: Swaminathan S <swami.iyer@ti.com>
Signed-off-by: Thomas Abraham <t-abraham@ti.com>
Signed-off-by: Ajay Kumar Gupta <ajay.gupta@ti.com>
Signed-off-by: Remy Bohmer <linux@bohmer.net>
15 years agousb : musb : Adding host controller driver for Mentor USB controller
Thomas Abraham [Sun, 4 Jan 2009 04:11:03 +0000 (09:41 +0530)]
usb : musb : Adding host controller driver for Mentor USB controller

Adding Mentor USB core functionality and Mentor USB Host controller
functionality for Mentor USB OTG controller (musbhdrc).

Signed-off-by: Ravi Babu <ravibabu@ti.com>
Signed-off-by: Swaminathan S <swami.iyer@ti.com>
Signed-off-by: Thomas Abraham <t-abraham@ti.com>
Signed-off-by: Ajay Kumar Gupta <ajay.gupta@ti.com>
Signed-off-by: Remy Bohmer <linux@bohmer.net>
15 years agousb.h: use standard __LITTLE_ENDIAN from Linux headers
Mike Frysinger [Thu, 1 Jan 2009 23:27:27 +0000 (18:27 -0500)]
usb.h: use standard __LITTLE_ENDIAN from Linux headers

Rather than forcing people to define a custom "LITTLEENDIAN", just use the
__LITTLE_ENDIAN one from the Linux byteorder headers that every arch is
already setting up.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Remy Bohmer <linux@bohmer.net>
15 years agoUSB ehci ixp4xx support
Michael Trimarchi [Wed, 31 Dec 2008 09:33:56 +0000 (10:33 +0100)]
USB ehci ixp4xx support

Add USB ehci ixp4xx host controller. Test on ixdp465 board.

Signed-off-by: Michael Trimarchi <trimarchimichael@yahoo.it>
Signed-off-by: Remy Bohmer <linux@bohmer.net>
15 years agoUSB ehci remove infinite loop and use handshake function
Michael Trimarchi [Wed, 31 Dec 2008 09:33:22 +0000 (10:33 +0100)]
USB ehci remove infinite loop and use handshake function

USB ehci code cleanup. Use handshake instead of infinite while loop
to check the STD_ASS status

Signed-off-by: Michael Trimarchi <trimarchimichael@yahoo.it>
Signed-off-by: Remy Bohmer <linux@bohmer.net>
15 years agoAdd initial support for USB ehci pci
Michael Trimarchi [Wed, 31 Dec 2008 09:32:41 +0000 (10:32 +0100)]
Add initial support for USB ehci pci

Add USB ehci pci support. This patch doesn't include any
pci_ids and it is not tested on real hardware.

Signed-off-by: Michael Trimarchi <trimarchimichael@yahoo.it>
Signed-off-by: Remy Bohmer <linux@bohmer.net>