summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-02-06Coldfire: Fix half-baud UART by adding M5271 to Coldfire v2 core listRichard Retanubun
Added the CONFIG_M5271 to the list of Coldfire V2 processor. This was causing the bus clock (not CPU clock) to be declared twice as fast as it actually is. This causes UARTS to operate at half the specified baudrate. Signed-off-by: Richard Retanubun <RichardRetanubun@RuggedCom.com>
2009-02-03Merge branch 'master' of git://git.denx.de/u-boot-usbWolfgang Denk
2009-02-02Compile warning fix in onenand_uboot.hRemy Bohmer
Regression since merge window after 2009.01 Signed-off-by: Remy Bohmer <linux@bohmer.net>
2009-02-02USB: Add EHCI support for VCT EHCI controller (really with driver now)Stefan Roese
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>
2009-02-02Blackfin: add driver for on-chip MMC/SD controllerCliff Cai
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>
2009-02-02Blackfin: add port muxing for BF51x SPIMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-02-02Blackfin: output booting source when bootingMike Frysinger
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>
2009-02-02Blackfin: set default CONFIG_ENV_SPI_CS based on bootromMike Frysinger
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>
2009-02-02Blackfin: update asm-blackfin/posix_types.h to latest Linux versionMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-02-02Blackfin: add port I bitsMike Frysinger
Some people need to access port I, so make sure the pins are defined. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-02-02Blackfin: add driver for on-chip ATAPI controllerSonic Zhang
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>
2009-02-02Blackfin: add driver for on-chip NAND controllerMike Frysinger
This is a port of the Linux Blackfin on-chip NFC driver to U-Boot. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-02-02Blackfin: build with -mno-fdpicMike Frysinger
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>
2009-02-02Blackfin: fix up EBIU definesMike Frysinger
The EBIU defines for EBSZ 256/512 were incorrect. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-02-02Blackfin: use 8/16/32 bit transfer widths in dma_memcpy()Mike Frysinger
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>
2009-02-02Blackfin: only flag L1 instruction for DMA memcpyMike Frysinger
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>
2009-02-02Blackfin: dma_memcpy(): fix random failuresMike Frysinger
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>
2009-02-02Blackfin: rewrite cache handling functionsMike Frysinger
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>
2009-02-02Blackfin: setup bi_enetaddr for single netsMike Frysinger
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>
2009-02-02Blackfin: cache core/system clock valuesMike Frysinger
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>
2009-02-02Blackfin: enable --gc-sectionsMike Frysinger
Start building all Blackfin boards with -ffunction-sections/-fdata-sections and linking with --gc-sections. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-02-02Blackfin: dont check baud if it wont actually get usedMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-02-02Blackfin: add driver for on-chip SPI controllerMike Frysinger
This fills out the SPI backend for the Blackfin on-chip SPI peripheral. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-02-02Blackfin: only build post code when CONFIG_POSTMike Frysinger
Save some time by using CONFIG_POST in the Makefile rather than C files. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-02-02Blackfin: bfin_mac: cleanup pointer/casts for aliasing issuesMike Frysinger
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>
2009-02-02Blackfin: bfin_mac: convert CONFIG_BFIN_MAC_RMII to CONFIG_RMIIMike Frysinger
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>
2009-02-02Blackfin: bfin_mac: use common debug()Mike Frysinger
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>
2009-02-02Blackfin: bfin_mac: respect CONFIG_PHY_{ADDR,CLOCK_FREQ}Mike Frysinger
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>
2009-02-02Blackfin: bfin_mac: cleanup MII/PHY functionsMike Frysinger
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>
2009-02-02Blackfin: bfin_mac: set MDCDIV based on SCLKMike Frysinger
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>
2009-02-01Merge branch 'master' of git://git.denx.de/u-boot-armWolfgang Denk
2009-02-01Merge branch 'master' of git://git.denx.de/u-boot-netWolfgang Denk
2009-02-01Merge branch 'master' of git://git.denx.de/u-boot-ixpWolfgang Denk
2009-01-31ixp: move serial to drivers/serialJean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2009-01-31ixp: move pci init in arm/board instead of cpuJean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2009-01-31ixp: move pci drivers to drivers/pciJean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2009-01-31ixp: Move conditional compilation to MakefileJean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2009-01-31ixp: add missing os defineJean-Christophe PLAGNIOL-VILLARD
need by arm-elf toolchains and no impact on the arm-linux one Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2009-01-31ixp: remove the option to include the MicrocodeJean-Christophe PLAGNIOL-VILLARD
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>
2009-01-30ixp/npe: Move conditional compilation to MakefileJean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2009-01-29SX1: add hardware V2 supportJean-Christophe PLAGNIOL-VILLARD
In the V2 the 2 flash has been replace by one 32MB flash Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2009-01-29SX1: Fix second flash mappingJean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2009-01-29SX1: add CONFIG_STDOUT_USBTTY to enable preboot stdout redirect to usbttyJean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2009-01-29move Samsung's board to board/samsungJean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2009-01-29move ARM Ltd. to vendor dirJean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2009-01-29ppc4xx: Clean up configuration file for Korat boardLarry Johnson
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>
2009-01-29ppc4xx: Add variable "korat_usbcf" for Korat boardLarry Johnson
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>
2009-01-29AVR32: macb - Search for PHY idGunnar Rangoy
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>
2009-01-29Fix IP alignment problemOlav Morken
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>
2009-01-29Marvell 88E1118 interrupt fixRon Madrid
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>