summaryrefslogtreecommitdiff
path: root/board
Commit message (Collapse)AuthorAgeLines
* 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 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>
* Prepare v1.3.4-rc1: Code cleanup, update CHANGELOG, sort MakefileWolfgang Denk2008-07-15-4/+0
| | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
* Merge branch 'master' of git://git.denx.de/u-boot-mpc5xxxWolfgang Denk2008-07-15-0/+703
|\
| * mpc5xxx: Add MVBC_P board supportAndre Schwarz2008-07-15-0/+703
| | | | | | | | | | | | | | | | The MVBC_P is a MPC5200B based camera system with Intel Gigabit ethernet controller (using e1000) and custom Altera Cyclone-II FPGA on PCI. Signed-off-by: Andre Schwarz <andre.schwarz@matrix-vision.de> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
* | Merge branch 'master' of git://git.denx.de/u-boot-mpc86xxWolfgang Denk2008-07-15-206/+392
|\ \
| * | Update Freescale sys_eeprom.c to handle CCID formatsTimur Tabi2008-07-15-206/+392
| |/ | | | | | | | | | | | | | | | | | | | | | | | | Update the sys_eeprom.c file to handle both NXID and CCID EEPROM formats. The NXID format replaces the older CCID format, but it's important to support both since most boards out there still use the CCID format. This change is in preparation for using one file to handle both formats. This will also unify EEPROM support for all Freescale 85xx and 86xx boards. Also update the 86xx board header files to use the standard CFG_I2C_EEPROM_ADDR instead of ID_EEPROM_ADDR. Signed-off-by: Timur Tabi <timur@freescale.com>
* | Merge branch 'master' of git://git.denx.de/u-boot-mpc85xxWolfgang Denk2008-07-15-12/+40
|\ \
| * | MPC8544DS: Add ATI Video card supportKumar Gala2008-07-14-0/+1
| | | | | | | | | | | | | | | | | | Add support for using a PCIe ATI Video card on PCIe2. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
| * | MPC8544DS: Report board id, board version and fpga version.Kumar Gala2008-07-14-1/+4
| | | | | | | | | | | | Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
| * | sbc8560: add in ft_board_setup()Paul Gortmaker2008-07-14-0/+28
| | | | | | | | | | | | | | | | | | | | | Add in for the sbc8560, the ft_board_setup() routine, based on what is in use for the Freescale MPC8560ADS board. Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
| * | sbc8560: properly set cs0_bnds for 512MBPaul Gortmaker2008-07-14-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | The sbc8560 board ships with 512MB of memory installed, but the current cs0_bnds is hard coded for 256MB. Set the value based on CFG_SDRAM_SIZE. Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
| * | Remove LBC_CACHE_BASE from 8544 DSAndy Fleming2008-07-14-11/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The 8544 DS doesn't have any cacheable Local Bus memories set up. By mapping space for some anyway, we were allowing speculative loads into unmapped space, which would cause an exception (annoying, even if ultimately harmless). Removing LBC_CACHE_BASE, and using LBC_NONCACHE_BASE for the LBC LAW solves the problem. Signed-off-by: Andy Fleming <afleming@freescale.com>
* | | ARM DaVinci: Remove extern phy_t declaration by moving code to proper placeHugo Villeneuve2008-07-14-20/+4
| | | | | | | | | | | | | | | | | | | | | ARM DaVinci: Remove extern phy_t declaration by moving code to proper place. Signed-off-by: Hugo Villeneuve <hugo.villeneuve@lyrtech.com>
* | | ARM DaVinci: Remove duplicate definitions of MACH_TYPE and prototype of ↵Hugo Villeneuve2008-07-14-9/+0
| |/ |/| | | | | | | | | | | | | | | i2c_init() ARM DaVinci: Remove duplicate definitions of MACH_TYPE and prototype of i2c_init(). Signed-off-by: Hugo Villeneuve <hugo.villeneuve@lyrtech.com>
* | Fix coding style; make code better parsable by external toolsWolfgang Denk2008-07-14-8/+9
| | | | | | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
* | elppc board: Coding style cleanup.Wolfgang Denk2008-07-14-49/+50
| | | | | | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
* | elppc board: fix syntax error.Wolfgang Denk2008-07-14-1/+1
| | | | | | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
* | EB+MCF-EV123 board: fix coding style (alingment)Wolfgang Denk2008-07-14-43/+43
| | | | | | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
* | EB+MCF-EV123 board: fix syntx errorWolfgang Denk2008-07-14-1/+1
| | | | | | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
* | Code cleanup: fix old style assignment ambiguities like "=-" etc.Wolfgang Denk2008-07-14-30/+30
| | | | | | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
* | AmigaOneG3SE: remove dead and incomplete filesWolfgang Denk2008-07-14-228/+0
|/ | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
* ADS5121: Fix (delete) incorrect ads5121_diu_init() prototypeWolfgang Denk2008-07-13-2/+0
| | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
* Fix some more printf() format issues.Jean-Christophe PLAGNIOL-VILLARD2008-07-13-8/+8
| | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* ppc4xx: Remove redundant ft_board_setup() functions from some 4xx boardsStefan Roese2008-07-13-147/+0
| | | | | | | | | This patch removes some ft_board_setup() functions from some 4xx boards. This can be done since we now have a default weak implementation for this in cpu/ppc4xx/fdt.c. Only board in need for a different/custom implementation like canyonlands need their own version. Signed-off-by: Stefan Roese <sr@denx.de>
* Merge branch 'master' of /home/wd/git/u-boot/custodiansWolfgang Denk2008-07-13-47/+69
|\
| * Merge branch 'master' of git://git.denx.de/u-boot-mpc512xWolfgang Denk2008-07-13-47/+69
| |\
| | * fix DIU for small screensKenneth Johansson2008-07-12-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | The DIU_DIV register is 8 bit not 5 bit. This prevented large DIV values so it was not possible to set a slow pixel clock and thus prevented display on small screens. Signed-off-by: Kenneth Johansson <kenneth@southpole.se> Acked-by: John Rigby <jrigby@freescale.com>
| | * ADS5121 cleanup compile warningsJohn Rigby2008-07-12-46/+68
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | board/ads5121/iopin.c Replace bit fields in struct iopin_t with a single field and intialize it via plain old macros. This fixes the type pun warnings and makes the code more readable. board/ads5121/ads5121.c Add include iopin.h to ads5121.c for the iopin_initialize prototype. Add an extern void ads5121_diu_init(void) Signed-off-by: John Rigby <jrigby@freescale.com>
* | | Merge branch 'master' of /home/wd/git/u-boot/custodiansWolfgang Denk2008-07-13-2/+5
|\ \ \ | |/ /
| * | Merge branch 'master' of git://git.denx.de/u-boot-coldfireWolfgang Denk2008-07-13-2/+5
| |\ \ | | |/ | |/|
| | * Fix compile error caused by incorrect function return typeTsiChung Liew2008-07-11-2/+2
| | | | | | | | | | | | | | | | | | Rename int mii_init(void) to void mii_init(void) Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>