summaryrefslogtreecommitdiff
path: root/board
Commit message (Collapse)AuthorAgeLines
* Remove erroneous or extra spd.h #includers.Jon Loeliger2008-03-05-105/+23
| | | | | | | | | | Many of the spd.h #includers don't need it, and wanted to have spd_sdram() declared instead. Since they didn't get that, some also had open coded extern declarations of it instead or as well. Fix it all up by using spd_sdram.h where needed. Signed-off-by: Jon Loeliger <jdl@freescale.com>
* Merge branch 'master' of git://www.denx.de/git/u-boot-mpc85xxWolfgang Denk2008-03-02-2/+4
|\
| * sbc8548: Fix Revision reading and unused variable 'path'Jean-Christophe PLAGNIOL-VILLARD2008-02-27-2/+4
| | | | | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* | MPC5121e ADS PCI support take 3John Rigby2008-03-02-1/+217
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds PCI support for MPC5121 Tested with drivers/net/rtl8139.c Support is conditional since PCI on old silicon does not work. ads5121_PCI_config turns on PCI In this version, condition compilation of PCI code has been moved from ifdef in board/ads5121/pci.c to board/ads5121/Makefile as suggested by Jean-Christophe PLAGNIOL-VILLARD Signed-off-by: John Rigby <jrigby@freescale.com>
* | Merge branch 'master' of git://www.denx.de/git/u-boot-mpc86xxWolfgang Denk2008-03-02-2/+4
|\ \
| * | 86xx: Fix renamed GUR symbols in sbc8641d board.Jon Loeliger2008-02-25-2/+4
| |/ | | | | | | | | | | | | | | | | Back in commit a551cee99ad1d1da20fd23ad265de47448852f56 (86xx: Fix GUR PCI config registers properly), we should have changed the MPC86xx_PORBMSR_HA and MPC86xx_PORDEVSR_IO_SEL symbols in the sbc8641d board as well. Fix this oversight. Signed-off-by: Jon Loeliger <jdl@freescale.com>
* | TQM5200: use automatic fdt memory fixup (part 2)Martin Krause2008-03-02-0/+4
| | | | | | | | | | | | | | | | Call fdt_fixup_memory() on the boards TQM5200, TQM5200_B, TQM5200S, TB5200 and TB5200_B to fixup the /memory node with the memory values detected by U-Boot. Signed-off-by: Martin Krause <martin.krause@tqs.de>
* | Merge branch 'master' of git://www.denx.de/git/u-boot-ppc4xxWolfgang Denk2008-03-02-0/+2
|\ \
| * | ppc4xx: Fix acadia_nand build problemStefan Roese2008-02-25-0/+2
| |/ | | | | | | | | | | | | Don't include testdram() on NAND-booting target acadia_nand. This saves a few bytes and makes the target build clean again. Signed-off-by: Stefan Roese <sr@denx.de>
* | TQM5200: use automatic fdt memory fixupMartin Krause2008-03-02-0/+1
| | | | | | | | | | | | | | | | Call fdt_fixup_memory() on the boards TQM5200, TQM5200_B, TQM5200S, TB5200 and TB5200_B to fixup the /memory node with the memory values detected by U-Boot. Signed-off-by: Martin Krause <martin.krause@tqs.de>
* | TQM5200: fix bug in SDRAM initialization codeMartin Krause2008-03-02-4/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch fixes a bug in the SDRAM initialization code for the TQM5200. The hi_addr bit is now set correctly. Without this patch the hi_addr bit is always set to 1, if the second SDRAM bank is not populated. For other MPC5200 boards a correspondig patch has already been applied some time ago, see commit a63109281ad41b0fb489fdcb901171f76bcdbc2c. Signed-off-by: Martin Krause <martin.krause@tqs.de> -- Forget the first patch please. I confused flash with SDRAM in the comment ...
* | mx1fs2/flash: Fix multiple compiler warningsJean-Christophe PLAGNIOL-VILLARD2008-03-02-1/+1
| | | | | | | | | | | | "pointer targets in assignment differ in signedness" Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* | arm-imx: Fix register definitionsJean-Christophe PLAGNIOL-VILLARD2008-03-02-1/+1
| | | | | | | | | | | | Sync register definitions with linux Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* | actua1/actua2/actua3: Fix multiple unused variable warningsJean-Christophe PLAGNIOL-VILLARD2008-03-02-5/+5
|/ | | | | | | | | | | | | | | | | | | - actua1: actux1.c: In function 'checkboard': actux1.c:92: warning: unused variable 'revision' - actua2: actux2.c: In function 'checkboard': actux2.c:100: warning: unused variable 's' actux2.c:99: warning: unused variable 'revision' actux2.c: In function 'reset_phy': actux2.c:130: warning: unused variable 'i' - actua3: actux3.c: In function 'checkboard': actux3.c:114: warning: unused variable 'revision' Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* Coding style cleanup. Prepare v1.3.2-rc2 release candidateWolfgang Denk2008-02-24-2/+0
| | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
* Replace deprecated "ramdisk" with "ramdisk_size" kernel parameter.Detlev Zundel2008-02-22-1/+1
| | | | | | | | The Linux commit fac8b209b1084bc85748bd54e13d00c1262b220f ("Remove final traces of long-deprecated "ramdisk" kernel parm") makes these changes neccessary. Signed-off-by: Detlev Zundel <dzu@denx.de>
* Fix device tree for mgsuvd board.Heiko Schocher2008-02-22-1/+1
| | | | | | Rename the "scc" node in "ethernet" for the mgsuvd board. Signed-off-by: Heiko Schocher <hs@denx.de>
* Merge branch 'master' of git://www.denx.de/git/u-boot-mpc86xxWolfgang Denk2008-02-22-34/+38
|\
| * 86xx: Fix GUR PCI config registers properly.Jon Loeliger2008-02-20-4/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Back in commit 975a083a5ef785c414b35f9c5b8ae25b26b41524 where I tried to "8610HPCD: Fix typos in two PCI setup registers", I botched it due to not realizing that 8610 and 8641 had different Global Utility Register defintions, one of which was like 85xx, and the other wasn't. Correct this problem by introducing two symbols, one for each 86xx SoC, but neither of which is named anything like 85xx. My bad. Lovely Wednesday with git bisect. You know. Signed-off-by: Jon Loeliger <jdl@freescale.com>
| * 8610HPCD: Fix typos in two PCI setup registers.Jon Loeliger2008-02-19-3/+2
| | | | | | | | | | | | | | | | | | The two symbols MPC86xx_PORDEVSR_IO_SEL and MPC86xx_PORBMSR_HA were erroneously present as 85xx names and values, leftover from the clone wars. Fix this by removing the 85xx cruft from the 86xx codebase. Signed-off-by: Jon Loeliger <jdl@freescale.com>
| * 86xx: Convert sbc8641d to use libfdt.Jon Loeliger2008-02-18-29/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is the proper fix for a missing closing brace in the function ft_cpu_setup() noticed by joe.hamman <at> embeddedspecialties.com. The ft_cpu_setup() function in mpc8641hpcn.c should have been removed earlier as it was under the obsolete CONFIG_OF_FLAT_TREE, but was missed. Only, the sbc8641d was nominally still using it. It all got ripped out, and the funcality that was in ft_board_setup() was refactored to remove the CPU portions into the new file cpu/mpc86xx/fdt.c instead. Make sbc8641d use this now. Based loosely on an original patch from joe.hamman@embeddedspecialties.com Signed-off-by: Jon Loeliger <jdl@freescale.com>
* | Fix GPMC CS2 memory setup at apollonKyungmin Park2008-02-22-0/+2
| | | | | | | | | | | | It disables the current map first Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
* | MIPS: Fix CFG_NO_FLASH supportJean-Christophe PLAGNIOL-VILLARD2008-02-22-41/+1
|/ | | | | | | - Fix flash_init call when CFG_NO_FLASH is used - Remove no more needed flash.c for qemu-mips Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* at91cap9adk: fix implicit declaration of function 'eth_init'Jean-Christophe PLAGNIOL-VILLARD2008-02-17-0/+3
| | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* PPC440EPx: Optionally enable second I2C busMike Nuss2008-02-16-1/+4
| | | | | | | | | The option CONFIG_I2C_MULTI_BUS does not have any effect on Sequoia, the PPC440EPx reference platform, because IIC1 is never enabled. Add Sequoia board code to turn on IIC1 if CONFIG_I2C_MULTI_BUS is selected. Signed-off-by: Mike Nuss <mike@terascala.com> Cc: Stefan Roese <sr@denx.de>
* ppc4xx: HCU4/5. CleanupsNiklaus Giger2008-02-16-81/+70
| | | | | | | | | | | - Fix some coding style violations. - Use in/out_u16/32 where appropriate. - Use register names from ppc405.h. - Fix trace useage for Lauterbach. - Remove obsolete generation HCU2. - Renamed fixed_hcu4_sdram to init_ppc405_sdram. Signed-off-by: Niklaus Giger <niklaus.giger@netstal.com>
* Merge branch '080202_at91rm9200dk' of git://linux-arm.org/u-boot-armdevPeter Pearse2008-02-15-0/+0
|\
| * Move AT91RM9200DK board support under board/atmelHaavard Skinnemoen2008-02-14-0/+0
| | | | | | | | | | | | We already have a vendor subdir for Atmel, so we should use it. Signed-off-by: Haavard Skinnemoen <hskinnemoen <at> atmel.com>
* | Merge branch '080131_artila' of git://linux-arm.org/u-boot-armdevPeter Pearse2008-02-15-0/+767
|\ \
| * | Support for Artila M-501 starter kitTimo Tuunainen2008-02-14-0/+767
| | | | | | | | | | | | | | | Kimmo Leppala / Sysart and Timo Tuunainen / Sysart
* | | Merge branch '080116_at91cap9' of git://linux-arm.org/u-boot-armdevPeter Pearse2008-02-15-0/+542
|\ \ \
| * | | AT91CAP9 support : move board files to Atmel vendor directory.Stelian Pop2008-02-14-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | AT91CAP9 support : move at91cap9adk board files to Atmel vendor directory. Signed-off-by: Stelian Pop <stelian@popies.net>
| * | | AT91CAP9 support : board/ filesStelian Pop2008-02-14-0/+542
| |/ / | | | | | | | | | Signed-off-by: Stelian Pop <stelian@popies.net>
* | | Merge branch '070524_netstar' of git://linux-arm.org/u-boot-armdevPeter Pearse2008-02-15-12/+1
|\ \ \
| * | | Update board NetStarPeter Pearse2008-02-14-12/+1
| |/ / | | | | | | | | | Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
* | | Merge branch 'master' of git://www.denx.de/git/u-boot-mpc86xxWolfgang Denk2008-02-15-530/+170
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: common/cmd_reginfo.c Signed-off-by: Wolfgang Denk <wd@denx.de>
| * \ \ Merge commit 'wd/master'Jon Loeliger2008-02-14-6/+6
| |\ \ \ | | |/ /
| * | | 86xx: Fix compilation warning in sys_eprom.cJon Loeliger2008-02-14-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | sys_eeprom.c:82:9: warning: unknown escape sequence '\/' Signed-off-by: Jon Loeliger <jdl@freescale.com>
| * | | Merge commit 'wd/master'Jon Loeliger2008-02-13-31/+24
| |\ \ \
| * \ \ \ Merge branch 'mpc86xx'Jon Loeliger2008-01-30-529/+169
| |\ \ \ \
| | * | | | 86xx: Remove old-style law setup codeBecky Bruce2008-01-24-526/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This includes mpc8610hpcd, mpc8641hpcn, and sbc8641d. Signed-off-by: Becky Bruce <becky.bruce@freescale.com>
| | * | | | 86xx: Convert sbc8641d to use new law setup code.Becky Bruce2008-01-24-1/+59
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Becky Bruce <becky.bruce@freescale.com>
| | * | | | 86xx: Convert mpc8610hpcd to new law setup method.Becky Bruce2008-01-24-1/+45
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Becky Bruce <becky.bruce@freescale.com>
| | * | | | 86xx: Support new law setup method and convert mpc8641Becky Bruce2008-01-24-1/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds the support code in cpu/mpc86xx for the new law setup code recently created fsl_law.c, and changes the MPC8641HPCN config to use this code. Signed-off-by: Becky Bruce <becky.bruce@freescale.com>
* | | | | | Merge branch 'master' of git://www.denx.de/git/u-boot-ppc4xxWolfgang Denk2008-02-15-15/+9
|\ \ \ \ \ \
| * \ \ \ \ \ Merge branch 'for-1.3.2'Stefan Roese2008-02-14-15/+9
| |\ \ \ \ \ \ | | |_|_|_|/ / | |/| | | | |
| | * | | | | ppc4xx: HCU4/5. Fix make O=../xxNiklaus Giger2008-02-14-14/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Niklaus Giger <niklaus.giger@netstal.com>
| | * | | | | ppc4xx: Fix GPIO configuration for pcs440epStefan Roese2008-02-04-1/+1
| | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The SRD0_PFC0 register was not configured correctly to enable the GPIO's 49-63 for GPIO. They have been configured as trace signals. This patch fixes this by clearing the corresponding bit. Signed-off-by: Stefan Roese <sr@denx.de>
* | | | | | Merge branch 'master' of git://www.denx.de/git/u-boot-avr32Wolfgang Denk2008-02-15-9/+28
|\ \ \ \ \ \
| * | | | | | AVR32: Make SDRAM refresh rate configurableHaavard Skinnemoen2008-02-05-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The existing code assumes the SDRAM row refresh period should always be 15.6 us. This is not always true, and indeed on the ATNGW100, the refresh rate should really be 7.81 us. Add a refresh_period member to struct sdram_info and initialize it properly for both ATSTK1000 and ATNGW100. Out-of-tree boards will panic() until the refresh_period member is updated properly. Big thanks to Gerhard Berghofer for pointing out this issue. Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>