summaryrefslogtreecommitdiff
path: root/board/icecube/icecube.c
Commit message (Collapse)AuthorAgeLines
* Change initdram() return type to phys_size_tBecky Bruce2008-06-12-2/+2
| | | | | | | | | | | | | | | | | | | This patch changes the return type of initdram() from long int to phys_size_t. This is required for a couple of reasons: long int limits the amount of dram to 2GB, and u-boot in general is moving over to phys_size_t to represent the size of physical memory. phys_size_t is defined as an unsigned long on almost all current platforms. This patch *only* changes the return type of the initdram function (in include/common.h, as well as in each board's implementation of initdram). It does not actually modify the code inside the function on any of the platforms; platforms which wish to support more than 2GB of DRAM will need to modify their initdram() function code. Build tested with MAKEALL for ppc, arm, mips, mips-el. Booted on powerpc MPC8641HPCN. Signed-off-by: Becky Bruce <becky.bruce@freescale.com>
* Migrate 5xxx boards from CONFIG_OF_FLAT_TREE to CONFIG_OF_LIBFDTGrant Likely2007-09-06-5/+2
| | | | | | | | | | | | | | Affects boards: icecube (lite5200), jupiter, motionpro, tqm5200 Tested on: lite5200b Note: the fixup functions have not been moved to a common place. This patch is targeted for immediate merging as in solves a build issue, but the final name/location of the fixups is still subject to debate. I propose to merge this now, and move the fixups in the next merge window to be usable by all targets. Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
* board/[A-Za-i]*: Remove lingering references to CFG_CMD_* symbols.Jon Loeliger2007-07-10-2/+2
| | | | | | | | Fixed some broken instances of "#ifdef CMD_CFG_IDE" too. Those always evaluated TRUE, and thus were always compiled even when IDE really wasn't defined/wanted. Signed-off-by: Jon Loeliger <jdl@freescale.com>
* [PATCH] icecube/lite5200b: wakeup from low-power supportDomen Puncer2007-04-16-0/+49
| | | | | | | | | U-Boot part of Lite5200b low power mode support. Puts SDRAM out of self-refresh and transfers control to address saved at physical 0x0. Signed-off-by: Domen Puncer <domen.puncer@telargo.com> Acked-by: Grant Likely <grant.likely@secretlab.ca>
* Code cleanup.Wolfgang Denk2006-11-30-1/+1
|
* [PATCH] Enable the IceCube/lite5200 variants to pass a device tree to Linux.Stefan Roese2006-11-28-0/+12
| | | | | | | | This patch adds the code and configuration necessary to boot with an arch/powerpc Linux kernel. Signed-off-by: Grant Likely <grant.likely@gmail.com> Acked-by: Jon Loeliger <jdl@freescale.com>
* - Add MPC5XXX register definition MPC5XXX_WU_GPIO_DATA_I and change theBartlomiej Sieka2006-11-01-5/+3
| | | | | | | | MPC5XXX_WU_GPIO_DATA macro to MPC5XXX_WU_GPIO_DATA_O (per MPC5200 User's Manual). Replace the uses of MPC5XXX_WU_GPIO_DATA with MPC5XXX_WU_GPIO_DATA_O for affected boards. - Add defintions for some MPC5XXX GPIO pins.
* Some code cleanupWolfgang Denk2006-04-16-6/+6
|
* Set SDelay register in the DDR controller for the MPC5200B chip.Rafal Jaworowski2006-03-29-0/+21
|
* Add support for Lite5200B board.Wolfgang Denk2006-03-17-4/+9
| | | | Patch by Patch by Jose Maria (Txema) Lopez, 16 Jan 2006
* Cleanup for GCC-4.xWolfgang Denk2005-10-13-6/+6
|
* Major upate of JFFS2 code; now in sync with snapshot of MTD CVS ofwdenk2005-05-05-1/+1
| | | | | March 13, 2005); new configuration options CONFIG_JFFS2_LZO and CONFIG_JFFS2_LZARI are added. Both are undefined by default.
* Fix bug in the SDRAM initialization code for canmb, IceCube andwdenk2005-04-21-4/+7
| | | | | | PM520 boards. Fix PHY address for canmb board.
* Fix problems with CDROM drive as slave device on Lite5200 IDE bus.wdenk2004-09-28-0/+4
|
* * Modify KUP4X board configuration to use SL811 driver for USB memorywdenk2004-04-23-9/+8
| | | | | | | | | | | | | | | sticks (including FAT / VFAT filesystem support) * Add SL811 Host Controller Interface driver for USB * Add CFG_I2C_EEPROM_ADDR_OVERFLOW desription to README * Patch by Pantelis Antoniou, 19 Apr 2004: Allow to use shell style syntax (i. e. ${var} ) with standard parser. Minor patches for Intracom boards. * Patch by Christian Pell, 19 Apr 2004: cleanup support for CF/IDE on PCMCIA for PXA25X
* * Temporarily disabled John Kerl's extended MII command code becausewdenk2004-04-18-78/+148
| | | | | | | | | | | "miivals.h" is missing * Patches by Mark Jonas, 13 Apr 2004: - Remove CS0 chip select timing setting from cpu/mpc5xxx/start.S - Add sync instructions to IceCube SDRAM init code - Move SDRAM chip constants into seperate include files - Unify DDR and SDR initialization code - Unify all IceCube (Lite5xxx) target names
* Code cleanup; make several boards compile & link.wdenk2004-03-14-1/+1
|
* * Patch by Tolunay Orkun, 5 Mar 2004:wdenk2004-03-14-6/+6
| | | | | | | | | | | | | Fix early board initialization for Cogent CSB272 board * Patch by Ed Okerson, 3 Mar 2004: fix CFI flash writes for little endian systems * Patch by Reinhard Meyer, 01 Mar 2004: generalize USB and IDE support for MPC5200 with according changes to IceCube.h and TOP5200.h add Am29LV256 256 MBit FLASH support for TOP5200 boards add info about USB and IDE to README
* * Patch by Yuli Barcohen, 4 Mar 2004:wdenk2004-03-14-0/+25
| | | | | | | | | | | | | | | | | Fix problems with GCC 3.3.x which changed handling of global variables explicitly initialized to zero (now in .bss instead of .data as before). * Patch by Leon Kukovec, 02 Mar 2004: add strswab() to fix IDE LBA capacity, firmware and model numbers on little endian machines * Patch by Masami Komiya, 02 Mar 2004: - Remove get_ticks() from NFS code - Add verification of RPC transaction ID * Patch by Pierre Aubert, 02 Mar 2004: cleanup for IDE and USB drivers for MPC5200
* * Fix SDRAM timings for LITE5200 / IceCube boardwdenk2004-03-02-6/+6
| | | | | | * Handle Auti-MDIX / connection status for INCA-IP * Fix USB problems when attempting to read 0 bytes
* Add a common get_ram_size() function and modify the thewdenk2004-01-06-42/+4
| | | | board-specific files to invoke that common implementation.
* * Cleanup lowboot code for MPC5200wdenk2004-01-02-1/+1
| | | | | | | | | | | | | | | | | | * 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
* * Fix IceCube CLKIN configuration (it's 33.000000MHz)wdenk2003-12-20-0/+54
| | | | | | * Add new configuration for IceCube board with DDR memory * Update TRAB memory configurations
* * Patch by Bernhard Kuhn, 28 Oct 2003:wdenk2003-11-07-1/+1
| | | | | | | | Add low boot support for MPC5200 * Fix problem with dual PCMCIA support (NSCU) * Fix MPC5200 I2C initialization function
* * Patches by Xianghua Xiao, 15 Oct 2003:wdenk2003-10-15-2/+2
| | | | | | | | - 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
* * Add support for SK98xx driverwdenk2003-09-05-0/+10
| | | | | | | | | | | | | | | * Add PCI support for SL8245 board * Support IceCube board configurations with 1 x AMD AM29LV065 (8 MB) or 1 x AM29LV652 (two LV065 in one chip = 16 MB); Run IPB at 133 Mhz; adjust the MII clock frequency accordingly * Set BRG_CLK on PM825/826 to 64MHz (VCO_OUT / 4, instead of 16 MHz) to allow for more accurate baudrate settings (error now 0.7% at 115 kbps, instead of 3.5% before) * Patch by Andreas Mohr, 4 Sep 2003: Fix a lot of spelling errors
* * Fix ICU862 environment problemwdenk2003-08-28-2/+9
| | | | | | * Fix RAM size detection for RMU board * Implement "reset" for MGT5100/MPC5200 systems
* * Make Ethernet autonegotiation on INCA-IP work for all clock rates;wdenk2003-08-17-35/+83
| | | | | | | | | | | | | allow selection of clock frequency as "make" target * Implement memory autosizing code for IceCube boards * Configure network port on INCA-IP for autonegotiation * Fix overflow problem in network timeout code * Patch by Richard Woodruff, 8 Aug 2003: Allow crc32 to be used at address 0x000 (crc32_no_comp, too).
* * Fix PCI support for MPC5200 / IceCube Boardwdenk2003-08-05-0/+12
|
* * Add support for IceCube board (with MGT5100 and MPC5200 CPUs)wdenk2003-07-16-0/+116
* Add support for MGT5100 and MPC5200 processors