aboutsummaryrefslogtreecommitdiff
path: root/board/freescale/common
AgeCommit message (Collapse)AuthorFilesLines
2008-09-09Update Freescale 85xx boards to sys_eeprom.cTimur Tabi2-61/+0
The new sys_eeprom.c supports both the old CCID EEPROM format and the new NXID format, and so it obsoletes board/freescale/common/cds_eeprom.c. Freescale 86xx boards already use sys_eeprom.c, so this patch migrates the remaining Freescale 85xx boards to use it as well. cds_eeprom.c is deleted. Signed-off-by: Timur Tabi <timur@freescale.com>
2008-09-02Add pixis_set_sgmii commandAndy Fleming1-0/+55
The 8544DS and 8572DS platforms support an optional SGMII riser card to expose ethernet over an SGMII interface. Once the card is in, it is also necessary to configure the board such that it uses the card, rather than the on-board ethernet ports. This can either be done by flipping dip switches on the motherboard, or by modifying registers in the pixis. Either way requires a reboot. This adds a command to allow users to choose which ports are routed through the SGMII card, and which through the onboard ports. It also allows users to revert to the current switch settings. This code does not work on the 8572, as the PIXIS is different. Signed-off-by: Andy Fleming <afleming@freescale.com> Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
2008-09-02Add support for Freescale SGMII Riser CardAndy Fleming3-0/+42
The 8544DS and 8572DS systems have an optional SGMII riser card which exposes new ethernet ports which are connected to the eTSECs via an SGMII interface. The SGMII PHYs for this board are offset from the standard PHY addresses, so this code modifies the passed in tsec_info structure to use the SGMII PHYs on the card, instead. Signed-off-by: Andy Fleming <afleming@freescale.com> Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
2008-07-15Prepare v1.3.4-rc1: Code cleanup, update CHANGELOG, sort Makefilev1.3.4-rc1Wolfgang Denk1-2/+0
Signed-off-by: Wolfgang Denk <wd@denx.de>
2008-07-15Update Freescale sys_eeprom.c to handle CCID formatsTimur Tabi1-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>
2008-07-02Cleanup out-or-tree building for some boards (.depend)Wolfgang Denk1-1/+1
Signed-off-by: Wolfgang Denk <wd@denx.de>
2008-05-21Replace DPRINTF with debugYork Sun1-35/+29
Remove DPRINTF macro and replace it with generic debug macro. Signed-off-by: York Sun <yorksun@freescale.com>
2008-05-21Move pixel clock setting to board fileYork Sun1-34/+5
The clock divider has different format in 5121 and 8610. This patch moves it to board specific code. Signed-off-by: York Sun <yorksun@freescale.com>
2008-05-21Big white-space cleanup.Wolfgang Denk3-9/+9
This commit gets rid of a huge amount of silly white-space issues. Especially, all sequences of SPACEs followed by TAB characters get removed (unless they appear in print statements). Also remove all embedded "vim:" and "vi:" statements which hide indentation problems. Signed-off-by: Wolfgang Denk <wd@denx.de>
2008-03-26FSL: Clean up board/freescale/common/MakefileJon Loeliger4-2/+10
Each file that can be built here now follows some CONFIG_ option so that they are appropriately built or not, as needed. And CONFIG_ defines were added to various board config files to make sure that happens. The other board/freescale/*/Makefiles no longer need to reach up and over into ../common to build their individually needed files any more. Boards that are CDS specific were renamed with cds_ prefix. Signed-off-by: Jon Loeliger <jdl@freescale.com>
2008-02-1486xx: Fix compilation warning in sys_eprom.cJon Loeliger1-1/+1
sys_eeprom.c:82:9: warning: unknown escape sequence '\/' Signed-off-by: Jon Loeliger <jdl@freescale.com>
2008-01-17FSL: Fix common EEPROM_data structure definitionHaiying Wang1-41/+71
- Fix EEPROM_data structure definition according to System EEPROM Data Format. - Read MAC addresses from EEPROM to ethXaddr before saving ethXaddr to bd->bi_ethaddr. Signed-off-by: Haiying Wang <Haiying.Wang@freescale.com>
2008-01-16FSL: Generalize PIXIS reset command parsing.James Yang1-108/+106
Before, the order of arguments to the pixis_reset command needed to be supplied in a hard-coded order. Generalize the command parsing to allow any order. Signed-off-by: James Yang <james.yang@freescale.com> Acked-by: Jon Loeliger <jdl@freescale.com>
2008-01-16FSL: Convert board/freescale/common/Makefile to use CONFIG_Jon Loeliger5-19/+8
Convert the board/freescale/common/Makefile to use CONFIG_* options to select which files to conditionally compile into the board/freescale/common library rather than conditionally compiling entire files. Now handles:: CONFIG_FSL_PIXIS CONFIG_FSL_DIU_FB CONFIG_PQ_MDS_PIB CONFIG_ID_EEPROM is introduced until CFG_ID_EEPROM is gone. Signed-off-by: Jon Loeliger <jdl@freescale.com>
2008-01-09Coding Style cleanup, update CHANGELOGWolfgang Denk1-6/+0
Signed-off-by: Wolfgang Denk <wd@denx.de>
2008-01-03Merge commit 'wd/master'Jon Loeliger7-0/+458
2007-12-11Move the MPC8541/MPC8555/MPC8548 CDS board under board/freescale.Kumar Gala7-0/+458
Minor path corrections needed to ensure buildability. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
2007-11-20Move 8610 DIU interface structure definitions to header file.Jon Loeliger2-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>
2007-11-17Unify pixis_reset altbank across board familiesJason Jin1-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>
2007-11-07Merge branch 'mpc8610'Jon Loeliger4-1/+1572
2007-11-078610: Add 8610 DIU display driverYork Sun3-1/+694
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>
2007-11-07FSL: Add a freescale bitmap logo.York Sun1-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>
2007-11-07Unify pixis_reset altbank across board familiesJason Jin1-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>
2007-10-18mpc83xx: pq-mds-pib.c typo errorTony Li1-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>
2007-09-15ColdFire: Fix build error caused by pixis.cLiew Tsi Chung-r5aahp1-2/+1
Moved the #include <asm/cache.h> inside the #ifdef CONFIG_FSL_PIXIS. Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
2007-08-29support board vendor-common makefilesKim Phillips3-0/+62
if a board/$(VENDOR)/common/Makefile exists, build it. also add the first such case, board/freescale/common/Makefile, to handle building board-shared EEPROM, PIXIS, and MDS-PIB code, as dictated by board configuration. thusly get rid of alternate build dir errors such as: FATAL: can't create /work/wd/tmp/u-boot-ppc/board/freescale/mpc8360emds/../common/pq-mds-pib.o: No such file or directory by putting the common/ mkdir command in its proper place (the common Makefile). Common bits from existing individual board Makefiles have been removed. Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
2007-08-16mpc83xx: suppress unused variable 'val8' warningKim Phillips1-1/+2
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
2007-08-16mpc83xx: Split PIB init code from pci.c and add Qoc3 ATM card supportTony Li2-0/+110
The patch split the PIB init code from pci.c to a single file board/freescale/common/pq-mds-pib.c And add Qoc3 ATM card support for MPC8360EMDS and MPC832XEMDS board. Signed-off-by Tony Li <tony.li@freescale.com>
2007-08-15Move the MPC8641HPCN board under board/freescale.Jon Loeliger1-0/+256
Minor path corrections needed to ensure buildability. Signed-off-by: Jon Loeliger <jdl@freescale.com>
2007-08-02Fix build errors and warnings / code cleanup.Wolfgang Denk1-4/+4
Signed-off-by: Wolfgang Denk <wd@denx.de>
2007-04-09Add PIXIS FPGA support for MPC8641HPCN board.Haiying Wang2-0/+503
Move the 8641HPCN's PIXIS code to the new directory board/freescale/common/ as it will be shared by future boards not in the same processor family. Write a "pixis_reset" command that utilizes the FPGA reset sequencer to support alternate soft-reset options such as using the "alternate" flash bank, enabling the watch dog, or choosing different CPU frequencies. Add documentation for the pixis_reset to README.mpc8641hpcn. Signed-off-by: Haiying Wang <haiying.wang@freescale.com> Signed-off-by: Jon Loeliger <jdl@freescale.com>