summaryrefslogtreecommitdiff
path: root/lib_ppc
Commit message (Collapse)AuthorAgeLines
* Add support for reading and writing mac addresses to or from ID EEPROM.Haiying Wang2006-07-13-0/+4
| | | | | | | | | | | | | | | | | | Added code for reading and writing Mac addresses to/from ID EEPROM(0x57). With attached patch, we can use command "mac/mac read/mac save/" to read and write EEPROM under u-boot prompt. U-boot will calculate the checksum of EEPROM while bootup, if it is right, then u-boot will check whether the mac address of eTSEC0/1/2/3 is availalbe (non-zero). If there is mac address availabe in EEPROM, u-boot will use it, otherewise, u-boot will use the mac address defined in MPC8641HPCN.h. This matches the requirement to set unique mac address for each TSEC port. Signed-off-by: Haiying Wang <haiying.wang@freescale.com> Signed-off-by: York Sun <yorksun@freescale.com>
* Remove unneeded INIT_RAM_LOCK cache twiddling.Haiying Wang2006-05-10-1/+1
| | | | | | Correctly tracks r29 as global data pointer now. Signed-off-by: Haiying Wang <Haiying.Wang@freescale.com>
* Initial support for MPC8641 HPCN board.Jon Loeliger2006-04-26-1/+1
|
* GCC-4.x fixes: clean up global data pointer initialization for all boards.Wolfgang Denk2006-03-31-0/+1
|
* Enable address translation on MPC83xxKumar Gala2006-02-10-1/+2
| | | | Patch by Kumar Gala, 10 Feb 2006
* Code cleanup, especially MIPS for GCC 4.xWolfgang Denk2005-12-04-4/+0
|
* Add support for TQM8541/8555 boards, TQM85xx support reworked:Stefan Roese2005-11-30-1/+9
| | | | | | | | | | | | | | | | | - Support for TQM8541/8555 boards added. - Complete rework of TQM8540/8560 support. - Common TQM85xx code now supports all current TQM85xx platforms (TQM8540/8541/8555/8560). - DDR SDRAM size detection added. - CAS latency default values can be overwritten by setting "serial#" to e.g. "ABC0001 casl=25" -> CAS latency 2.5 will be used. If problems are detected with this non default CAS latency, the defualt values will be used instead. - FLASH size detection added. - Moved FCC ethernet driver initialization behind TSEC driver init -> TSEC is first device. Patch by Stefan Roese, 30 Nov 2005
* Add support for multiple PHYs.Marian Balakowicz2005-10-28-22/+24
|
* Cleanup for GCC-4.xWolfgang Denk2005-10-13-40/+42
|
* E500 update: repoint IVPR to RAM when code is relocatedWolfgang Denk2005-10-05-0/+4
| | | | Patch by Kylo Ginsberg, 13 Apr 2005
* Prepare U-Boot for gcc-4.x: fix global data pointer initializationWolfgang Denk2005-08-30-9/+1
| | | | | | | | | | | | | | | | | | The global data pointer, stored in r29 before relocation to RAM, was not initialized to a correct value. This happened because the pointer declaration was done locally in the scope of the board_init_f() function. What follows is a cite from gcc.info, 5.37, "Variables in Specified Registers": ... The compiler's data flow analysis is capable of determining where the specified registers contain live values, and where they are available for other uses. Stores into local register variables may be deleted when they appear to be dead according to dataflow analysis. References to local register variables may be deleted or moved or simplified. ... Moving the global data declaration to global scope solved the problem.
* Prepare U-Boot for gcc-4.xWolfgang Denk2005-08-26-2/+5
|
* Add Sandburst Metrobox and Sandburst Karef board support packages.Stefan Roese2005-08-15-2/+2
| | | | | | | | | Second serial port on 440GX now defined as a system device. Add 'Short Etch' code for Cicada PHY within 440gx_enet.c Patch by Travis B. Sawyer, 12 Jul 2005 Check return value of malloc in 440gx_enet.c Patch by Travis B. Sawyer, 18 Jul 2005
* Changed CONFIG_440_xx to CONFIG_440xx for a consistent design (405 and linux)Stefan Roese2005-08-08-1/+1
| | | | Patch by Stefan Roese, 08 Aug 2005
* Merge with rsync://git-user@source.denx.net/git/u-boot.gitJon Loeliger2005-08-02-1/+1
|\
| * Add support for AMCC PPC440EP/GR eval boards Yosemite and Yellowstone.Stefan Roese2005-08-01-1/+1
| | | | | | | | Patch by Steven Blakeslee, 27 Jul 2005
* | * Patch by Eran LibertyEran Liberty2005-07-28-0/+8
| | | | | | | | Add support for the Freescale MPC8349ADS board.
* | * Patch by Jon Loeliger, Kumar Gala 2005-02-08Jon Loeliger2005-07-23-5/+5
|/ | | | | | | | - Convert the CPM2 based functionality to use new CONFIG_CPM2 option rather than a myriad of CONFIG_MPC8560-like variants. Applies to MPC85xx and MPC8260 boards, includes stxgp3 and sbc8560. Eliminates the CONFIG_MPC8560 option entirely. Distributes the new CONFIG_CPM2 option to each 8260 board.
* Patch by Juergen Selent, 17 May 2005:wdenk2005-05-30-1/+2
| | | | Add support for Funkwerk VoVPN gateway module.
* * Code cleanup, mostly for GCC-3.3.xwdenk2004-12-31-3/+3
| | | | | | | | | | | | * Cleanup confusing use of CONFIG_ETH*ADDR - ust his only to pre-define a MAC address; use CONFIG_HAS_ETH* to enable support for additional ethernet addresses. * Cleanup drivers/i82365.c - avoid duplication of code * Fix bogus "cannot span across banks" flash error message * Add support for CompactFlash for the CPC45 Board.
* use same spacing for "NAND:" putsstroese2004-12-16-1/+1
|
* * Update for AT91RM9200DK and CMC_PU2 boards:wdenk2004-11-21-8/+8
| | | | | | | - Enable booting directly from flash - fix CMC_PU2 flash driver * Fix mkimage usage message
* Patch by TsiChung Liew, 23 Sep 2004:wdenk2004-10-28-0/+26
| | | | | - add support for MPC8220 CPU - Add support for Alaska and Yukon boards
* Patches by Jon Loeliger, 24 Aug 2004:wdenk2004-10-10-7/+3
| | | | | - Add support for the MPC8541 and MPC8555 CDS boards - Cleanup eth?addr handling: make dependent on CONFIG_ETH?ADDR
* * Patch by Yuli Barcohen, 13 Jul 2004:wdenk2004-09-28-2/+2
| | | | | | | | Allow clock setting on MPC866/MPC885 series chips according to environment variable `cpuclk' * Patch by Yuli Barcohen, 20 Apr 2004: Remove unnecessary redefine of CPM_DATAONLY_SIZE for MPC826x
* Add support for IDS "NC650" boardwdenk2004-08-28-2/+2
|
* * Code cleanupwdenk2004-08-01-1/+5
| | | | | | | | | | | | | * Patch by Sascha Hauer, 28 Jun: - add generic support for Motorola i.MX architecture - add support for mx1ads, mx1fs2 and scb9328 boards * Patches by Marc Leeman, 23 Jul 2004: - Add define for the PCI/Memory Buffer Configuration Register - corrected comments in cpu/mpc824x/cpu_init.c * Add support for multiple serial interfaces (for example to allow modem dial-in / dial-out)
* Patch by Jon Loeliger, 17 June 2004:wdenk2004-07-09-3/+5
| | | | | | | | Completion of the 8540ADS/8560ADS updates: Fix some PCI and Rapid I/O memory maps, Initialize both TSEC 1 and 2, Initialize SDRAM Update MAINTAINER for 85xx boards and README.mpc85xxads
* * Patches by Richard Woodruff, 10 Jun 2004:wdenk2004-07-01-0/+2
| | | | | | | - fix problems with examples/stubs.c for GCC >= 3.4 - fix problems with gd initialization * Enable FAT filesystem support for HMI10 board
* Fix PCI support on CPC45 boardwdenk2004-06-01-1/+1
|
* Patch by Klaus Heydeck, 12 May 2004:wdenk2004-05-12-1/+1
| | | | | | Using external watchdog for KUP4 boards in mpc8xx/cpu.c; load_sernum_ethaddr() for KUP4 boards in lib_ppc/board.c; various changes to KUP4 board specific files
* Clean up the TQM8xx_YYMHz configurations; allow to use the samewdenk2004-04-24-0/+3
| | | | | | binary image for all clock frequencies. Implement run-time optimization of flash access timing based on the actual bus frequency.
* * Patch by Dan Malek, 07 Apr 2004:wdenk2004-04-18-21/+26
| | | | | | | | | | | | | | | | | - Add support for RPC/STx GP3, Motorola 8560 board - Update 85xx TSEC driver so it searches MII for first available PHY and uses that one. - Add functions to support console MII commands. * Patch by Tolunay Orkun, 07 Apr 2004: Move initialization of bi_iic_fast[] from board_init_f() to board_init_r() * Patch by Yasushi Shoji, 07 Apr 2004: Cleanup microblaze port * Patch by Sangmoon Kim, 07 Apr 2004: Add auto SDRAM module detection for Debris board
* * Patches by Pantelis Antoniou, 30 Mar 2004:wdenk2004-04-15-1/+1
| | | | | | | | | | - add auto-complete support to the U-Boot CLI - add support for NETTA and NETPHONE boards; fix NETVIA board * Patch by Yuli Barcohen, 28 Mar 2004: - Add support for MPC8272 family including MPC8247/8248/8271/8272 - Add support for MPC8272ADS evaluation board (another flavour of MPC8260ADS) - Change configuration method for MPC8260ADS family
* Cleanup for release 1.1.0wdenk2004-04-10-0/+2
|
* * Patch by Mark Jonas: Remove config.tmp files only whenwdenk2004-04-08-13/+10
| | | | | | | | unconfiguring the board * Adapt RMU board for bigger flash memory * Test fix for ethernet problems on MPC5200
* * Patch by Klaus Heydeck, 13 Mar 2003:wdenk2004-03-25-0/+1
| | | | Add support for KUP4X Board
* * Patch by Pierre Aubert, 18 Mar 2004:wdenk2004-03-23-0/+18
| | | | | | | | | | | | | | | | - Unify video mode handling for Chips & Technologies 69000 Video chip and Silicon Motion SMI 712/710/810 Video chip - Add selection of the video output (CRT or LCD) via 'videoout' environment variable for the Silicon Motion - README update * Patch by Pierre Aubert, 18 Mar 2004: include/common.h typo fix * Patches by Tolunay Orkun, 17 Mar 2004: - Add support for bd->bi_iic_fast[] initialization via environment variable "i2cfast" (CONFIG_I2CFAST) - Add "i2cfast" u-boot environment variable support for csb272
* * Patch by Phillippe Robin, 16 Mar 2004:wdenk2004-03-23-5/+1
| | | | | | | | | | | | | avoid dereferencing NULL pointer in lib_arm/armlinux.c * Patch by Stephen Williams, 15 Mar 2004: Fix CONFIG_SERIAL_SOFTWARE_FIFO documentation * Patch by Tolunay Orkun, 15 Mar 2004: Initialize bi_opbfreq to real OPB frequency via get_OPB_freq() * Patch by Travis Sawyer, 15 Mar 2004: Update CREDITS & MAINTAINERS files for PPC440GX & Ocotea port
* Code cleanup; make several boards compile & link.wdenk2004-03-14-1/+1
|
* * Patch by Pierre Aubert, 26 Feb 2004wdenk2004-02-27-1/+1
| | | | | | | | | | | add IDE support for MPC5200 * Patch by Masami Komiya, 26 Feb 2004: add autoload via NFS * Patch by Stephen Williams Use of CONFIG_SERIAL_SOFTWARE_FIFO in board.c consistent with uses elsewhere in the source.
* * Patch by Masami Komiy, 22 Feb 2004:wdenk2004-02-24-6/+6
| | | | | | Add support for NFS for file download * Minor code cleanup
* * Patch by Peter Ryser, 20 Feb 2004:wdenk2004-02-23-0/+2
| | | | | | | | | | | | | Add support for the Xilinx ML300 platform * Patch by Stephan Linz, 17 Feb 2004: Fix watchdog support for NIOS * Patch by Josh Fryman, 16 Feb 2004: Fix byte-swapping for cfi_flash.c for different bus widths * Patch by Jon Diekema, 14 Jeb 2004: Remove duplicate "FPGA Support" notes from the README file
* * Patches by Reinhard Meyer, 14 Feb 2004:wdenk2004-02-23-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | - update board/emk tree; use common flash driver - Corrected tested bits in machine check exception in cpu/mpc5xxx/traps.c [adapted for other PPC CPUs -- wd] - Added support for the M48T08 on the EVAL5200 board in rtc/mk48t59.c * Patch by Jon Diekema, 13 Feb 2004: Call show_boot_progress() whenever POST "FAILED" is printed. * Patch by Nishant Kamat, 13 Feb 2004: Add support for TI OMAP1610 H2 Board Fixes for cpu/arm926ejs/interrupt.c (based on Richard Woodruff's patch for arm925, 16 Oct 03) Fix for a timer bug in OMAP1610 Innovator Add support for CS0 (ROM)/CS3 (Flash) boot in OMAP1610 Innovator and H2 * Patches by Stephan Linz, 12 Feb 2004: - add support for NIOS timer with variable period preload counter value - prepare POST framework support for NIOS targets * Patch by Denis Peter, 11 Feb 2004: add POST support for the MIP405 board
* Patch by Travis Sawyer, 30 Dec 2003:wdenk2004-02-06-3/+22
| | | | | | | Add support for IBM PPC440GX. Multiple EMAC Ethernet devices, select MDI port based on enabled EMAC device. Add support for XES Inc <http://www.xes-inc.com> XPedite1000 440GX base PrPMC board.
* * Add variable CPU clock for MPC859/866 systems (so far only TQM866M):wdenk2004-01-24-1/+9
| | | | | | | | see doc/README.MPC866 for details; implement workaround for "SIU4" and "SIU9" silicon bugs on MPC866; calculate CPU clock frequency from PLL register values. * Add support for 128 MB RAM on TQM8xxL/M modules
* * The PS/2 mux on the BMS2003 board needs 450 ms after power onwdenk2004-01-20-14/+13
| | | | | | | | | | | | before we can access it; add delay in case we are faster (with no CF card inserted) * Cleanup of some init functions * Make sure SCC Ethernet is always stopped by the time we boot Linux to avoid Linux crashes by early packets coming in. * Accelerate flash accesses on LWMON board by using buffered writes
* [Strange. I _did_ check these in before. Seems SF restored an oldwdenk2004-01-16-0/+8
| | | | | | | | | | | | | | | | version of the repository???] * Patch by Reinhard Meyer, 09 Jan 2004: - add RTC support for MPC5200 based boards (requires RTC_XTAL) * Add support for IDE LED on BMS2003 board (exclusive with status LED!) * Add support for PS/2 keyboard (used with PS/2 multiplexor on BMS2003 board) * Patches by Reinhard Meyer, 4 Jan 2004 + 7 Jan 2004: Add common files for "emk" boards
* * Cleanup lowboot code for MPC5200wdenk2004-01-02-6/+6
| | | | | | | | | | | | | | | | | | * Minor code cleanup (coding style) * Patch by Reinhard Meyer, 30 Dec 2003: - cpu/mpc5xxx/fec.c: added CONFIG_PHY_ADDR, added CONFIG_PHY_TYPE, - added CONFIG_PHY_ADDR to include/configs/IceCube.h, - turned debug print of PHY registers into a function (called in two places) - added support for EMK MPC5200 based modules * Fix MPC8xx PLPRCR_MFD_SHIFT typo * Add support for TQM866M modules * Fixes for TQM855M with 4 MB flash (Am29DL163 = _no_ mirror bit flash) * Fix a few compiler warnings
* * Patch by Gleb Natapov, 19 Sep 2003:wdenk2003-12-06-1/+149
| | | | | | | | Move most of the timer interrupt related PPC code to ppc_lib/interrupts.c * Patch by Anders Larsen, 17 Sep 2003: Bring ARM memory layout in sync with the documentation: stack and malloc-heap are now located _below_ the U-Boot code