summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-05-03[MIPS] cpu/mips/cache.S: Add dcache_enableShinya Kuribayashi
Recent bootelf command fixes (017e9b7925f74878d0e9475388cca9bda5ef9482, "allow ports to override bootelf behavior") requires ports to have this function. Signed-off-by: Shinya Kuribayashi <skuribay@ruby.dti.ne.jp> Acked-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2008-05-01Merge branch 'master' of git+ssh://10.10.0.7/home/wd/git/u-boot/masterWolfgang Denk
2008-05-01onenand: rename 16 bit memory copy into memcpy_16() to avoid conflictsWolfgang Denk
Onenand needs a version of memcpy() which performs 16 bit accesses only; make sure the name does not conflict with the standard function. Signed-off-by: Wolfgang Denk <wd@denx.de>
2008-04-30Merge branch 'master' of git+ssh://10.10.0.7/home/wd/git/u-boot/masterWolfgang Denk
2008-04-30cmd_nand: fix warning: str2long ncompatible pointer typeJean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2008-04-30Fix calculation of I2C clock for some 86xx chipsTimur Tabi
Some 86xx chips use CCB as the base clock for the I2C, and others used CCB/2. There is no pattern that can be used to determine which chips use which frequency, so the only way to determine is to look up the actual SOC designation and use the right value for that SOC. Signed-off-by: Timur Tabi <timur@freescale.com>
2008-04-30ColdFire: Fix ethernet hang issue for mcf547x_8xTsiChung Liew
The ethernet hang is caused by receiving buffer in DRAM is not yet ready due to access cycles require longer time in DRAM. Relocate DMA buffer descriptors from DRAM to internal SRAM. Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
2008-04-30ColdFire: Fix compilation issue caused by new changes in fsl_i2c.cTsiChung Liew
Signed-off-by: Luigi Comio Mantellini <luigi.mantellini@idf-hit.com> Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
2008-04-30ColdFire: Get information from the correct GCCTsiChung Liew
Signed-off-by: Kurt Mahan <kmahan@freescale.com> Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
2008-04-30Fix warning in env_nand.c if compiled for DaVinci Schmoogiedirk.behme@googlemail.com
Fix warnings nv_nand.c: In function 'saveenv': env_nand.c:200: warning: passing argument 3 of 'nand_write' from incompatible pointer type env_nand.c: In function 'env_relocate_spec': env_nand.c:275: warning: passing argument 3 of 'nand_read' from incompatible pointer type if compiled for davinci_schmoogie_config. Signed-off-by: Dirk Behme <dirk.behme@gmail.com> Ack by: Sergey Kubushyn <ksi@koi8.net>
2008-04-30Fix warnings while compiling net/net.c for MPC8610HPCD boardAnatolij Gustschin
MPC8610HPCD board adds -O2 gcc option to PLATFORM_CPPFLAGS causing overriding default -Os option. New gcc (ver. 4.2.2) produces warnings while compiling net/net.c file with -O2 option. The patch is an attempt to fix this. Signed-off-by: Anatolij Gustschin <agust@denx.de>
2008-04-30lwmon5: fix offset error in sysmon0 POSTSascha Laue
Signed-off-by: Sascha Laue <sascha.laue@liebherr.com> Signed-off-by: Wolfgang Denk <wd@denx.de>
2008-04-30lwmon5: fix manual merge error in POSTSascha Laue
Signed-off-by: Sascha Laue <sascha.laue@liebherr.com>
2008-04-30cmd_nand.c: fix another 'incompatible pointer type' warning.Wolfgang Denk
Signed-off-by: Wolfgang Denk <wd@denx.de>
2008-04-30Makefile: fix parallel buildsWolfgang Denk
This problem shows up with parallel builds only; it results in somewhat cryptic error messages like $ JOBS=-j6 MAKEALL netstar Configuring for netstar board... arm-linux-ld: cannot find -lgeneric make[1]: *** [eeprom.srec] Error 1 A few boards (like netstar and voiceblue) need some libraries for building; however, the board Makefile does not contain any such dependencies which may cause problems with parallel builds. Adding such dependencies is difficult as we would also have to provide build rules, which already exist in the respective library Makefiles. To solve this, we make sure that all libraries get built before the board code. Signed-off-by: Wolfgang Denk <wd@denx.de>
2008-04-29Prepare v1.3.3-rc2, again.v1.3.3-rc2Wolfgang Denk
Signed-off-by: Wolfgang Denk <wd@denx.de>
2008-04-29Merge branch 'master' of git://www.denx.de/git/u-boot-netWolfgang Denk
2008-04-29Prepare v1.3.3-rc2Wolfgang Denk
Signed-off-by: Wolfgang Denk <wd@denx.de>
2008-04-29common/env_nand.c: fix one more incompatible pointer type issueWolfgang Denk
Signed-off-by: Wolfgang Denk <wd@denx.de>
2008-04-29post/board/lwmon5/sysmon.c: fix manual merge error.Wolfgang Denk
Signed-off-by: Wolfgang Denk <wd@denx.de>
2008-04-2985xx: Add -mno-spe to e500/85xx buildsKumar Gala
Newer gcc's might be configured to enable autovectorization by default. If we happen to build with one of those compilers we will get SPE instructions in random code. -mno-spe disables the compiler for automatically generating SPE instructions without our knowledge. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
2008-04-29Merge branch 'master' of git://www.denx.de/git/u-boot-ppc4xxWolfgang Denk
2008-04-29Merge branch 'master' of git://www.denx.de/git/u-boot-mpc85xxWolfgang Denk
2008-04-29Update .gitignore for zlib.hKumar Gala
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
2008-04-2985xx/86xx: Rename ext_refrec to timing_cfg_3 to match docsKumar Gala
All the 85xx and 86xx UM describe the register as timing_cfg_3 not as ext_refrec. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
2008-04-2985xx/86xx: Rename DDR init address and init extended address registerKumar Gala
Rename init_addr and init_ext_addr to match the docs between 85xx and 86xx. Both now use 'init_addr' and 'init_ext_addr'. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
2008-04-2985xx: Additional fixes and cleanup of MP codeKumar Gala
* adjust __spin_table alignment to match ePAPR v0.94 spec * loop over all cpus when determing who is up. This fixes an issue if the "boot cpu" isn't core0. The "boot cpu" will already be in the cpu_up_mask so there is no harm * Added some protection in the code to ensure proper behavior. These changes are explicitly needed but don't hurt: - Added eieio to ensure the "hot word" of the table is written after all other table updates have occurred. - Added isync to ensure we don't prefetch loading of table entries until we a released These issues we raised by Dave Liu. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
2008-04-29Merge branch 'master' of git+ssh://10.10.0.7/home/wd/git/u-boot/masterWolfgang Denk
2008-04-29lwmon5: minor clean-up to include/configs/lwmon5.hYuri Tikhonov
LWMON5 DSPIC POST uses the watch-dog scratch register. So, make the CFG_DSPIC_TEST_ADDR definition more readable. Signed-off-by: Yuri Tikhonov <yur@emcraft.com>
2008-04-29ppc4xx: Fix CFG_MONITOR_LEN on Katmai failsave this timeStefan Roese
Signed-off-by: Stefan Roese <sr@denx.de>
2008-04-29Merge branch 'master' of git+ssh://10.10.0.7/home/wd/git/u-boot/masterWolfgang Denk
2008-04-29ppc flush_cache: add watch-dog triggering into the loops.Yuri Tikhonov
Some boards (e.g. lwmon5) need rather a frequent watch-dog kicking. Since the time it takes for the flush_cache() function to complete its job depends on the size of data being flushed, one may encounter watch-dog resets on such boards when, for example, download big files over ethernet. Signed-off-by: Yuri Tikhonov <yur@emcraft.com>
2008-04-29ppc4xx: Fix compilation warning in denali_spd_ddr2.cStefan Roese
Signed-off-by: Stefan Roese <sr@denx.de>
2008-04-29ppc4xx: Fix Katmai CFG_MONITOR_LENStefan Roese
Signed-off-by: Stefan Roese <sr@denx.de>
2008-04-29ppc4xx: Complete remove bogus dflush()Stefan Roese
Since the current dflush() implementation is know to have some problems (as seem on lwmon5 ECC init) this patch removes it completely and replaces it by using clean_dcache_range(). Tested on Katmai with ECC DIMM. Signed-off-by: Stefan Roese <sr@denx.de>
2008-04-29ppc4xx: Change ECC initialization on lwmon5 to use clean_dcache_range()Stefan Roese
As it seems the "old" ECC initialization routine by using dflush() didn't write all lines in the dcache back to memory on lwmon5. This could lead to ECC error upon Linux booting. This patch changes the program_ecc() routine to now use clean_dcache_range() instead of dflush(). clean_dcache_range() uses dcbst which is exactly what we want in this case. Since dflush() is known is cause problems, this routine will be removed completely and replaced by clean_dcache_range() with an additional patch. Signed-off-by: Stefan Roese <sr@denx.de>
2008-04-29Merge branch 'master' of git+ssh://10.10.0.7/home/wd/git/u-boot/masterWolfgang Denk
2008-04-29POST: fix Makefiles for mpc8xx, lwmon, and netta POSTs.Yuri Tikhonov
Signed-off-by: Yuri Tikhonov <yur@emcraft.com>
2008-04-29ppc4xx: Fixup ebc clock in FDT for 405GP/EPMarkus Brunner
On ppc405EP and ppc405GP (at least) the ebc is directly attached to the plb and not to the opb. This patch will try to fixup /plb/ebc if /plb/opb/ebc doesn't exist. Signed-off-by: Markus Brunner <super.firetwister@gmail.com>
2008-04-28NE2000: Fix regresssion introduced by e710185aae90 on non AX88796Jean-Christophe PLAGNIOL-VILLARD
Move non-inlied functions into specific drivers file Set get_prom as weak Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Vlad Lungu <vlad@comsys.ro> Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
2008-04-28net: make ARP timeout configurableGuennadi Liakhovetski
Currently the timeout waiting for an ARP reply is hard set to 5 seconds. On i.MX31ADS due to a hardware "strangeness" up to four first IP packets to the boards get lost, which typically are ARP replies. By configuring the timeout to a lower value we significantly improve the first network transfer time on this board. The timeout is specified in milliseconds, later internally it is converted to deciseconds, because it has to be converted to hardware ticks, and CFG_HZ ranges from 900 to 27000000 on different boards. Signed-off-by: Guennadi Liakhovetski <lg@denx.de> Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
2008-04-28minor cs8900 driver clean upGuennadi Liakhovetski
Remove a redundant register definition, clean up some coding style violations. Signed-off-by: Guennadi Liakhovetski <lg@denx.de> Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
2008-04-28jffs2_1pass.c: fix incompatible pointer type warningWolfgang Denk
Signed-off-by: Wolfgang Denk <wd@denx.de>
2008-04-28lwmon5: update dsPIC POST spezificationSascha Laue
The specification for the lwmon5 board dsPIC POST got changed. Also add defines for the temperatures and voltages. Signed-off-by: Sascha Laue <sascha.laue@liebherr.com>
2008-04-28Fix watchdog POST for lwmon5Sascha Laue
If the hardware watchdog detects a voltage error, the watchdog sets GPIO62 to low. The watchdog POST has to detect this low level. Signed-off-by: Sascha Laue <leglas0@legpc180.leg.liebherr.i> Signed-off-by: Wolfgang Denk <wd@denx.de>
2008-04-28rtl8169: fix compiler warningsGuennadi Liakhovetski
Fix multiple compiler warnings related to argument type mismatch. Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
2008-04-28IDE: fix compiler warningsGuennadi Liakhovetski
The IDE driver can use 32-bit addresses in LBA mode, in which case it spits multiple warnings during compilation. Fix them. Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
2008-04-28LinkStation: fix compiler warning, add a maintainerGuennadi Liakhovetski
out_8 wants a pointer to an unsigned as the first argument. Add a maintainer for Linkstation boards. Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
2008-04-28cmd_nand.c: fix "differ in signedness" problemWolfgang Denk
Signed-off-by: Wolfgang Denk <wd@denx.de>
2008-04-28pcnet.c: fix a merge issueWolfgang Denk
Signed-off-by: Wolfgang Denk <wd@denx.de>