summaryrefslogtreecommitdiff
path: root/board
Commit message (Collapse)AuthorAgeLines
* Clean up usage of icache_disable/dcache_disableKumar Gala2008-08-19-18/+0
| | | | | | | | | | | | There is no point in disabling the icache on 7xx/74xx/86xx parts and not also flushing the icache. All callers of invalidate_l1_instruction_cache() call icache_disable() right after. Make it so icache_disable() calls invalidate_l1_instruction_cache() for us. Also, dcache_disable() already calls dcache_flush() so there is no point in the explicit calls of dcache_flush(). Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
* ColdFire: Multiple fixes for M5282EVBTsiChung Liew2008-08-14-2/+8
| | | | | | | | | Incorrect CFG_HZ value, change 1000000 to 1000. Rename #waring to #warning. RAMBAR1 uses twice in start.S, rename the later to FLASHBAR. Insert nop for DRAM setup. And, env_offset in linker file. Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
* ColdFire: Move m5282evb from board to board/freescaleTsiChung Liew2008-08-14-0/+0
| | | | Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
* ColdFire: Move m5272c3 from board to board/freescaleTsiChung Liew2008-08-14-0/+0
| | | | Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
* ColdFire: Move m5271evb from board to board/freescaleTsiChung Liew2008-08-14-0/+0
| | | | Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
* ColdFire: Add M54451EVB platform support for MCF5445xTsiChung Liew2008-08-14-0/+774
| | | | Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
* ColdFire: Implement SBF feature for M5445EVBTsiChung Liew2008-08-14-3/+147
| | | | Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
* ColdFire: Use CFI Flash driver for M54455EVBTsiChung Liew2008-08-14-1289/+52
| | | | | | | | | Remove non-common flash driver in board/freescale/m54455evb/flash.c. The non-cfi flash will use CONFIG_FLASH_CFI_LEGACY to configure the flash attribute. Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
* ColdFire: Add M5253DEMO platform support for MCF5253TsiChung Liew2008-08-14-0/+820
| | | | Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
* ColdFire: Fix M5253EVB dram bring up issueTsiChung Liew2008-08-14-4/+9
| | | | Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
* Merge branch 'master' of git://git.denx.de/u-boot-nand-flashWolfgang Denk2008-08-14-216/+153
|\
| * socrates: Update NAND driver to new API.Scott Wood2008-08-13-52/+32
| | | | | | | | | | | | | | Also, fix some minor formatting issues, and simplify the handling of "state" for writes. Signed-off-by: Scott Wood <scottwood@freescale.com>
| * quad100hd: Update NAND driver to new API.Scott Wood2008-08-13-23/+13
| | | | | | | | Signed-off-by: Scott Wood <scottwood@freescale.com>
| * m5373evb: Update NAND driver to new API.Scott Wood2008-08-13-46/+18
| | | | | | | | Signed-off-by: Scott Wood <scottwood@freescale.com>
| * at91: Update board NAND drivers to current API.Scott Wood2008-08-13-95/+90
| | | | | | | | Signed-off-by: Scott Wood <scottwood@freescale.com>
* | Merge branch 'Makefile' of git://git.denx.de/u-boot-armWolfgang Denk2008-08-13-19/+19
|\ \
| * | drivers/mtd/nand: Move conditional compilation to MakefileJean-Christophe PLAGNIOL-VILLARD2008-08-13-8/+8
| | | | | | | | | | | | | | | | | | rename CFG_NAND_LEGACY to CONFIG_NAND_LEGACY Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
| * | drivers/mtd: Move conditional compilation to MakefileJean-Christophe PLAGNIOL-VILLARD2008-08-13-6/+6
| | | | | | | | | | | | | | | | | | rename CFG_FLASH_CFI_DRIVER to CONFIG_FLASH_CFI_DRIVER Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
| * | mx31: move freescale's mx31 boards to vendor board dirJean-Christophe PLAGNIOL-VILLARD2008-08-13-5/+5
| |/ | | | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* | Merge branch 'master' of /home/stefan/git/u-boot/u-bootStefan Roese2008-08-13-328/+257
|\ \ | |/
| * NAND boot: MPC8313ERDB supportScott Wood2008-08-12-1/+42
| | | | | | | | | | | | | | | | | | Note that with older board revisions, NAND boot may only work after a power-on reset, and not after a warm reset. I don't have a newer board to test on; if you have a board with a 33MHz crystal, please let me know if it works after a warm reset. Signed-off-by: Scott Wood <scottwood@freescale.com>
| * Fixing coding style issuesWilliam Juul2008-08-12-19/+19
| | | | | | | | | | | | | | | | | | - 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-8/+8
| | | | | | | | | | 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-328/+216
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | Merge branch 'master' of /home/stefan/git/u-boot/u-boot into nextStefan Roese2008-08-12-395/+155
|\ \ | |/
| * Merge branch 'master' of git://www.denx.de/git/u-boot-armWolfgang Denk2008-08-12-18/+18
| |\
| | * i.MX31: Fix mx31_gpio_mux() function and MUX_-macros.Magnus Lilja2008-08-11-14/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Correct the mx31_gpio_mux() function to allow changing all i.MX31 IOMUX contacts instead of only the first 256 ones as is the case prior to this patch. Add missing MUX_* macros and update board files to use the new macros. Signed-off-by: Magnus Lilja <lilja.magnus@gmail.com>
| | * i.MX31: Fix IOMUX related typosMagnus Lilja2008-08-11-4/+4
| | | | | | | | | | | | | | | | | | Correct the names of some IOMUX macros. Signed-off-by: Magnus Lilja <lilja.magnus@gmail.com>
| * | Merge branch 'master' of /home/stefan/git/u-boot/u-bootStefan Roese2008-08-11-377/+132
| |\ \
| | * | mpc85xx: workaround old binutils bugKumar Gala2008-08-10-35/+77
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The recent change to move the .bss outside of the image gives older binutils (ld from eldk4.1/binutils-2.16) some headache: ppc_85xx-ld: u-boot: Not enough room for program headers (allocated 3, need 4) ppc_85xx-ld: final link failed: Bad value We workaround it by being explicit about the program headers and not assigning the .bss to a program header. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
| | * | mpc5121: Move iopin features from board specific to common files.Kenneth Johansson2008-08-05-342/+55
| | |/ | | | | | | | | | | | | | | | And in the process eliminate some duplicate register defines. Signed-off-by: Kenneth Johansson <kenneth@southpole.se>
| * | ppc4xx: Sequoia has two UARTs in "4-pin" mode. Configure the GPIOs as per ↵Steven A. Falco2008-08-07-0/+5
| |/ | | | | | | | | | | | | | | | | | | | | schematic. The Sequoia board has two UARTs in "4-pin" mode. This patch modifies the GPIO configuration to match the schematic, and also sets the SDR0_PFC1 register to select the corresponding mode for the UARTs. Signed-off-by: Steven A. Falco <sfalco@harris.com> Signed-off-by: Stefan Roese <sr@denx.de>
| * Fix compilation error for TASREGTsiChung Liew2008-08-01-0/+2
| | | | | | | | | | | | | | TASREG is ColdFire platform, the include ppc4xx.h in board/esd/common/flash.c causes conflict. Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
| * Fix compilation error for MCF5275TsiChung Liew2008-08-01-1/+1
| | | | | | | | | | | | Rename OBJ to COBJ in board/platform/Makefile Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
| * Fix compile error caused by incorrect function return typeTsiChung Liew2008-08-01-1/+1
| | | | | | | | | | | | | | Rename int mii_init(void) to void mii_init(void) for idmr ColdFire platform Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
| * TQM85xx: fix typo introduce by commit ffbb5cb9Wolfgang Denk2008-07-31-1/+1
| | | | | | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
| * mvbc_p board: fix most build warnings.Wolfgang Denk2008-07-31-1/+2
| | | | | | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
| * mpc85xx: Update linker scripts for Freescale boardsKumar Gala2008-07-31-161/+108
| | | | | | | | | | | | | | | | | | | | | | | | * Move to using absolute addressing always. Makes the scripts a bit more portable and common * Moved .bss after the end of the image. These allows us to have more room in the resulting binary image for code and data. * Removed .text object files that aren't really needed * Make sure _end is 4-byte aligned as the .bss init code expects this. (Its possible that the end of .bss isn't 4-byte aligned) Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
| * ppc4xx: Fix W7OLMG compile problems by adding missing LM75 definesStefan Roese2008-07-31-0/+6
| | | | | | | | Signed-off-by: Stefan Roese <sr@denx.de>
| * Merge branch 'master' of git://git.denx.de/u-boot-avr32Wolfgang Denk2008-07-31-3/+3
| |\
| | * avr32: Fix printf() format warningsHaavard Skinnemoen2008-07-23-3/+3
| | | | | | | | | | | | Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
| * | Fix remaining CFG_CMD_ define, ifdef and commentsJean-Christophe PLAGNIOL-VILLARD2008-07-30-1/+1
| | | | | | | | | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
| * | Removed support for the adsvix board.Adrian Filipi2008-07-30-946/+0
| |/ | | | | | | | | | | | | | | Support for the adsvix was originally provided by Applied Data Systems (ADS), inc., now EuroTech, Inc. The board never shipped aside from some sample boards. Signed-off-by: Adrian Filipi <adrian.filipi@eurotech.com>
| * tqm85xx: Demystify 'DK: !!!' commentDetlev Zundel2008-07-20-1/+2
| | | | | | | | Signed-off-by: Detlev Zundel <dzu@denx.de>
* | Fix merge problemsStefan Roese2008-08-06-1115/+126
| | | | | | | | Signed-off-by: Stefan Roese <sr@denx.de>
* | ppc4xx: ML507: Environment in flash and MTD SupportRicardo Ribalda Delgado2008-07-30-1/+1
| | | | | | | | | | | | | | | | | | - Relocate the location of U-Boot in the flash - Save the environment in one sector of the flash memory - MTD Support Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@uam.es> Signed-off-by: Stefan Roese <sr@denx.de>
* | ppc4xx: ML507: Use of get_ram_size in board ml507Ricardo Ribalda Delgado2008-07-30-2/+3
| | | | | | | | | | | | | | - Change suggested by WD Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@uam.es> Signed-off-by: Stefan Roese <sr@denx.de>
* | ppc4xx: ML507: U-Boot in flash and System ACERicardo Ribalda Delgado2008-07-30-9/+167
| | | | | | | | | | | | | | | | This patch allows booting from FLASH the ML507 board by Xilinx. Previously, U-Boot needed to be loaded from JTAG or a Sytem ACE CF Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@uam.es> Signed-off-by: Stefan Roese <sr@denx.de>
* | ppc4xx: ML507 Board SupportRicardo Ribalda Delgado2008-07-18-0/+339
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Xilinx ML507 Board is a Virtex 5 prototyping board that includes, among others: -Virtex 5 FX FPGA (With a ppc440x5 in it) -256MB of SDRAM2 -32MB of Flash -I2C Eeprom -System ACE chip -Serial ATA connectors -RS232 Level Conversors -Ethernet Transceiver This patch gives support to a standard design produced by EDK for this board: ppc440, uartlite, xilinx_int and flash - Includes Changes propossed by Stefan Roese and Michal Simek Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@uam.es> Acked-by: Stefan Roese <sr@denx.de>
* | Merge branch 'master' of /home/stefan/git/u-boot/u-boot into nextStefan Roese2008-07-17-607/+1269
|\ \ | |/