summaryrefslogtreecommitdiffstats
path: root/board/freescale
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master' of git://www.denx.de/git/u-boot-mpc83xxWolfgang Denk2008-01-123-0/+418
|\
| * mpc83xx: add support for the MPC8360E-RDKAnton Vorontsov2008-01-103-0/+418
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is MPC8360E based board with: - 256MB fixed SDRAM; - 8MB Intel Strata NOR flash; - StMICRO 64MiB NAND flash; - two 10/100/1000 ethernet ports connected via Broadcom BCM5481 PHYs; - two 10/100 ethernet ports connected via National DP83848 PHYs; - one PCI and one miniPCI slots; - four serial ports (two NS16550-compatible, two UCCs); - four USB ports working through MPC8360E "FHCI" USB controller; - Fujitsu MB86277 graphics controller; - Analog to Digital Converter/Touchscreen controller, AD7843 connected to SPI. Features not supported in this patch are: - StMICRO 64MiB NAND flash (patch sent); - MINT framebuffer initialization (patch is pending); - Fetching production information from the EEPROM via I2C; - FHCI USB; - Two slow UCCs used as RS-485 UARTs. Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com> Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
* | Merge commit 'wd/master'Jon Loeliger2008-01-1010-476/+431
|\|
| * MPC8568E-MDS: set up QE pario for UART1Anton Vorontsov2008-01-091-0/+7
| | | | | | | | | | | | | | To use UART1 on the MPC8568E-MDS, QE pario pins PC[0:3] should be set up appropriately. Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
| * MPC8568E-MDS: reset UCCs to use them reliablyAnton Vorontsov2008-01-093-0/+33
| | | | | | | | | | | | | | | | | | | | In order to use GETH1 and GETH2 on the MPC8568E-MDS, we should reset UCCs. p.s Similar code exists in the Linux kernel board file (for capability reasons with older U-Boots), but should be removed some day. Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
| * Reworked FSL Book-E TLB macros to be more readableKumar Gala2008-01-097-476/+391
| | | | | | | | | | | | | | | | | | | | | | The old macros made it difficult to know what WIMGE and perm bits were set for a TLB entry. Actually use the bit masks for these items since they are only a single bit. Also moved the macros into mmu.h out of e500.h since they aren't specific to e500. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
* | Convert MPC8610HPCD to use libfdt.Jon Loeliger2008-01-091-33/+40
| | | | | | | | | | | | | | | | | | Assumes the presence of the aliases node in the DTS to locate the pci and serial nodes for fixups. Use consistent fdtaddr and fdtfile in environment variables. Signed-off-by: Jon Loeliger <jdl@freescale.com>
* | 8610: Fix lingering compile warnings.Jon Loeliger2008-01-091-1/+4
|/ | | | | | Turn off DEBUG. Signed-off-by: Jon Loeliger <jdl@freescale.com>
* Coding Style cleanup, update CHANGELOGWolfgang Denk2008-01-091-6/+0
| | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
* mpc83xx: fix missed pci_hose -> hose conversion for new libfdt codeKim Phillips2008-01-082-4/+4
| | | | Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
* mpc83xx: rm remaining FLAT_TREE codeKim Phillips2008-01-084-84/+8
| | | | | | ..in board pci.c files Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
* mpc83xx: remove FLAT_TREE codeKim Phillips2008-01-088-91/+7
| | | | | | need to rm it from pci code, too! Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
* mpc83xx: convert to using do_fixup_*()Kim Phillips2008-01-085-89/+111
| | | | | | | | | convert to using simpler mpc85xx style fdt update code; streamline by eliminating macros OF_SOC, OF_CPU, etc. which allows us to rm the old school FLAT_TREE code from 83xx (since the sbc8349 was just converted over to using libfdt). Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
* mpc83xx: supress compiler warningKim Phillips2008-01-081-1/+1
| | | | | | | | mpc8360emds.c: In function ‘ft_board_setup’: mpc8360emds.c:335: warning: assignment discards qualifiers from pointer target type mpc8360emds.c:345: warning: assignment discards qualifiers from pointer target type Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
* mpc83xx: fix remaining fdt_find_node_by_path referencesKim Phillips2008-01-081-2/+2
| | | | | | rename to fdt_path_offset Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
* mpc83xx: mpc8360 rev.2.1 erratum 2: replace rgmii-id with rgmii-rxidKim Phillips2008-01-081-0/+31
| | | | | | | | u-boot itself uses GMII mode on the 8360. Fix up UCC phy-connection-type properties in the device tree so the PHY gets configured for internal delay on RX only by the OS, as prescribed by mpc8360 rev. 2.1 pb mds erratum #2. Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
* mpc83xx: Add the support of MPC837xEMDS boardDave Liu2008-01-084-0/+287
| | | | | | | | | | | The MPC837xEMDS board support: * DDR2 400MHz hardcoded and SPD init * Local bus NOR Flash * I2C, UART, MII and RTC * eTSEC RGMII * PCI host Signed-off-by: Dave Liu <daveliu@freescale.com>
* MPC8360E-MDS: configure and enable second UARTAnton Vorontsov2008-01-081-0/+8
| | | | | | | Despite user manual, BCSR9.7 is negated (high) on HRST, so UART2 is disabled. Fix that and configure QE pins properly. Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
* 8610: Move include of config.h earlier.Jon Loeliger2008-01-031-1/+1
| | | | | | | | Include config.h earlier in the set of #includes so as to avoid a incidental and duplicate definition of CFG_CACHELINE_SIZE. Signed-off-by: Jon Loeliger
* Convert MPC8641HPCN to use libfdt.Jon Loeliger2008-01-031-26/+34
| | | | | | | | | Assumes the presence of the aliases node in the DTS to locate the ethernet, pci and serial nodes for fixups. Use consistent fdtaddr and fdtfile in environment variables. Signed-off-by: Jon Loeliger <jdl@freescale.com>
* Merge commit 'wd/master'Jon Loeliger2008-01-0341-61/+6751
|\
| * Move the MPC8541/MPC8555/MPC8548 CDS board under board/freescale.Kumar Gala2007-12-1122-0/+3567
| | | | | | | | | | | | Minor path corrections needed to ensure buildability. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
| * Move the MPC8540 ADS board under board/freescale.Kumar Gala2007-12-115-0/+863
| | | | | | | | | | | | Minor path corrections needed to ensure buildability. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
| * Move the MPC8560 ADS board under board/freescale.Kumar Gala2007-12-115-0/+1083
| | | | | | | | | | | | Minor path corrections needed to ensure buildability. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
| * Move the MPC8568 MDS board under board/freescale.Kumar Gala2007-12-117-0/+1193
| | | | | | | | | | | | Minor path corrections needed to ensure buildability. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
| * Use standard LAWAR_TRGT_IF_* defines for LAW setup on 85xxKumar Gala2007-12-111-16/+9
| | | | | | | | | | | | | | | | We already had defines for LAWAR_TRGT_IF_* that we should use rather than creating new ones. Also, added some missing defines for PCIE targets. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
| * Stop using immap_t on 85xxKumar Gala2007-12-111-3/+2
| | | | | | | | | | | | | | | | In the future the offsets to various blocks may not be in same location. Move to using CFG_MPC85xx_*_ADDR as the base of the registers instead of getting it via &immap. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
| * Stop using immap_t for guts offset on 85xxKumar Gala2007-12-111-3/+2
| | | | | | | | | | | | | | | | In the future the offsets to various blocks may not be in same location. Move to using CFG_MPC85xx_GUTS_ADDR as the base of the guts registers instead of getting it via &immap->im_gur. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
| * Update MPC8544DS to use libfdtKumar Gala2007-12-111-39/+32
| | | | | | | | | | | | | | Updated the MPC8544DS config to use libfdt and assume use of aliases for ethernet, pci, and serial for the various fixups that are done. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
* | Merge commit 'wd/master'Jon Loeliger2007-12-064-6/+6
|\|
| * Update libfdt from device tree compiler (dtc)Kumar Gala2007-11-214-6/+6
| | | | | | | | | | | | | | Update libfdt to commit 8eaf5e358366017aa2e846c5038d1aa19958314e from the device tree compiler (dtc) project. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
* | Move 8610 DIU interface structure definitions to header file.Jon Loeliger2007-11-202-32/+34
| | | | | | | | | | | | | | | | | | | | These two structures are still needed during the initialization and setup of the DIU hardware. So move them to the fsl_diu_fb.h file for now. Official "blah". Noticed-by: York Sun <yorksun@freescale.com> Signed-off-by: Jon Loeliger <jdl@freescale.com>
* | Merge commit 'remotes/wd/master'Jon Loeliger2007-11-203-1/+286
|\|
| * Fix compiler warnings for PPC systems. Update CHANGELOG.Wolfgang Denk2007-11-181-1/+1
| | | | | | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
| * Merge branch 'master' of git://www.denx.de/git/u-boot-coldfireWolfgang Denk2007-11-172-0/+285
| |\
| | * ColdFire: MCF5445x - Update correct RAMBAR and missing linker filesTsiChungLiew2007-11-072-0/+285
| | | | | | | | | | | | Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
| * | Unify pixis_reset altbank across board familiesJason Jin2007-11-171-1/+4
| |/ | | | | | | | | | | | | | | Basically, refactor the CFG_PIXIS_VBOOT_MASK values into the separate board config files. Signed-off-by: Jason Jin <Jason.jin@freescale.com> Signed-off-by: Jon Loeliger <jdl@freescale.com>
* | Merge branch 'mpc8610'Jon Loeliger2007-11-077-5/+1794
|\ \
| * | 8610: Add console frame buffer support to FSL 8610 DIU driver.York Sun2007-11-071-3/+75
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add cfb console support to FSL 8610 DIU driver. Inspect board version from PIXIS to obtain correct pixel format. Use #define CONFIG_VIDEO in config file to enable fb console. To switch monitor, set monitor variable to 0 - DVI, 1 - Single link LVDS, 2 - Double link LVDS followed by "diufb init". Preserve logo bitmap at the top of the fb console. Signed-off-by: York Sun <yorksun@freescale.com> Signed-off-by: Jon Loeliger <jdl@freescale.com>
| * | 8610: Add 8610 DIU display driverYork Sun2007-11-076-5/+844
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1280x1024 and 1024x768 @ 32 bpp are supported now. DVI, Single-link LVDS, Double-link LVDS are all supported. Environmental variable "monitor" is used to specify monitor port. A new command "diufb" is introduced to reinitialize monitor and display a BMP file in the memory. So far, 1-bit, 4-bit, 8-bit and 24-bit BMP formats are supported. diufb init - initialize the diu driver Enable the port specified in the environmental variable "monitor" diufb addr - display bmp file in memory. The bmp image should be no bigger than the resolution, 1280x1024 for DVI and double-link LVDS, 1024x768 for single-link LVDS. Note, this driver allocate memory but doesn't free it after use It is written on purpose -- to avoid a failure of reallocation due to memory fragement. ECC of DDR is disabled for DIU performance. L2 data cache is also disabled. Signed-off-by: York Sun <yorksun@freescale.com> Signed-off-by: Jon loeliger <jdl@freescale.com>
| * | FSL: Add a freescale bitmap logo.York Sun2007-11-071-0/+878
| | | | | | | | | | | | | | | | | | | | | | | | This Freescale logo is a 340 x 128 x 4bpp BMP file that can be displayed by the DIU Framebuffer driver. Signed-off-by: York Sun <yorksun@freescale.com> Signed-off-by: Jon Loeliger <jdl@freescale.com>
* | | Unify pixis_reset altbank across board familiesJason Jin2007-11-071-1/+4
|/ / | | | | | | | | | | | | | | Basically, refactor the CFG_PIXIS_VBOOT_MASK values into the separate board config files. Signed-off-by: Jason Jin <Jason.jin@freescale.com> Signed-off-by: Jon Loeliger <jdl@freescale.com>
* | Merge commit 'remotes/wd/master'Jon Loeliger2007-11-022-14/+16
|\|
| * ColdFire 54455: Fix correct boot location for atmel and intelTsiChungLiew2007-10-251-1/+3
| | | | | | | | Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
| * mpc83xx: pq-mds-pib.c typo errorTony Li2007-10-181-13/+13
| | | | | | | | | | | | | | Correct to val8 from val. Signed-off-by: Tony Li <tony.li@freescale.com> Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
* | Initial mpc8610hpcd board files.Jon Loeliger2007-10-175-0/+871
|/ | | | | | | Signed-off-by: Ed Swarthout <Ed.Swarthout@freescale.com> Signed-off-by: Mahesh Jade <mahesh.jade@freescale.com> Signed-off-by: Jason Jin <Jason.jin@freescale.com> Signed-off-by: Jon Loeliger <jdl@freescale.com>
* ColdFire: fix build error becasue of bad type of mii_init()Liew Tsi Chung-r5aahp2007-09-153-3/+3
| | | | Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
* ColdFire: Fix build error caused by pixis.cLiew Tsi Chung-r5aahp2007-09-151-2/+1
| | | | | | Moved the #include <asm/cache.h> inside the #ifdef CONFIG_FSL_PIXIS. Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
* Fix cases where DECLARE_GLOBAL_DATA_PTR was not declared as globalWolfgang Denk2007-09-151-1/+2
| | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
* Fix ULI RTC support on MPC8544 DSKumar Gala2007-09-042-1/+7
| | | | | | | | | | | The RTC on the M1575 ULI chipset requires a dummy read before we are able to talk to the RTC. We accomplish this by adding a second memory region to the PHB the ULI is on and read from it. The second region is added to maintain compatiabilty with Linux's view of the PCI memory map. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>