summaryrefslogtreecommitdiff
path: root/include/common.h
Commit message (Collapse)AuthorAgeLines
* Add support for reading and writing mac addresses to or from ID EEPROM.Haiying Wang2006-07-13-0/+3
| | | | | | | | | | | | | | | | | | 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>
* Initial support for MPC8641 HPCN board.Jon Loeliger2006-04-26-1/+10
|
* Add Dcbz(), Dcbi() and Dcbf() routines for MPC83xx.Marian Balakowicz2006-03-14-1/+2
|
* Cleanup for GCC-4.xWolfgang Denk2005-10-13-2/+2
|
* Add Sandburst Metrobox and Sandburst Karef board support packages.Stefan Roese2005-08-15-1/+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
* * Patch by Eran LibertyEran Liberty2005-07-28-2/+7
| | | | Add support for the Freescale MPC8349ADS board.
* Patch by Steven Scholz, 4 Apr 2005:wdenk2005-04-04-0/+5
| | | | | | - remove all references to CONFIG_INIT_CRITICAL for ARM based boards - introduce two new configuration options instead: CONFIG_SKIP_LOWLEVEL_INIT and CONFIG_SKIP_RELOCATE_UBOOT
* Patch by Steven Scholz, 25 Oct 2004:wdenk2005-04-03-0/+1
| | | | Declare reset_cpu() in include/common.h instead locally
* * Patch by Yusdi Santoso, 22 Oct 2004:wdenk2005-04-03-1/+9
| | | | | | | | - Add support for HIDDEN_DRAGON board - fix endianess problem in driver/rtl1839.c * Patch by Allen Curtis, 21 Oct 2004: support multiple serial ports
* Fix problem introduced by previous patch.wdenk2004-12-13-0/+1
|
* Patch by Martin Krause, 27 Oct 2004:wdenk2004-12-12-1/+2
| | | | | - add support for "STK52xx" board (including PS/2 multiplexer) - add hardware detection for TQM5200
* Patch by TsiChung Liew, 23 Sep 2004:wdenk2004-10-28-0/+6
| | | | | - add support for MPC8220 CPU - Add support for Alaska and Yukon boards
* Patch by George G. Davis, 24 Aug 2004:wdenk2004-10-10-0/+1
| | | | - update ARM boards to use constants from mach-types.h
* * Code cleanupwdenk2004-08-01-0/+20
| | | | | | | | | | | | | * 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 Prakash Kumar, 27 Jun 2004:wdenk2004-07-10-1/+1
| | | | | | | Add support for the PXA250 based Intrinsyc Cerf board. * Patch by Yasushi Shoji, 27 Jun 2004: fix comment in include/common.h
* Patch by Jon Loeliger, 17 June 2004:wdenk2004-07-09-1/+3
| | | | | | | | 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
* Patch by Sam Song, 09 Jun 2004:wdenk2004-06-09-0/+2
| | | | | | - Add support for RPXlite_DW board - Update FLASH driver for 4*AM29DL323DB90VI - Add option configuration of CFG_ENV_IS_IN_NVRAM on RPXlite_DW board
* * Patch by Mark Jonas, 08 June 2004:wdenk2004-06-09-0/+3
| | | | | | | | - Make MPC5200 boards evaluate the SVR to print processor name and version in checkcpu() (cpu/mpc5xxx/cpu.c). * Patch by Kai-Uwe Bloem, 06 May 2004: Fix endianess problem in cramfs code
* * Patch by Paul Ruhland, 17 May 2004:wdenk2004-06-09-1/+4
| | | | | | | | | | | | - Add support for the Logic Zoom LH7A40x based SDK board(s), specifically the LPD7A400. * Patches by Robert Schwebel, 15 May 2004: - call MAC address reading code also for SMSC91C111; - make SMSC91C111 timeout configurable, remove duplicate code - fix get_timer() for PXA - update doc/README.JFFS2 - use "bootfile" env variable also for jffs2
* Patches by Jon Loeliger, 11 May 2004:wdenk2004-06-09-0/+1
| | | | (partially, as they contained a lot of crap)
* Patch by Yuli Barcohen, 19 Apr 2004:wdenk2004-06-06-4/+4
| | | | | | | - Rename DUET_ADS to MPC885ADS - Rename CONFIG_DUET to CONFIG_MPC885_FAMILY - Rename CONFIG_866_et_al to CONFIG_MPC866_FAMILY - Clean up FADS family port to use the new defines
* Clean up the TQM8xx_YYMHz configurations; allow to use the samewdenk2004-04-24-0/+1
| | | | | | binary image for all clock frequencies. Implement run-time optimization of flash access timing based on the actual bus frequency.
* * Patches by Pantelis Antoniou, 30 Mar 2004:wdenk2004-04-15-0/+13
| | | | | | | | | | - 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
* * Patch by Pierre Aubert, 18 Mar 2004:wdenk2004-03-23-1/+1
| | | | | | | | | | | | | | | | - 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
* Code cleanup; make several boards compile & link.wdenk2004-03-14-2/+2
|
* * Patch by Rune Torgersen, 27 Feb 2004:wdenk2004-03-13-0/+3
| | | | | | | | | | | | | | | | | - Added LBA48 support (CONFIG_LBA48 & CFG_64BIT_LBA) - Added support for 64bit printing in vsprintf (CFG_64BIT_VSPRINTF) - Added support for 64bit strtoul (CFG_64BIT_STRTOUL) * Patch by Masami Komiya, 27 Feb 2004: Fix rarpboot: add autoload by NFS * Patch by Dan Eisenhut, 26 Feb 2004: fix flash_write return value in saveenv * Patch by Stephan Linz, 11 Dec 2003 expand config.mk to avoid trigraph warnings on NIOS * Rename "BMS2003" board into "HMI10"
* * Patch by Masami Komiy, 22 Feb 2004:wdenk2004-02-24-1/+2
| | | | | | Add support for NFS for file download * Minor code cleanup
* * Some code cleanupwdenk2004-02-12-1/+2
| | | | | | | | * Patch by Josef Baumgartner, 10 Feb 2004: Fixes for Coldfire port * Patch by Brad Kemp, 11 Feb 2004: Fix CFI flash driver problems
* Patch by Travis Sawyer, 30 Dec 2003:wdenk2004-02-06-1/+2
| | | | | | | 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-0/+2
| | | | | | | | 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-2/+3
| | | | | | | | | | | | 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
* Add a common get_ram_size() function and modify the thewdenk2004-01-06-38/+41
| | | | board-specific files to invoke that common implementation.
* * Fix problems caused by Robert Schwebel's cramfs patchwdenk2004-01-04-11/+15
| | | | | | | | | | | | * Patch by Scott McNutt, 02 Jan 2004: Add support for the Nios Active Serial Memory Interface (ASMI) on Cyclone devices * Patch by Andrea Marson, 16 Dec 2003: Add support for the PPChameleon ME and HI modules * Patch by Yuli Barcohen, 22 Dec 2003: Add support for Motorola DUET ADS board (MPC87x/88x)
* * Patch by Denis Peter, 8 Dec 2003wdenk2004-01-02-0/+1
| | | | | | | | | | - add support for the PATI board (MPC555) - add SPI support for the MPC5xx * Patch by Anders Larsen, 08 Dec 2003: add configuration options CONFIG_SERIAL_TAG and CONFIG_REVISION_TAG to pass ATAG_SERIAL and ATAG_REVISION, resp., to the ARM target; cleanup some redundand #defines
* * Cleanup lowboot code for MPC5200wdenk2004-01-02-7/+7
| | | | | | | | | | | | | | | | | | * 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
* * Make CPU clock on ICA-IP board controllable by a "cpuclk"wdenk2003-12-27-0/+3
| | | | | | | | | | | | | | environment variable which can set to "100", "133", or "150". The CPU clock will be configured accordingly upon next reboot. Other values are ignored. In case of an invalid or undefined "cpuclk" value, the compile-time default CPU clock speed will be used. * Enable Quad-UART on BMS2003 board (initialize the PCMCIA memory window that is used to access the UART registers by the Linux driver) * Patch by Reinhard Meyer, 20 Dec 2003: Fix clock calculation for the MPC5200 for higher clock frequencies (above 2**32 / 10 = 429.5 MHz).
* * Patches by Xianghua Xiao, 15 Oct 2003:wdenk2003-10-15-1/+11
| | | | | | | | - Added Motorola CPU 8540/8560 support (cpu/85xx) - Added Motorola MPC8540ADS board support (board/mpc8540ads) - Added Motorola MPC8560ADS board support (board/mpc8560ads) * Minor code cleanup
* * Patches by Thomas Lange, 09 Oct 2003:wdenk2003-10-09-5/+5
| | | | | | | | | | - fix cmd_ide.c for non ppc boards (read/write functions did not add ATA base address) - fix for shannon board - #ifdef CONFIG_IDE_8xx_DIRECT some otherwise unused code * Patch by Sangmoon Kim, 07 Oct 2003: add support for debris board
* * Map ISP1362 USB OTG controller for NSCU boardwdenk2003-08-05-1/+4
| | | | | | | | | * Patch by Brad Parker, 02 Aug 2003: fix sc520_cdp problems * Implement Boot Cycle Detection (Req. 2.3 of OSDL CGL Reqirements) * Allow erase command to cross flash bank boundaries
* * Implement new mechanism to export U-Boot's functions to standalonewdenk2003-07-24-2/+3
| | | | | | | | applications: instead of using (PPC-specific) system calls we now use a jump table; please see doc/README.standalone for details * Patch by Dave Westwood, 24 Jul 2003: added support for Unity OS (a proprietary OS)
* * Patch by Martin Krause, 17 Jul 2003:wdenk2003-07-17-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | add delay to get I2C working with "imm" command and s3c24x0_i2c.c * Patch by Richard Woodruff, 17 July 03: - Fixed bug in OMAP1510 baud rate divisor settings. * Patch by Nye Liu, 16 July 2003: MPC860FADS fixes: - add MPC86xADS support (uses MPC86xADS.h) - add 866P/T core support (also MPC859T/MPC859DSL/MPC852T) o PLPRCR changes o BRG changes (EXTAL/XTAL restricted to 10MHz) o don't trust gclk() software measurement by default, depend on CONFIG_8xx_GCLK_FREQ - add DRAM SIMM not installed detection - use more "correct" SDRAM initialization sequence - allow different SDRAM sizes (8xxADS has 8M) - default DER is 0 - remove unused MAMR defines from FADS860T.h (all done in fads.c) - rename MAMR/MBMR defines to be more consistent. Should eventually be merged into MxMR to better reflect the PowerQUICC datasheet. * Patch by Yuli Barcohen, 16 Jul 2003: support new Motorola PQ2FADS-ZU evaluation board which replaced MPC8260ADS and MPC8266ADS
* * Add support for IceCube board (with MGT5100 and MPC5200 CPUs)wdenk2003-07-16-0/+3
| | | | * Add support for MGT5100 and MPC5200 processors
* Fix some missing commands, cleanup header fileswdenk2003-06-29-1/+4
| | | | (autoscript, bmp, bsp, fat, mmc, nand, portio, ...)
* * Code cleanup:wdenk2003-06-27-1/+1
| | | | | | | | | - remove trailing white space, trailing empty lines, C++ comments, etc. - split cmd_boot.c (separate cmd_bdinfo.c and cmd_load.c) * Patches by Kenneth Johansson, 25 Jun 2003: - major rework of command structure (work done mostly by Michal Cendrowski and Joakim Kristiansen)
* Patches by Murray Jensen, 17 Jun 2003:wdenk2003-06-19-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Hymod board database mods: add "who" field and new xilinx chip types - provide new "init_cmd_timeout()" function so code external to "common/main.c" can use the "reset_cmd_timeout()" function before entering the main loop - add DTT support for adm1021 (new file dtt/adm1021.c; config slightly different. see include/configs/hymod.h for an example (requires CONFIG_DTT_ADM1021, CONFIG_DTT_SENSORS, and CFG_DTT_ADM1021 defined) - add new "eeprom_probe()" function which has similar args and behaves in a similar way to "eeprom_read()" etc. - add 8260 FCC ethernet loopback code (new "eth_loopback_test()" function which is enabled by defining CONFIG_ETHER_LOOPBACK_TEST) - gdbtools copyright update - ensure that set_msr() executes the "sync" and "isync" instructions after the "mtmsr" instruction in cpu/mpc8260/interrupts.c - 8260 I/O ports fix: Open Drain should be set last when configuring - add SIU IRQ defines for 8260 - allow LDSCRIPT override and OBJCFLAGS initialization: change to config.mk to allow board configurations to override the GNU linker script, selected via the LDSCRIPT, make variable, and to give an initial value to the OBJCFLAGS make variable - 8260 i2c enhancement: o correctly extends the timeout depending on the size of all queued messages for both transmit and receive o will not continue with receive if transmit times out o ensures that the error callback is done for all queued tx and rx messages o correctly detects both tx and rx timeouts, only delivers one to the callback, and does not overwrite an earlier error o logic in i2c_probe now correct - add "vprintf()" function so that "panic()" function can be technically correct - many Hymod board changes
* Patches by Robert Schwebel, 14 Jun 2003:wdenk2003-06-19-0/+2
| | | | | | | - add support for Logotronic DL datalogger board - cleanup serial line after kermit binary download - add debugX macro (debug level support) - update mach-types.h to latest arm.linux.org.uk master list.
* * Fix CONFIG_NET_MULTI support in include/net.hwdenk2003-06-15-2/+14
| | | | | | | | | | | | | * Patches by Kyle Harris, 13 Mar 2003: - Add FAT partition support - Add command support for FAT - Add command support for MMC ---- - Add Intel PXA support for video - Add Intel PXA support for MMC ---- - Enable MMC and FAT for lubbock board - Other misc changes for lubbock board
* * Get (mostly) rid of CFG_MONITOR_LEN definition; compute real lengthwdenk2003-05-30-0/+1
| | | | | | | | instead CFG_MONITOR_LEN is now only used to determine _at_compile_ _time_ (!) if the environment is embedded within the U-Boot image, or in a separate flash sector. * Cleanup CFG_DER #defines in config files (wd maintained only)
* * Add support for Promess ATC boardwdenk2003-05-03-1/+1
| | | | | | | | | | | | | | * Patch by Keith Outwater, 28 Apr 2003: - Miscellaneous corrections and additions to GEN860T board specific code. - Added GEN860_SC variant to GEN860T. - Miscellaneous corrections to GEN860T documentation. - Correct duplicate entry in U-Boot CREDITS file. - Add GEN860T_SC entry in MAINTAINERS file. - Update CREDITS file with GEN860T_SC info. * Update Smiths Aerospace addresses in MAINTAINERS file * Fix error handling in hush's version of "run" command
* Add support for TQM862L moduleswdenk2003-04-10-1/+2
|