summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeLines
* doc/README.mips: Add MIPS notesShinya Kuribayashi2008-04-25-0/+57
| | | | Signed-off-by: Shinya Kuribayashi <skuribay@ruby.dti.ne.jp>
* Add support for calculating hashes with watchdog triggeringBartlomiej Sieka2008-04-25-0/+116
| | | | | | | | | | | | 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>
* qemu-mips: Cleanup whitespace, indentation, etc.Shinya Kuribayashi2008-04-24-33/+32
| | | | | | | | | | 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>
* Fixed pcnet io_baseVlad Lungu2008-04-24-0/+55
| | | | | | Bus and phys address are not always the same Signed-off-by: Vlad Lungu <vlad@comsys.ro>
* drivers/net/pcnet.c: Coding Style cleanup.Wolfgang Denk2008-04-24-360/+370
| | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
* Added Am79C970A chip id to pcnetVlad Lungu2008-04-24-0/+3
| | | | Signed-off-by: Vlad Lungu <vlad@comsys.ro>
* i.MX31: Fix architecture numbers for ADS and Litekit boardsMagnus Lilja2008-04-24-2/+2
| | | | | | Correct the Linux architecture number for i.MX31 Litekit and ADS boards. Signed-off-by: Magnus Lilja <lilja.magnus@gmail.com>
* i.MX31: Use symbolic names for Litekit membases.Magnus Lilja2008-04-24-4/+6
| | | | | | Use symbolic names instead of hard coded addresses for Litekit membases. Signed-off-by: Magnus Lilja <lilja.magnus@gmail.com>
* Fix show_boot_progress prototypeJean-Christophe PLAGNIOL-VILLARD2008-04-24-1/+1
| | | | | | | | 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>
* Memory footprint optimizationsBartlomiej Sieka2008-04-24-47/+34
| | | | | | | | | | 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>
* MX31ADS environment variable update, spi and rtc supportGuennadi Liakhovetski2008-04-24-10/+41
| | | | | | | 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>
* 85xx: Round up frequency calculations to get reasonable outputKumar Gala2008-04-24-7/+9
| | | | | | | | | | | 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>
* Merge branch 'master' of git://www.denx.de/git/u-boot-mpc85xxWolfgang Denk2008-04-24-3/+34
|\
| * 85xx: Fix size of cpu-release-addr propertyKumar Gala2008-04-18-1/+1
| | | | | | | | | | The cpu-release-addr is defined as always being a 64-bit quanity regardless if we are running on a 32-bit or 64-bit machine.
| * Fix calculation of I2C clock for some 85xx chipsTimur Tabi2008-04-18-2/+33
| | | | | | | | | | | | | | | | | | | | | | 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>
* | fsl_pci: Only modify registers if we have themKumar Gala2008-04-24-1/+2
| | | | | | | | | | | | pme_msg_det exists only on PCIe controllers only set it if we are a "bridge". Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
* | Merge branch 'master' of git://www.denx.de/git/u-boot-videoWolfgang Denk2008-04-24-0/+5
|\ \
| * | video: Add missing free for logo memoryMatthias Fuchs2008-04-21-0/+5
| | | | | | | | | | | | | | | | | | This patch adds two missing free()s. Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
* | | USB: remove a cpu bug workaround for an unsupported architecture.Markus Klotzbücher2008-04-24-18/+4
| | | | | | | | | | | | Signed-off-by: Markus Klotzbuecher <mk@denx.de>
* | | USB: fix those pesky aliasing warnings issued by gcc-4.2Markus Klotzbücher2008-04-24-4/+4
| | | | | | | | | | | | | | | Signed-off-by: Markus Klotzbuecher <mk@denx.de> Signed-off-by: Detlev Zundel <dzu@denx.de>
* | | crc32: use uint32_t rather than unsigned longMike Frysinger2008-04-24-21/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | Merge branch 'master' of git://www.denx.de/git/u-boot-ppc4xxWolfgang Denk2008-04-22-3777/+3320
|\ \ \ | |/ / |/| |
| * | ppc4xx: Fix Canyonlands and Glacier default environment for fdt usageStefan Roese2008-04-22-10/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
| * | ppc4xx: Small coding style cleanup for the latest esd patchesStefan Roese2008-04-22-27/+26
| | | | | | | | | | | | Signed-off-by: Stefan Roese <sr@denx.de>
| * | ppc4xx: Update CPU strapping for PMC440 boardsMatthias Fuchs2008-04-22-12/+1
| | | | | | | | | | | | | | | | | | | | | | | | This patch removes the temporary 'test' strapping option of the sbe command. The '667' strapping option now uses a PLB/PCI divider of 3. Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
| * | ppc4xx: Remove unused APC405 strataflash driverMatthias Fuchs2008-04-22-789/+0
| | | | | | | | | | | | | | | | | | | | | The APC405 board support has been migrated to use the common CFI flash driver. Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
| * | ppc4xx: Update APC405 configurationMatthias Fuchs2008-04-22-153/+193
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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>
| * | ppc4xx: Update APC405 board supportMatthias Fuchs2008-04-22-123/+241
| | | | | | | | | | | | | | | | | | | | | | | | | | | - enable esd's auto_update mechanism - fix LCD support on latest hardware revision (uses other LCD controller) - support alternative flash layout on rev. 1.8 boards - coding style cleanup Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
| * | ppc4xx: update esd's common auto_update code for 405 boardsMatthias Fuchs2008-04-22-117/+106
| | | | | | | | | | | | | | | | | | | | | | | | - Coding style cleanup (long lines) - improve handling of protected flash regions - remove dead code Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
| * | ppc4xx: Update esd's common LCD code for 405 boardsMatthias Fuchs2008-04-22-38/+151
| | | | | | | | | | | | | | | | | | | | | | | | - Coding style cleanup (long lines) - Add s1d13505 support - Make some functions return a result code instead of void Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
| * | ppc4xx: Update FPGA image for APC405 boardsMatthias Fuchs2008-04-22-2280/+2004
| | | | | | | | | | | | Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
| * | ppc4xx: Update bootlogo for APC405 boardsMatthias Fuchs2008-04-22-235/+565
| | | | | | | | | | | | Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
| * | ppc4xx: Add dcache_enable() for 440Stefan Roese2008-04-22-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | dcache_enable() was missing for 440 and the patch 017e9b7925f74878d0e9475388cca9bda5ef9482 ["allow ports to override bootelf "] behavior uses this function. Note: Currently the cache handling functions like d/icache_disable/enable() are NOP's on 440. This may be changed in the future. Signed-off-by: Stefan Roese <sr@denx.de>
| * | ppc4xx: Fix sys_get_info() for 405GP(r)Matthias Fuchs2008-04-21-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | This patch assigns the correct EBC clock for 405GP(r) CPUs to PPC4xx_SYS_INFO structure. Without this patch U-Boot uses an uninitialized EBC clock in its startup message. Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
| * | ppc4xx: Change Canyonlands to support booting from 2k page NAND devicesStefan Roese2008-04-18-15/+35
| | | | | | | | | | | | Signed-off-by: Stefan Roese <sr@denx.de>
| * | ppc4xx: Adjust Canyonlands fixed DDR2 setup (NAND booting) to 512MB SODIMMStefan Roese2008-04-18-4/+4
| | | | | | | | | | | | Signed-off-by: Stefan Roese <sr@denx.de>
| * | ppc4xx: Add Glacier NAND booting targetStefan Roese2008-04-18-1/+4
| |/ | | | | | | Signed-off-by: Stefan Roese <sr@denx.de>
* | Makefile: remove nand_spl/System.map when cleaning up.Wolfgang Denk2008-04-20-1/+2
| |
* | MAKEALL: sort entries / lists.Wolfgang Denk2008-04-20-22/+29
| | | | | | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
* | Fix build breakage casued by commit c0559be371b2Wolfgang Denk2008-04-18-1/+0
| | | | | | | | | | | | Change env_get_char from a global function ptr to a function. Signed-off-by: Wolfgang Denk <wd@denx.de>
* | Coding Style cleanup, update CHANGELOG.Wolfgang Denk2008-04-18-6/+656
| | | | | | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
* | Add support for u-boot in svn and localversion-* filesMike Frysinger2008-04-18-0/+14
| | | | | | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* | MX31ADS network and flash updatesGuennadi Liakhovetski2008-04-18-16/+42
| | | | | | | | | | | | | | | | | | | | | | 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>
* | Support for the MX31ADS evaluation board from FreescaleGuennadi Liakhovetski2008-04-18-0/+666
|/ | | | | | | | 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>
* Fix crash on sequoia in ppc_4xx_eth_initAnatolij Gustschin2008-04-18-0/+4
| | | | | | | | Currently U-Boot crashes in ppc_4xx_eth_init on sequoia with cache enabled (TLB Parity exeption). This patch fixes the problem. Signed-off-by: Anatolij Gustschin <agust@denx.de>
* ppc4xx: Fix crash on sequoia with cache enabledAnatolij Gustschin2008-04-18-1/+3
| | | | | | | | | | | Currently U-Boot crashes on sequoia board in CPU POST if cache is enabled (CONFIG_4xx_DCACHE defined). The cache won't be disabled by change_tlb before CPU POST because there is an insufficient adress range check since CFG_MEM_TOP_HIDE was introduced. This patch tries to fix this problem. Signed-off-by: Anatolij Gustschin <agust@denx.de>
* Use jr as register jump instructionShinya Kuribayashi2008-04-18-15/+15
| | | | | | | | | | Current assembler codes are inconsistent in the way of register jump instruction usage; some use jr, some use j. Of course GNU as allows both usages, but as can be expected from `Jump Register' the mnemonic `jr' is more intuitive than `j'. For example, Linux doesn't have `j <reg>' usage at all. Signed-off-by: Shinya Kuribayashi <skuribay@ruby.dti.ne.jp>
* RTC driver for MC13783Guennadi Liakhovetski2008-04-18-0/+84
| | | | | | | MC13783 is a multifunction IS with an SPI interface to the host. This driver handles the RTC controller in this chip. Signed-off-by: Guennadi Liakhovetski <lg@denx.de>
* New i.MX31 SPI driverGuennadi Liakhovetski2008-04-18-2/+193
| | | | | | | | | 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>
* Merge branch 'master' of git://www.denx.de/git/u-boot-netWolfgang Denk2008-04-18-0/+689
|\