summaryrefslogtreecommitdiff
path: root/board/bf537-stamp
Commit message (Collapse)AuthorAgeLines
* Blackfin: bf537-stamp: split CF/IDE code out into dedicated cf-ide.cMike Frysinger2009-04-02-54/+70
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Blackfin: bf537-stamp: split post code out into dedicated post.cMike Frysinger2009-03-24-237/+245
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Blackfin: add support for S25FL128 partsMike Frysinger2009-03-24-38/+47
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Blackfin: overhaul SPI flash handling to speed things upMike Frysinger2009-03-24-6/+126
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Blackfin: add support for SST SPI flashesMike Frysinger2009-03-24-29/+78
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Blackfin: add hack for crappy m25p80Mike Frysinger2009-03-24-0/+7
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Blackfin: bf537-stamp: rewrite MAC-in-flash handlingMike Frysinger2009-03-24-23/+56
| | | | | | | Use the common net eth functions to setup the env/global data with the MAC address, and properly handle the case where CONFIG_SYS_NO_FLASH is defined. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Blackfin: kill off LDR jump blockMike Frysinger2009-03-23-3/+2
| | | | | | | The Boot ROM uses EVT1 as the entry point so set that rather than having to use a tiny jump block in the default EVT1 location. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Blackfin: bf537-stamp: move CONFIG_POST handling to COBJS-$(...)Mike Frysinger2009-03-23-4/+2
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Blackfin: move default boot SPI CS to common codeMike Frysinger2009-02-05-7/+1
| | | | | | | 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>
* Blackfin: add port muxing for BF51x SPIMike Frysinger2009-02-02-9/+11
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Merge branch 'master' of git://git.denx.de/u-boot-netWolfgang Denk2009-02-01-16/+0
|\
| * Move is_valid_ether_addr() to include/net.hMike Frysinger2009-01-28-16/+0
| | | | | | | | | | | | | | 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>
* | Blackfin: fixup misc warnings such as printf's and missing castsMike Frysinger2009-01-28-2/+2
| | | | | | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* | Blackfin: convert old boards to use COBJS-y Makefile styleMike Frysinger2009-01-28-7/+6
| | | | | | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* | Blackfin: set default boot SPI CS for BF538/BF539Mike Frysinger2009-01-28-2/+2
| | | | | | | | | | | | | | The BF538/BF539 use CS2 for booting off of rather than CS1 like newer Blackfin parts. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* | Blackfin: tighten up post memory coding styleMike Frysinger2009-01-28-12/+11
| | | | | | | | | | | | No functional changes here; just cleanup code style a bit. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* | Blackfin: bf537-stamp nand: fix more style errors in previous commitMike Frysinger2009-01-28-3/+3
| | | | | | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* | Blackfin: drop dead/wrong debug code in initdram()Mike Frysinger2009-01-28-13/+1
| | | | | | | | | | | | | | The DEBUG code in initdram() is quite old and was never really useful, so just drop it altogether. Common Blackfin debug code does a better job. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* | Command usage cleanupPeter Tyser2009-01-28-1/+1
|/ | | | | | | | Remove command name from all command "usage" fields and update common/command.c to display "name - usage" instead of just "usage". Also remove newlines from command usage fields. Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
* bf537-stamp/nand: fix board_nand_init prototypeMike Frysinger2009-01-07-1/+3
| | | | | | The board_nand_init() function should return an int, not void. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Blackfin: fix out-of-tree building with ldscriptsMike Frysinger2009-01-07-4/+5
| | | | | | | Many of the Blackfin board linker scripts are preprocessed, so make sure we output the linker script into the build tree rather than the source tree. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Blackfin: fix linker scripts to work with --gc-sectionsMike Frysinger2009-01-07-8/+11
| | | | | | | Make sure all .text sections get pulled in and the entry point is properly referenced so they don't get discarded when linking with --gc-sections. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Blackfin: set proper LDRFLAGS for parallel booting LDRsMike Frysinger2009-01-07-1/+4
| | | | | | | In order to boot an LDR out of parallel flash, the ldr utility needs a few flags to tell it to generate the right header. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Blackfin: linker scripts: force start.o and set initcode boundariesMike Frysinger2008-10-23-1/+6
| | | | | | | | Make sure that the start.o object is always the first object in our linker script regardless of configuration settings, and add some linker symbols so the ldr utility can properly locate the initcode when generating a LDR. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Cleanup: fix "MHz" spellingWolfgang Denk2008-10-21-12/+12
| | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
* rename CFG_ macros to CONFIG_SYSJean-Christophe PLAGNIOL-VILLARD2008-10-18-18/+18
| | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* rename environment.c in env_embedded.c to reflect is functionalityJean-Christophe PLAGNIOL-VILLARD2008-09-10-1/+1
| | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* Introduce netdev.h header file and remove externsBen Warren2008-09-02-2/+1
| | | | | | | This addresses all drivers whose initializers have already been moved to board_eth_init()/cpu_eth_init(). Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
* Moved initialization of Blackfin EMAC Ethernet controller to board_eth_init()Ben Warren2008-08-26-0/+10
| | | | | | | Added board_eth_init() function to bf537-stamp board. Removed initialization for the Blackin EMAC driver from net/eth.c Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
* Fixing coding style issuesWilliam Juul2008-08-12-1/+1
| | | | | | | | | - Fixing leading white spaces - Fixing indentation where 4 spaces are used instead of tab - Removing C++ comments (//), wherever I introduced them Signed-off-by: William Juul <william.juul@tandberg.com> Signed-off-by: Scott Wood <scottwood@freescale.com>
* Remove white space at end.William Juul2008-08-12-2/+2
| | | | | Signed-off-by: William Juul <william.juul@tandberg.com> Signed-off-by: Scott Wood <scottwood@freescale.com>
* Update MTD to that of Linux 2.6.22.1William Juul2008-08-12-24/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A lot changed in the Linux MTD code, since it was last ported from Linux to U-Boot. This patch takes U-Boot NAND support to the level of Linux 2.6.22.1 and will enable support for very large NAND devices (4KB pages) and ease the compatibility between U-Boot and Linux filesystems. This patch is tested on two custom boards with PPC and ARM processors running YAFFS in U-Boot and Linux using gcc-4.1.2 cross compilers. MAKEALL ppc/arm has some issues: * DOC/OneNand/nand_spl is not building (I have not tried porting these parts, and since I do not have any HW and I am not familiar with this code/HW I think its best left to someone else.) Except for the issues mentioned above, I have ported all drivers necessary to run MAKEALL ppc/arm without errors and warnings. Many drivers were trivial to port, but some were not so trivial. The following drivers must be examined carefully and maybe rewritten to some degree: cpu/ppc4xx/ndfc.c cpu/arm926ejs/davinci/nand.c board/delta/nand.c board/zylonite/nand.c Signed-off-by: William Juul <william.juul@tandberg.com> Signed-off-by: Stig Olsen <stig.olsen@tandberg.com> Signed-off-by: Scott Wood <scottwood@freescale.com>
* Cleanup out-or-tree building for some boards (.depend)Wolfgang Denk2008-07-02-1/+1
| | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
* Change initdram() return type to phys_size_tBecky Bruce2008-06-12-1/+1
| | | | | | | | | | | | | | | | | | | This patch changes the return type of initdram() from long int to phys_size_t. This is required for a couple of reasons: long int limits the amount of dram to 2GB, and u-boot in general is moving over to phys_size_t to represent the size of physical memory. phys_size_t is defined as an unsigned long on almost all current platforms. This patch *only* changes the return type of the initdram function (in include/common.h, as well as in each board's implementation of initdram). It does not actually modify the code inside the function on any of the platforms; platforms which wish to support more than 2GB of DRAM will need to modify their initdram() function code. Build tested with MAKEALL for ppc, arm, mips, mips-el. Booted on powerpc MPC8641HPCN. Signed-off-by: Becky Bruce <becky.bruce@freescale.com>
* Blackfin: unify cpu and boot modesMike Frysinger2008-03-30-172/+111
| | | | | | | | All of the duplicated code for Blackfin processors and boot modes have been unified. After all, the core is the same for all processors, just the peripheral set differs (which gets handled in the drivers). Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Blackfin: BF537-stamp: cleanup spi flash driverMike Frysinger2008-03-30-517/+816
| | | | | | | This punts the old spi flash driver for a new/generalized one until the common one can be integrated. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* net/Blackfin: move on-chip MAC driver into drivers/net/Mike Frysinger2008-03-25-621/+1
| | | | | | | | The Blackfin on-chip MAC driver was being managed in the BF537-STAMP board directory, but it is not board specific, so relocate it to the drivers dir so that other Blackfin ports can utilize it. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Blackfin: BF537-stamp: drop board-specific flash driver for CFIMike Frysinger2008-03-15-527/+1
| | | | | | | The parallel flash on the BF537-STAMP is CFI compliant, so there is no need for the board specific driver at all. Just use the common CFI driver. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Blackfin: convert BFIN_CPU to CONFIG_BFIN_CPUMike Frysinger2008-03-15-11/+0
| | | | | | | | Stop tying things to the processor that should be tied to other defines and change BFIN_CPU to CONFIG_BFIN_CPU so that it can be used in the build system to select the -mcpu option. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Blackfin: move bootldr command to common codeMike Frysinger2008-03-15-45/+0
| | | | | | | | This moves the Blackfin-common bootldr command out of the BF537-STAMP specific board directory and into the common directory so that all Blackfin boards may utilize it. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* punt Blackfin VDSP headers and import sanitized/auto-generated onesMike Frysinger2008-02-04-38/+44
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* add gitignores for Blackfin piecesMike Frysinger2008-02-04-0/+1
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* bf537-stamp: remove already defined is_zero_ether_addr and ↵Jean-Christophe PLAGNIOL-VILLARD2008-01-16-39/+17
| | | | | | | | | is_multicast_ether_addr and move is_valid_ether_addr board file Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
* Fix cases where DECLARE_GLOBAL_DATA_PTR was not declared as globalWolfgang Denk2007-09-15-1/+2
| | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
* board/[A-Za-i]*: Remove lingering references to CFG_CMD_* symbols.Jon Loeliger2007-07-10-1/+1
| | | | | | | | Fixed some broken instances of "#ifdef CMD_CFG_IDE" too. Those always evaluated TRUE, and thus were always compiled even when IDE really wasn't defined/wanted. Signed-off-by: Jon Loeliger <jdl@freescale.com>
* board/[A-Za-c]*: Remove obsolete references to CONFIG_COMMANDSJon Loeliger2007-07-09-5/+5
| | | | Signed-off-by: Jon Loeliger <jdl@freescale.com>
* board/[Ma-i]*: Augment CONFIG_COMMANDS tests with defined(CONFIG_CMD_*).Jon Loeliger2007-07-04-3/+3
| | | | | | | | | | | | | | This is a compatibility step that allows both the older form and the new form to co-exist for a while until the older can be removed entirely. All transformations are of the form: Before: #if (CONFIG_COMMANDS & CFG_CMD_AUTOSCRIPT) After: #if (CONFIG_COMMANDS & CFG_CMD_AUTOSCRIPT) || defined(CONFIG_CMD_AUTOSCRIPT) Signed-off-by: Jon Loeliger <jdl@freescale.com>
* Coding stylke cleanup; rebuild CHANGELOGWolfgang Denk2007-06-22-11/+11
|
* [Blackfin][PATCH] Fix copyright and update licenseAubrey Li2007-04-05-9/+9
|