summaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)Author
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-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-29Merge branch 'master' of git://www.denx.de/git/u-boot-ppc4xxWolfgang Denk
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-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-29ppc4xx: Fix Katmai CFG_MONITOR_LENStefan Roese
Signed-off-by: Stefan Roese <sr@denx.de>
2008-04-28NAND: fix some strict-aliasing compiler warningsWolfgang Denk
Signed-off-by: Wolfgang Denk <wd@denx.de>
2008-04-28Merge branch 'master' of git+ssh://10.10.0.7/home/wd/git/u-boot/masterWolfgang Denk
2008-04-28ppc4xx: Fix compile warning of hcu4 boardStefan Roese
Signed-off-by: Stefan Roese <sr@denx.de>
2008-04-28Merge branch 'master' of git+ssh://10.10.0.7/home/wd/git/u-boot/masterWolfgang Denk
2008-04-28MPC8323ERDB: fix implicit declaration of function 'mac_read_from_eeprom'Wolfgang Denk
Signed-off-by: Wolfgang Denk <wd@denx.de>
2008-04-28mx31ads: fix loadaddr environment variable defineGuennadi Liakhovetski
Arithmetic expressions do not get evaluated under stringification. Remove default network configuration, add DHCP command support. Thanks to Felix Radensky for reporting. Signed-off-by: Guennadi Liakhovetski <lg@denx.de>
2008-04-28katmai: fix section overlap problemWolfgang Denk
Since we didn't want to remove features from the configuration, we decided to increase the U-Boot image size (add one flash sector). Also changed the default environment definition to make it independent of such changes. Signed-off-by: Wolfgang Denk <wd@denx.de> Acked-by: Stefan Roese <sr@denx.de>
2008-04-28katmai: fix section overlap problemWolfgang Denk
Since we didn't want to remove features from the configuration, we decided to increase the U-Boot image size (add one flash sector). Also changed the default environment definition to make it independent of such changes. Signed-off-by: Wolfgang Denk <wd@denx.de> Acked-by: Stefan Roese <sr@denx.de>
2008-04-26i.MX31: Enable SPI and MC13783/RTC support for the Litekit boardMagnus Lilja
This patch enables SPI and MC13783/RTC support for the Litekit board. Signed-off-by: Magnus Lilja <lilja.magnus@gmail.com>
2008-04-26MPC8544DS: Removes the unknown flash message informationRoy Zang
This patch removes the unknown flash message information: '## Unknown FLASH on Bank 1 - Size = 0xdeadbeef = -286261248 MB' This unknown flash message is caused by PromJet. Some of the board user is unhappy with this information. Signed-off-by: Roy Zang <tie-fei.zang@freescale.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
2008-04-26Merge branch 'master' of git://www.denx.de/git/u-boot-mpc83xxWolfgang Denk
2008-04-26Merge branch 'master' of git://www.denx.de/git/u-boot-ppc4xxWolfgang Denk
2008-04-25mpc83xx: bump loadaddr over fdtaddr to 0x500000Kim Phillips
this seems as a good compromise between human memory, typing, and last but not least, to accommodate for current and future kernel bloat. Signed-off-by: Kim Phillips <kim.phillips@freescale.com> Acked-by: Dave Liu <daveliu@freescale.com>
2008-04-25ppc4xx: Remove double defines in lwmon5.hStefan Roese
introduced with latest lwmon5/POST merge Signed-off-by: Stefan Roese <sr@denx.de>
2008-04-25Use watchdog-aware functions when calculating hashes of images - take twoBartlomiej Sieka
Some files didn't get updated properly with the "Use watchdog-aware functions when calculating hashes of images" commit, this commit fixes this. Signed-off-by: Bartlomiej Sieka <tur@semihalf.com> Signed-off-by: Wolfgang Denk <wd@denx.de>
2008-04-25ppc4xx: Add bootcount limit handling for APC405 boardsMatthias Fuchs
Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
2008-04-25ppc4xx: Pass PCIe root-complex/endpoint configuration to Linux via the fdtStefan Roese
The PCIe root-complex/endpoint setup as configured via the "pcie_mode" environment variable will now get passed to the Linux kernel by setting the device_type property of the PCIe device tree node. For normal root- complex configuration it will keep its defaults value of "pci" and for endpoint configuration it will get changed to "pci-endpoint". Signed-off-by: Stefan Roese <sr@denx.de>
2008-04-25lwmon5: watchdog POST fixYuri Tikhonov
Use the GPT0_MASKx registers as the temporary storage for watch-dog timer POST test instead of GPT0_COMPx. The latter (GPT0_COMP1..GPT0_COMP5) are used for the log-buffer header. Signed-off-by: Sergei Poselenov <sposelenov@emcraft.com> Signed-off-by: Yuri Tikhonov <yur@emcraft.com>
2008-04-25Merge branch 'master' of /home/wd/git/u-boot/lwmon5Wolfgang Denk
Conflicts: common/cmd_bootm.c common/cmd_log.c include/common.h post/board/lwmon5/Makefile post/board/lwmon5/dsp.c post/board/lwmon5/dspic.c post/board/lwmon5/fpga.c post/board/lwmon5/gdc.c post/board/lwmon5/sysmon.c post/board/lwmon5/watchdog.c Signed-off-by: Wolfgang Denk <wd@denx.de>
2008-04-25Realining some header definitions.Detlev Zundel
Signed-off-by: Detlev Zundel <dzu@denx.de>
2008-04-25qemu-mips.h: Add CFI supportJean-Christophe PLAGNIOL-VILLARD
CONFIG_ENV_OVERWRITE is also added. This patch is originally created by Jean-Christophe PLAGNIOL-VILLARD. Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Shinya Kuribayashi <skuribay@ruby.dti.ne.jp>
2008-04-25Add support for calculating hashes with watchdog triggeringBartlomiej Sieka
Implement watchodg-aware variants of hash calculation functions: - crc32_wd() - md5_wd() - sha1_csum_wd() The above functions calculate the hash of the input buffer in chunks, triggering the watchdog after processing each chunk. The chunk size is given as a function call parameter. Signed-off-by: Bartlomiej Sieka <tur@semihalf.com>
2008-04-24qemu-mips: Cleanup whitespace, indentation, etc.Shinya Kuribayashi
No functional change. This patch was originally submitted by Jean-Christophe PLAGNIOL-VILLARD. Then I re-created from scratch, and changed more lines than the original. Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Shinya Kuribayashi <skuribay@ruby.dti.ne.jp>
2008-04-24i.MX31: Use symbolic names for Litekit membases.Magnus Lilja
Use symbolic names instead of hard coded addresses for Litekit membases. Signed-off-by: Magnus Lilja <lilja.magnus@gmail.com>
2008-04-24Fix show_boot_progress prototypeJean-Christophe PLAGNIOL-VILLARD
in commit fad634071 "make show_boot_progress () weak." show_boot_progress is supposed to be declared as weak but declared as inline instead. Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2008-04-24Memory footprint optimizationsBartlomiej Sieka
As suggested by Wolfgang Denk: - image printing functions: - remove wrappers - remove indentation prefix from functions' signatures - merge getenv_verify and getenv_autostart into one parametrized function Signed-off-by: Bartlomiej Sieka <tur@semihalf.com>
2008-04-24MX31ADS environment variable update, spi and rtc supportGuennadi Liakhovetski
Update MX31ADS default environment to better match the flash layout and the memory map, support SPI and RTC. Signed-off-by: Guennadi Liakhovetski <lg@denx.de>
2008-04-2485xx: Round up frequency calculations to get reasonable outputKumar Gala
eg. because of rounding error we can get 799Mhz instead of 800Mhz. Introduced DIV_ROUND_UP and roundup taken from linux kernel. Signed-off-by: Dejan Minic <minic@freescale.com> Signed-off-by: Srikanth Srinivasan <srikanth.srinivasan@freescale.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org> Acked-by: Andy Fleming <afleming@freescale.com>
2008-04-24Merge branch 'master' of git://www.denx.de/git/u-boot-mpc85xxWolfgang Denk
2008-04-24crc32: use uint32_t rather than unsigned longMike Frysinger
The envcrc.c does sizeof(unsigned long) when calculating the crc, but this is done with the build toolchain instead of the target tool chain, so if the build is a 64bit system but the target is 32bits, the size will obviously be wrong. This converts all unsigned long stuff related to crc32 to uint32_t types. Compile tested only: output of ./tools/envcrc when run on a 32bit build system matches that of a 64bit build system. Signed-off-by: Mike Frysinger <vapier@gentoo.org> Acked-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2008-04-22Merge branch 'master' of git://www.denx.de/git/u-boot-ppc4xxWolfgang Denk
2008-04-22lwmon5 watchdog: limit trigger rateYuri Tikhonov
Limit the rate of h/w watch-dog triggering on the LWMON5 board by the CONFIG_WD_MAX_RATE value. Note that an earlier version of this patch which used microseconds instead of ticks dis not work. The problem was that we used usec2ticks() to convert microseconds into ticks. usec2ticks() uses get_tbclk(), which in turn calls get_sys_info(). It turns out that this function does a lot of prolonged operations (like divisions) which take too much time so we do not trigger the watchdog in time, and it resets the system. Signed-off-by: Yuri Tikhonov <yur@emcraft.com>
2008-04-22POST: move CONFIG_POST to MakefilesYuri Tikhonov
Introduce the new logical option CONFIG_HAS_POST which is set when the platform has CONFIG_POST set. Use CONFIG_HAS_POST in the post/ Makefiles to determine should the POST libs be compiled for the selected target platform, or not. To avoid breaking u-boot linking process, the empty post/libpost.a file is created for platforms which do not have POSTs. Signed-off-by: Yuri Tikhonov <yur@emcraft.com> Signed-off-by: Wolfgang Denk <wd@denx.de>
2008-04-22ppc4xx: Fix Canyonlands and Glacier default environment for fdt usageStefan Roese
This patch fixes the Canyonlands and Glacier default environment to better fit to the arch/powerpc device-tree kernels. The variables dealing with arch/ppc booting are removed, since these boards are supported only in arch/powerpc. Glacier uses the same config file as Canyonlands. Also, the Glacier now uses non-FPU rootpath, since 460GT has no FPU. Signed-off-by: Stefan Roese <sr@denx.de>
2008-04-22ppc4xx: Small coding style cleanup for the latest esd patchesStefan Roese
Signed-off-by: Stefan Roese <sr@denx.de>
2008-04-22ppc4xx: Update APC405 configurationMatthias Fuchs
- enable esd's auto_update mechanism - support alternative flash layout on rev. 1.8 boards - update default environment - use common CFI flash driver - coding style cleanup Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
2008-04-18Fix calculation of I2C clock for some 85xx chipsTimur Tabi
Some 85xx chips use CCB as the base clock for the I2C. Some use CCB/2, and some use CCB/3. 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. Update immap_85xx.h to include the GUTS PORDEVSR2 register. Signed-off-by: Timur Tabi <timur@freescale.com>
2008-04-18MX31ADS network and flash updatesGuennadi Liakhovetski
This patch allows U-Boot to use buffered writes to the Spansion NOR flash installed on this board, and eliminates long delays in network transfers after the board startup. Also modify flash layout to embed main and redundant environment blocks in the U-Boot image. Signed-off-by: Guennadi Liakhovetski <lg@denx.de>
2008-04-18Support for the MX31ADS evaluation board from FreescaleGuennadi Liakhovetski
This patch adds support for the MX31ADS evaluation board from Freescale, initialization code is copied from RedBoot sources, also provided by Freescale. Signed-off-by: Guennadi Liakhovetski <lg@denx.de>
2008-04-18ppc4xx: Change Canyonlands to support booting from 2k page NAND devicesStefan Roese
Signed-off-by: Stefan Roese <sr@denx.de>
2008-04-18New i.MX31 SPI driverGuennadi Liakhovetski
This is an SPI driver for i.MX and MXC based SoCs from Freescale. So far only implemented and tested on i.MX31, can with a modified register layout and definitions be used for i.MX27, I think, MXC CPUs have similar SPI controllers too. Signed-off-by: Guennadi Liakhovetski <lg@denx.de>