summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeLines
* Blackfin: use 8/16/32 bit transfer widths in dma_memcpy()Mike Frysinger2009-02-02-4/+19
| | | | | | | 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>
* Blackfin: only flag L1 instruction for DMA memcpyMike Frysinger2009-02-02-10/+4
| | | | | | | | | 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>
* Blackfin: dma_memcpy(): fix random failuresMike Frysinger2009-02-02-8/+11
| | | | | | | | 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>
* Blackfin: rewrite cache handling functionsMike Frysinger2009-02-02-50/+90
| | | | | | | 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>
* Blackfin: setup bi_enetaddr for single netsMike Frysinger2009-02-02-1/+10
| | | | | | | 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>
* Blackfin: cache core/system clock valuesMike Frysinger2009-02-02-44/+80
| | | | | | | | 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>
* Blackfin: enable --gc-sectionsMike Frysinger2009-02-02-0/+4
| | | | | | | Start building all Blackfin boards with -ffunction-sections/-fdata-sections and linking with --gc-sections. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Blackfin: dont check baud if it wont actually get usedMike Frysinger2009-02-02-1/+5
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Blackfin: add driver for on-chip SPI controllerMike Frysinger2009-02-02-0/+344
| | | | | | This fills out the SPI backend for the Blackfin on-chip SPI peripheral. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Blackfin: only build post code when CONFIG_POSTMike Frysinger2009-02-02-9/+1
| | | | | | Save some time by using CONFIG_POST in the Makefile rather than C files. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Blackfin: bfin_mac: cleanup pointer/casts for aliasing issuesMike Frysinger2009-02-02-46/+34
| | | | | | | | 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>
* Blackfin: bfin_mac: convert CONFIG_BFIN_MAC_RMII to CONFIG_RMIIMike Frysinger2009-02-02-2/+2
| | | | | | | | 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>
* Blackfin: bfin_mac: use common debug()Mike Frysinger2009-02-02-11/+3
| | | | | | | 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>
* Blackfin: bfin_mac: respect CONFIG_PHY_{ADDR,CLOCK_FREQ}Mike Frysinger2009-02-02-5/+11
| | | | | | | | 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>
* Blackfin: bfin_mac: cleanup MII/PHY functionsMike Frysinger2009-02-02-175/+134
| | | | | | | | 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>
* Blackfin: bfin_mac: set MDCDIV based on SCLKMike Frysinger2009-02-02-5/+5
| | | | | | | | 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>
* Merge branch 'master' of git://git.denx.de/u-boot-armWolfgang Denk2009-02-01-28/+12041
|\
| * SX1: add hardware V2 supportJean-Christophe PLAGNIOL-VILLARD2009-01-29-2/+6
| | | | | | | | | | | | In the V2 the 2 flash has been replace by one 32MB flash Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
| * SX1: Fix second flash mappingJean-Christophe PLAGNIOL-VILLARD2009-01-29-1/+1
| | | | | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
| * SX1: add CONFIG_STDOUT_USBTTY to enable preboot stdout redirect to usbttyJean-Christophe PLAGNIOL-VILLARD2009-01-29-2/+13
| | | | | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
| * move Samsung's board to board/samsungJean-Christophe PLAGNIOL-VILLARD2009-01-29-2/+2
| | | | | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
| * move ARM Ltd. to vendor dirJean-Christophe PLAGNIOL-VILLARD2009-01-29-10/+12
| | | | | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
| * OMAP3: Add Zoom1 board supportDirk Behme2009-01-28-2/+705
| | | | | | | | | | | | | | | | 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>
| * OMAP3: Add Pandora supportDirk Behme2009-01-28-2/+999
| | | | | | | | | | | | | | | | 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>
| * OMAP3: Add EVM boardDirk Behme2009-01-28-2/+1028
| | | | | | | | | | | | | | | | 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>
| * OMAP3: Add Overo boardDirk Behme2009-01-28-2/+949
| | | | | | | | | | | | | | | | 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>
| * OMAP3: Add common power code, README, and BeagleBoardDirk Behme2009-01-28-10/+1161
| | | | | | | | | | | | | | 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>
| * Initial support for Nomadik 8815 development boardAlessandro Rubini2009-01-24-0/+1026
| | | | | | | | | | | | | | | | | | | | | | | | | | The NMDK8815 board is distributed by ST Microelectornics. Other (proprietary) code must be run to unlock the CPU before U-Boot runs. doc/README.nmdk8815 outlines the boot sequence. This is the initial port, with basic infrastructure and a working serial port. Signed-off-by: Alessandro Rubini <rubini@unipv.it> Acked-by: Andrea Gallo <andrea.gallo@stnwireless.com> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
| * OMAP3: Add I2C supportDirk Behme2009-01-24-0/+152
| | | | | | | | | | | | Add I2C support. Signed-off-by: Dirk Behme <dirk.behme@googlemail.com>
| * OMAP3: Add MMC supportDirk Behme2009-01-24-0/+960
| | | | | | | | | | | | Add MMC support. Signed-off-by: Dirk Behme <dirk.behme@googlemail.com>
| * OMAP3: Add NAND supportDirk Behme2009-01-24-0/+354
| | | | | | | | | | | | | | | | Add NAND support. Signed-off-by: Nishanth Menon <nm@ti.com> Signed-off-by: Syed Mohammed Khasim <khasim@ti.com> Signed-off-by: Dirk Behme <dirk.behme@googlemail.com>
| * OMAP3: Add common board, interrupt and system infoDirk Behme2009-01-24-0/+899
| | | | | | | | | | | | Add common board, interrupt and system info code. Signed-off-by: Dirk Behme <dirk.behme@googlemail.com>
| * OMAP3: Add common clock, memory and low level codeDirk Behme2009-01-24-0/+1098
| | | | | | | | | | | | Add common clock, memory and low level code Signed-off-by: Dirk Behme <dirk.behme@googlemail.com>
| * OMAP3: Add common cpu and start codeDirk Behme2009-01-24-0/+922
| | | | | | | | | | | | Add common cpu and start code. Signed-off-by: Dirk Behme <dirk.behme@googlemail.com>
| * OMAP3: Add OMAP3, memory and function prototype headersDirk Behme2009-01-24-0/+662
| | | | | | | | | | | | Add OMAP3, memory and function prototype header files for OMAP3. Signed-off-by: Dirk Behme <dirk.behme@googlemail.com>
| * OMAP3: Add pin mux, clock and cpu headersDirk Behme2009-01-24-0/+1099
| | | | | | | | | | | | Add pin mux, clock and cpu header files for OMAP3. Signed-off-by: Dirk Behme <dirk.behme@googlemail.com>
| * bugfix for i.mx31 CCM_UPCTL regMaxim Artamonov2009-01-24-1/+1
| | | | | | | | Signed-off-by: Maxim Artamonov <scn1874 at yandex.ru>
* | Merge branch 'master' of git://git.denx.de/u-boot-netWolfgang Denk2009-02-01-202/+446
|\ \
| * | AVR32: macb - Search for PHY idGunnar Rangoy2009-01-28-0/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
| * | Fix IP alignment problemOlav Morken2009-01-28-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
| * | Marvell 88E1118 interrupt fixRon Madrid2009-01-28-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | 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>
| * | net: smc911x.c: Add LAN9211 to chip_ids[] arrayStefan Roese2009-01-28-0/+2
| | | | | | | | | | | | | | | Signed-off-by: Stefan Roese <sr@denx.de> Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
| * | Move is_valid_ether_addr() to include/net.hMike Frysinger2009-01-28-16/+16
| | | | | | | | | | | | | | | | | | | | | 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>
| * | net: Sort Makefile labelsMichal Simek2009-01-28-2/+2
| | | | | | | | | | | | | | | Signed-off-by: Michal Simek <monstr@monstr.eu> Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
| * | sh: sh7763rdp: Update sh7763rdp configNobuhiro Iwamatsu2009-01-24-0/+1
| | | | | | | | | | | | | | | | | | | | | Add CONFIG_NET_MULTI in config file, because sh_eth changed new newwork API. Signed-off-by: Nobuhiro Iwamatsu <iwamatsu.nobuhiro@renesas.com> Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
| * | mgcoge make ether_scc.c work with CONFIG_NET_MULTIGary Jennejohn2009-01-24-12/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change is needed for mgcoge because it uses two ethernet drivers. Add a check for the presence of the PIGGY board on mgcoge. Without this board networking cannot work and the initialization must be aborted. Only allocate rtx once to prevent DPRAM exhaustion. Initialize ether_scc.c and the keymile-specific HDLC driver (to be added soon) in eth.c. Signed-off-by: Gary Jennejohn <garyj@denx.de> Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
| * | sh: sh_eth: Change new network APINobuhiro Iwamatsu2009-01-24-134/+240
| | | | | | | | | | | | | | | | | | | | | sh_eth used old network API. This patch changed new API. Signed-off-by: Nobuhiro Iwamatsu <iwamatsu.nobuhiro@renesas.com> Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
| * | net: smc911x: Make register read/write functions weakStefan Roese2009-01-24-37/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch changes the reg_read/_write to smc911x_reg_read/_write and defines then as weak so that they can be overridden by board specific version. This will be used by the upcoming VCTH board support. Signed-off-by: Stefan Roese <sr@denx.de> Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
| * | powerpc: net: support for the SMSC LAN8700 PHYHeiko Schocher2009-01-24-0/+59
| | | | | | | | | | | | | | | Signed-off-by: Heiko Schocher <hs@denx.de> Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
| * | Merge git://git.denx.de/u-boot into u-bootBen Warren2009-01-24-3912/+15335
| |\ \ | | |/