summaryrefslogtreecommitdiff
path: root/include
Commit message (Collapse)AuthorAgeLines
* fsl_esdhc: Only modify the field we are changing in WMLRoy Zang2010-04-07-0/+2
| | | | | | | | | When we set the read or write watermark in WML we should maintain the rest of the register as is, rather than using some hard coded value. Signed-off-by: Roy Zang <tie-fei.zang@freescale.com> Acked-by: Stefano Babic <sbabic@denx.de> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
* fsl_esdhc: Add function to reset the eSDHC controllerJerry Huang2010-04-07-0/+1
| | | | | | | | | | | | To support multiple block read command we must set abort or use auto CMD12. If we booted from eSDHC controller neither of these are used and thus we need to reset the controller to allow multiple block read to function. Signed-off-by: Jerry Huang <Chang-Ming.Huang@freescale.com> Signed-off-by: Roy Zang <tie-fei.zang@freescale.com> Acked-by: Stefano Babic <sbabic@denx.de> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
* fsl_esdhc: Always stop clock before changing frequencyKumar Gala2010-04-07-2/+1
| | | | | | | | We need to stop the clocks on 83xx/85xx as well as imx. No need to make this code conditional to just imx. Signed-off-by: Kumar Gala <galak@kernel.crashing.org> Acked-by: Stefano Babic <sbabic@denx.de>
* Merge branch 'next'Wolfgang Denk2010-04-01-455/+1165
|\
| * i2c: made unused function i2c_mux_add_device staticFrans Meulenbroeks2010-03-29-2/+0
| | | | | | | | | | | | and removed it from the .h file Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
| * Merge remote branch 'origin/master' into nextWolfgang Denk2010-03-29-181/+7
| |\
| * \ Merge branch 'next' of git://git.denx.de/u-boot-coldfire into nextWolfgang Denk2010-03-28-203/+1104
| |\ \
| | * | ColdFire: Fix incorrect M5253DEMO default environmentTsiChung Liew2010-03-24-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | The flash location is at 0xff800000, not 0 Signed-off-by: TsiChung Liew <tsicliew@gmail.com>
| | * | ColdFire: Cache update for all platformsTsiChung Liew2010-03-24-1/+504
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The CF will call cache functions in lib_m68/cache.c and the cache settings are defined in platform configuration file. Signed-off-by: TsiChung Liew <tsicliew@gmail.com>
| | * | ColdFire: Fix SDRAM size on M5208evb rev ETsiChung Liew2010-03-24-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | The proper SDRAM size is 32MB not 64MB Signed-off-by: Jingchang Lu <b22599@freescale.com>
| | * | ColdFire: Misc update for M53017TsiChung Liew2010-03-24-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reside Ethernet buffer descriptors in SRAM instead of DRAM. Add CONFIG_SYS_TX_ETH_BUFFER in platform configuration file. Update DRAM control and SRAM control register setting. Update cache setting where size does not write to proper region. Signed-off-by: TsiChung Liew <tsicliew@gmail.com> Signed-off-by: Jason Jin <Jason.jin@freescale.com>
| | * | ColdFire: Update Extra environment Data for M5275EVBTsiChung Liew2010-03-24-5/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Provide extra environment Data. Remove default network address and MAC address. Signed-off-by: TsiChung Liew <tsicliew@gmail.com>
| | * | ColdFire: Update M5253DEMO configuration fileTsiChung Liew2010-03-24-7/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix incorrect default environment for flash erase or protect range. Change offset from 0 to 0xff80nnnn. Remove default ethernet setup and MAC address. Signed-off-by: TsiChung Liew <tsicliew@gmail.com>
| | * | ColdFire: Update processors' serial port configurationTsiChung Liew2010-03-24-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Provide parameter passing to uart_port_config(). Update port configuration - un-mask it before enable the bits. Signed-off-by: TsiChung Liew <tsicliew@gmail.com>
| | * | ColdFire: Correct bit definitionTsiChung Liew2010-03-24-186/+183
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Use correct definition for _MASK and _UNMASK. It was combined in the previous used and causes confusion. Signed-off-by: TsiChung Liew <tsicliew@gmail.com>
| | * | add block write function to spartan3 slave serial loadWolfgang Wegner2010-03-24-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Using seperate function calls for each bit-bang of slave serial load can be painfully slow. This patch adds the possibility to supply a block write function that loads the complete block of data in one call (like it can already be done with Altera FPGAs). On an MCF5373L (240 MHz) loading an XC3S4000 this reduces the load time from around 15 seconds to around 3 seconds Signed-off-by: Wolfgang Wegner <w.wegner at astro-kom.de>
| | * | add ASTRO MCF5373L boardWolfgang Wegner2010-03-24-0/+389
| | | | | | | | | | | | | | | | | | | | | | | | This patch adds support for ASTRO board(s) based on MCF5373L. Signed-off-by: Wolfgang Wegner <w.wegner@astro-kom.de>
| * | | TI: Davinci: NAND Driver CleanupCyril Chemparathy2010-03-23-41/+36
| |/ / | | | | | | | | | | | | | | | | | | Modified to use IO accessor routines consistently. Eliminated volatile usage to keep checkpatch.pl happy. Signed-off-by: Cyril Chemparathy <cyril@ti.com>
| * | Merge remote branch 'origin/master' into nextWolfgang Denk2010-03-21-1/+1
| |\ \
| * | | fdt_support: add partitions fixup in mtd nodeAnatolij Gustschin2010-03-21-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allow overwriting defined partitions in the device tree blob using partition info defined in the 'mtdparts' environment variable. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Gerald Van Baren <vanbaren@cideas.com>
| * | | POST: add progress APIMichael Zaidman2010-03-21-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add POST progress API implemented as weak calls before and after each call to the POST test callback in the post_run_single routine of the post.c file. Signed-off-by: Michael Zaidman <michael.zaidman@gmail.com> Acked-by: Detlev Zundel <dzu@denx.de>
| * | | nios2: Added support to YANU UARTRenato Andreola2010-03-21-0/+115
| | | | | | | | | | | | | | | | Signed-off-by: Scott McNutt <smcnutt@psyent.com>
| * | | nios2: use generic unaligned.hThomas Chou2010-03-21-0/+6
| | | | | | | | | | | | | | | | Signed-off-by: Scott McNutt <smcnutt@psyent.com>
| * | | mpc5xxx: Remove all references to MGT5100Detlev Zundel2010-03-21-209/+6
| | | | | | | | | | | | | | | | | | | | | | | | We do not support a processor that never reached a real customer. Signed-off-by: Detlev Zundel <dzu@denx.de>
* | | | mpc86xx: set the DDR BATs after calculating true DDR sizeTimur Tabi2010-03-30-8/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | After determining how much DDR is actually in the system, set DBAT0 and IBAT0 accordingly. This ensures that the CPU won't attempt to access (via speculation) addresses outside of actual memory. On 86xx systems, DBAT0 and IBAT0 (the BATs for DDR) are initialized to 2GB and kept that way. If the system has less than 2GB of memory (typical for an MPC8610 HPCD), the CPU may attempt to access this memory during speculation. The zlib code is notorious for generating such memory reads, and indeed on the MPC8610, uncompressing the Linux kernel causes a machine check (without this patch). Currently we are limited to power of two sized DDR since we only use a single bat. If a non-power of two size is used that is less than CONFIG_MAX_MEM_MAPPED u-boot will crash. Signed-off-by: Timur Tabi <timur@freescale.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
* | | | 85xx: Fix enabling of L1 cache parity on secondary coresKumar Gala2010-03-30-0/+2
| |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use the same code between primary and secondary cores to init the L1 cache. We were not enabling cache parity on the secondary cores. Also, reworked the L1 cache init code to match the e500mc L2 init code that first invalidates the cache and locks. Than enables the cache and makes sure its enabled before continuing. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
* | | ml300: remove support for broken, orphaned boardWolfgang Denk2010-03-28-181/+0
| | | | | | | | | | | | | | | | | | | | | | | | The ml300 board has a number of issues, but nobody cares about this long-orphaned board any more. Remove it. Signed-off-by: Wolfgang Denk <wd@denx.de> Acked-by: Michal Simek <monstr@monstr.eu>
* | | ppc4xx fix unstable 440EPx bootstrap optionsRupjyoti Sarmah2010-03-24-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 440EPx fixed bootstrap options A, B, D, and E sets PLL FWDVA to a value = 1. This results in the PLLOUTB being greater than the CPU clock frequency resulting unstable 440EPx operation resulting in various software hang conditions. This patch reprograms the FWDVA satisfying the requirement of setting FWDVB to a value greater than 1 while using one of the four deafult bootstrap options. Signed-off-by: Rupjyoti Sarmah <rsarmah@amcc.com> Acked-by : Victor Gallardo <vgallardo@appliedmicro.com> Signed-off-by: Stefan Roese <sr@denx.de>
* | | at91: Get rid of some warnings when building for otc570Matthias Fuchs2010-03-24-0/+1
| |/ |/| | | | | | | | | | | | | | | The soft-i2c code for AT91 defines I2C_SOFT_DECLARATIONS for direct access by dereferencing a pio pointer. The OTC570 platform uses the AT91 gpio API so it does not need the pio variable. Signed-off-by: Matthias Fuchs <matthias.fuchs@esd.eu>
* | correct a syntax typo in at91_matrix.hAsen Dimov2010-03-21-1/+1
| | | | | | | | Signed-off-by: Asen Dimov <dimov@ronetix.at>
* | mod change 755 => 644 for multiple filesThomas Weber2010-03-21-0/+0
| | | | | | | | | | | | | | | | I executed 'find . -name "*.[chS]" -perm 755 -exec chmod 644 {} \;' Signed-off-by: Thomas Weber <swirl@gmx.li> Add some more: neither Makefile nor config.mk need execute permissions. Signed-off-by: Wolfgang Denk <wd@denx.de>
* | nios2: Added support to YANU UARTRenato Andreola2010-03-16-0/+115
| | | | | | | | Signed-off-by: Scott McNutt <smcnutt@psyent.com>
* | nios2: use generic unaligned.hThomas Chou2010-03-16-0/+6
|/ | | | Signed-off-by: Scott McNutt <smcnutt@psyent.com>
* asm-blackfin/unaligned.h: add for zlib codeMike Frysinger2010-03-14-0/+1
| | | | | | | The new zlib code wants asm/unaligned.h, so have the Blackfin version pull in the asm-generic/unaligned.h. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* asm-generic/unaligned.h: dynamic default unaligned accessesMike Frysinger2010-03-14-0/+23
| | | | | | | This is based on the asm-arm/unaligned.h, but made generic so all arches that cannot do unaligned accesses can utilize it. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Prepare v2010.03-rc1v2010.03-rc1Wolfgang Denk2010-03-12-6/+0
| | | | | | Coding style cleanup, update CHANGELOG. Signed-off-by: Wolfgang Denk <wd@denx.de>
* mpc82xx: Remove SL8245 board and the now orpahned sk98lin network driver.Detlev Zundel2010-03-12-294/+0
| | | | | | | | | This code has compile problems and the company does not even exist any more. So we take the liberty to drop support for it. Signed-off-by: Detlev Zundel <dzu@denx.de> CC: Wolfgang Denk <wd@denx.de> CC: Ben Warren <biggerbadderben@gmail.com>
* 85xx: Drop FIT support to allow u-boot image to fit in 512kKumar Gala2010-03-12-4/+0
| | | | | | | The 36-bit build exceeds the 512k size we have. Removing FIT type image support allows us to fit and we dont really use it. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
* TQM8xx: enable device tree support on all TQM8xx based boards.Heiko Schocher2010-03-12-0/+96
| | | | | | | | | | | | | Also enable support for CONFIG_HWCONFIG because we use this for configuring if this hardware has a FEC or not. syntax: hwconfig=fec:on if hardware has an fec hwconfig=fec:off if hardware has no fec Signed-off-by: Heiko Schocher <hs@denx.de> Signed-off-by: Wolfgang Denk <wd@denx.de>
* PPC: Record U-Boot's relocated address in RAM and show in bdinfo.Richard Retanubun2010-03-11-2/+0
| | | | | | | | | | | This patch uses gd->relocaddr variable to store uboot's relocated address in RAM and shows it in bdinfo command. This patch moves CONFIG_AMIGAONEG3SE style copying of the address in board_init_f to just before relocation is actually done. Signed-off-by: Richard Retanubun <RichardRetanubun@RuggedCom.com> Tested-by: Detlev Zundel <dzu@denx.de>
* AT91: Update otc570 board to new SoC accessDaniel Gorsulowski2010-03-07-13/+12
| | | | | | | * convert otc570 board to use c stucture SoC access * change gpio access to at91_gpio syntax Signed-off-by: Daniel Gorsulowski <Daniel.Gorsulowski@esd.eu>
* updates the at91 main_clock calculationJens Scharsig2010-03-07-0/+3
| | | | | | | * updates the conditional main_clock calculation (if AT91_MAIN_CLOCK defined) to c structure SoC access * add need register flags Signed-off-by: Jens Scharsig <js_at_ng@scharsoft.de>
* MX51: removed warnings for the mx51evkStefano Babic2010-03-07-23/+44
| | | | | | | | | | | The patch removes warnings at compile time and provides some cleanup code: - Removed comment on NAND (not yet supported) from lowlevel_init.S - Removed NFMS bit definition from imx-regs.h The bit is only related to MX.25/35 and can lead to confusion - Moved is_soc_rev() to soc specific code (removed from mx51evk.c) Signed-off-by: Stefano Babic <sbabic@denx.de>
* arm: add support for the suen3 board from keymileHeiko Schocher2010-03-07-0/+294
| | | | | | | | | | | | | Add support for the ARM part of the mgcoge2, named suen3. This board is based on the Marvell Kirkwood (88F6281) SoC. As there come more board variants, common config options are collected in include/configs/km_arm.h. Also, this board use common code for all keymile boards, which is stored in board/keymile/common/common.c Signed-off-by: Holger Brunck <holger.brunck@keymile.com> Signed-off-by: Stefan Roese <sr@denx.de> Signed-off-by: Heiko Schocher <hs@denx.de>
* Add support for KARO TX25 boardJohn Rigby2010-03-07-0/+179
| | | | | | | | | | | | | | This is an i.MX25 base board with only NAND so it uses nand_spl to boot. Signed-off-by: John Rigby <jcrigby@gmail.com> Tune configuration, add support for (redundant) environment in NAND. Signed-off-by: Wolfgang Denk <wd@denx.de> Acked-by: Wolfgang Denk <wd@denx.de> CC: Fred Fan <fanyefeng@gmail.com> CC: Tom <Tom.Rix@windriver.com>
* fec_mxc: add MX25 supportJohn Rigby2010-03-07-0/+1
| | | | | | | | Use RMII for MX25 Add code to init gasket that enables RMII Signed-off-by: John Rigby <jcrigby@gmail.com> CC: Ben Warren <biggerbadderben@gmail.com>
* fec_mxc: cleanup and factor out MX27 dependenciesJohn Rigby2010-03-07-0/+1
| | | | | | | | | | | | | general cleanup move clock init to cpu_eth_init in cpu/arm926ejs/mx27/generic.c make MX27 specific phy init conditional on CONFIG_MX27 replace call to imx_get_ahbclk with one to imx_get_fecclk and define imx_get_fecclk in include/asm-arm/arch-mx27/clock.h Signed-off-by: John Rigby <jcrigby@gmail.com> CC: Ben Warren <biggerbadderben@gmail.com> CC: Fred Fan <fanyefeng@gmail.com> CC: Tom <Tom.Rix@windriver.com>
* Add support for Freescale MX25 SOCJohn Rigby2010-03-07-0/+772
| | | | | | | | | ARM926EJS core with MX31 peripherals. Signed-off-by: John Rigby <jcrigby@gmail.com> Earlier Version Signed-off-by: Wolfgang Denk <wd@denx.de> CC: Fred Fan <fanyefeng@gmail.com> CC: Tom <Tom.Rix@windriver.com>
* mxc_serial replace platform specific clockJohn Rigby2010-03-07-0/+3
| | | | | | | | | | | | remove ifdef'd clock selection code from serial_mxc.c and replace with call to imx_get_uartclk Add definitions for imx_get_uartclk to imx31 and imx27 include files. This makes it easier to add new imx platforms. Signed-off-by: John Rigby <jcrigby@gmail.com>
* Add initial support for Freescale mx51evk boardStefano Babic2010-03-07-0/+172
| | | | | | | | The patch adds initial support for the Freescale mx51evk board. Network (FEC) and SD controller (fsl_esdhc) are supported. Signed-off-by: Stefano Babic <sbabic@denx.de> Signed-off-by: Fred Fan <fanyefeng@gmail.com>