summaryrefslogtreecommitdiff
path: root/include
Commit message (Collapse)AuthorAgeLines
* AT91CAP9ADK: Fix dataflash offsets in CONFIG_BOOTCOMMANDStelian Pop2008-05-10-1/+1
| | | | | | | | | This patch fixes the dataflash offsets used in CONFIG_BOOTCOMMAND in order to cope with the changes in DataFlash partitionning scheme (cset c3a60cb3). Signed-off-by: Stelian Pop <stelian@popies.net> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* AT91CAP9ADK: Normalize BOOTARGSStelian Pop2008-05-10-2/+11
| | | | | | | | | This patch adapts CONFIG_BOOTARGS to the chosen boot method (boot from DataFlash or from NAND), and gives to Linux a fully specified mtdparts variable. Signed-off-by: Stelian Pop <stelian@popies.net> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* AT91CAP9ADK: Normalize SPI timingsStelian Pop2008-05-10-3/+3
| | | | | | | | This patch changes the SPI timings to closely match the ones used by the Linux kernel and the Atmel's own bootstrap project. Signed-off-by: Stelian Pop <stelian@popies.net> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* AT91CAP9ADK: Handle 8 or 16 bit NANDStelian Pop2008-05-10-0/+1
| | | | | | | | | The Atmel boards can handle 8 or 16 bit NAND memories. This patch makes the support configurable in the board config header file (CFG_NAND_DBW_8 or CFG_NAND_DBW_16). Signed-off-by: Stelian Pop <stelian@popies.net> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* Update origin and copyright information in arch-at91sam9 header filesStelian Pop2008-05-10-152/+96
| | | | | | | | | | | | | | | | When doing the AT91CAP9/AT91SAM9 port, a number of header files were copied from the Linux kernel sources. This patch explicitly specifies this origin for all the copied headers, and for those missing copyright information, adds it. Additionaly, the header file 'at91sam926x_mc.h' has been superceeded in the latest kernel sources by 'at91sam9_smc.h'. The copyright information has been confirmed by the AT91 Linux kernel maintainer, Andrew Victor <avictor.za@gmail.com>. Signed-off-by: Stelian Pop <stelian@popies.net> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* Fix @ -> <at> substitutionStelian Pop2008-05-08-5/+5
| | | | | | | | | | | | | When applying the AT91CAP9 patches upstream, something transformed the '@' character into the ' <at> ' sequence. The patch below restores the original form in all the places where it has been modified (the AT91CAP9 files, the AT91SAM9260 files which were copied from AT91CAP9, and a couple of other files where the ' <at> ' sequence was present). Signed-off-by: Stelian Pop <stelian@popies.net> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* kb9202 board: fix build problem.Wolfgang Denk2008-05-04-1/+4
| | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
* SBC8548: fix address mask to allow 64M flashJeremy McNicoll2008-05-04-3/+3
| | | | | | | | Fix incorrect mask to enable all 64MB of onboard flash. Previously U-Boot incorrectly mapped only 8MB of flash, this patch correctly maps all the available flash. Signed-off-by: Jeremy McNicoll <jeremy.mcnicoll@windriver.com>
* Fix misspelled commentMarcel Ziswiler2008-05-04-1/+1
| | | | Signed-off-by: Marcel Ziswiler <marcel@ziswiler.com>
* ColdFire: Fix ethernet hang issue for mcf547x_8xTsiChung Liew2008-04-30-0/+2
| | | | | | | | 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>
* ColdFire: Fix compilation issue caused by new changes in fsl_i2c.cTsiChung Liew2008-04-30-0/+4
| | | | | Signed-off-by: Luigi Comio Mantellini <luigi.mantellini@idf-hit.com> Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
* Fix warnings while compiling net/net.c for MPC8610HPCD boardAnatolij Gustschin2008-04-30-4/+4
| | | | | | | | | 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>
* Merge branch 'master' of git://www.denx.de/git/u-boot-ppc4xxWolfgang Denk2008-04-29-4/+4
|\
| * ppc4xx: Fix CFG_MONITOR_LEN on Katmai failsave this timeStefan Roese2008-04-29-4/+4
| | | | | | | | Signed-off-by: Stefan Roese <sr@denx.de>
| * ppc4xx: Fix Katmai CFG_MONITOR_LENStefan Roese2008-04-29-1/+1
| | | | | | | | Signed-off-by: Stefan Roese <sr@denx.de>
* | 85xx/86xx: Rename ext_refrec to timing_cfg_3 to match docsKumar Gala2008-04-29-4/+4
| | | | | | | | | | | | | | 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>
* | 85xx/86xx: Rename DDR init address and init extended address registerKumar Gala2008-04-29-3/+3
| | | | | | | | | | | | | | 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>
* | lwmon5: minor clean-up to include/configs/lwmon5.hYuri Tikhonov2008-04-29-1/+1
|/ | | | | | | 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>
* NAND: fix some strict-aliasing compiler warningsWolfgang Denk2008-04-28-4/+4
| | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
* Merge branch 'master' of git+ssh://10.10.0.7/home/wd/git/u-boot/masterWolfgang Denk2008-04-28-0/+1
|\
| * ppc4xx: Fix compile warning of hcu4 boardStefan Roese2008-04-28-0/+1
| | | | | | | | Signed-off-by: Stefan Roese <sr@denx.de>
* | Merge branch 'master' of git+ssh://10.10.0.7/home/wd/git/u-boot/masterWolfgang Denk2008-04-28-4/+2
|\ \ | |/
| * mx31ads: fix loadaddr environment variable defineGuennadi Liakhovetski2008-04-28-4/+2
| | | | | | | | | | | | | | | | 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>
| * katmai: fix section overlap problemWolfgang Denk2008-04-28-2/+6
| | | | | | | | | | | | | | | | | | | | | | 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>
* | MPC8323ERDB: fix implicit declaration of function 'mac_read_from_eeprom'Wolfgang Denk2008-04-28-2/+0
| | | | | | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
* | katmai: fix section overlap problemWolfgang Denk2008-04-28-2/+6
|/ | | | | | | | | | | 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>
* i.MX31: Enable SPI and MC13783/RTC support for the Litekit boardMagnus Lilja2008-04-26-0/+8
| | | | | | This patch enables SPI and MC13783/RTC support for the Litekit board. Signed-off-by: Magnus Lilja <lilja.magnus@gmail.com>
* MPC8544DS: Removes the unknown flash message informationRoy Zang2008-04-26-0/+1
| | | | | | | | | | 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>
* Merge branch 'master' of git://www.denx.de/git/u-boot-mpc83xxWolfgang Denk2008-04-26-10/+10
|\
| * mpc83xx: bump loadaddr over fdtaddr to 0x500000Kim Phillips2008-04-25-10/+10
| | | | | | | | | | | | | | | | 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>
* | Merge branch 'master' of git://www.denx.de/git/u-boot-ppc4xxWolfgang Denk2008-04-26-3/+16
|\ \ | |/ |/|
| * ppc4xx: Add bootcount limit handling for APC405 boardsMatthias Fuchs2008-04-25-2/+12
| | | | | | | | Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
| * ppc4xx: Pass PCIe root-complex/endpoint configuration to Linux via the fdtStefan Roese2008-04-25-1/+4
| | | | | | | | | | | | | | | | | | | | 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>
* | ppc4xx: Remove double defines in lwmon5.hStefan Roese2008-04-25-9/+0
| | | | | | | | | | | | introduced with latest lwmon5/POST merge Signed-off-by: Stefan Roese <sr@denx.de>
* | Use watchdog-aware functions when calculating hashes of images - take twoBartlomiej Sieka2008-04-25-2/+15
| | | | | | | | | | | | | | | | | | 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>
* | lwmon5: watchdog POST fixYuri Tikhonov2008-04-25-5/+13
| | | | | | | | | | | | | | | | | | 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>
* | Merge branch 'master' of /home/wd/git/u-boot/lwmon5Wolfgang Denk2008-04-25-0/+17
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
| * | lwmon5 watchdog: limit trigger rateYuri Tikhonov2008-04-22-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
| * | POST: move CONFIG_POST to MakefilesYuri Tikhonov2008-04-22-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
| * | The patch introduces the alternative configuration of the log buffer forYuri Tikhonov2008-03-18-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the lwmon5 board: the storage for the log-buffer itself is OCM(on-chip memory), the log-buffer header is moved to six GPT registers (PPC440EPX_GPT0_COMP1, ..., PPC440EPX_GPT0_COMP5). To enable this, alternative, configuration the U-Boot board configuration file for lwmon5 includes the definitions of alternative addresses for header (CONFIG_ALT_LH_ADDR) and buffer (CONFIG_ALT_LB_ADDR). The Linux shall be configured with the CONFIG_ALT_LB_LOCATION option set, and has the BOARD_ALT_LH_ADDR and BOARD_ALT_LB_ADDR constants defined in the lwmon5 board-specific header (arch/ppc/platforms/4xx/lwmon5.h). Signed-off-by: Yuri Tikhonov <yur@emcraft.com>
| * | Add support for the lwmon5 board reset via GPIO58.Yuri Tikhonov2008-03-18-0/+2
| | | | | | | | | | | | | | | Signed-off-by: Dmitry Rakhchev <rda@emcraft.com> Signed-off-by: Yuri Tikhonov <yur@emcraft.com>
| * | The patch introduces the CRITICAL feature of POST tests. If the testYuri Tikhonov2008-03-18-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | marked as POST_CRITICAL fails then the alternative, post_critical, boot-command is used. If this command is not defined then U-Boot enters into interactive mode. Signed-off-by: Dmitry Rakhchev <rda@emcraft.com> Signed-off-by: Yuri Tikhonov <yur@emcraft.com>
| * | The patch adds new POST tests for the Lwmon5 board.Yuri Tikhonov2008-03-18-4/+96
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These are: * External Watchdog test; * dsPIC tests; * FPGA test; * GDC test; * Sysmon tests. Signed-off-by: Dmitry Rakhchev <rda@emcraft.com> Signed-off-by: Yuri Tikhonov <yur@emcraft.com>
* | | Realining some header definitions.Detlev Zundel2008-04-25-10/+10
| | | | | | | | | | | | Signed-off-by: Detlev Zundel <dzu@denx.de>
* | | qemu-mips.h: Add CFI supportJean-Christophe PLAGNIOL-VILLARD2008-04-25-5/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | Add support for calculating hashes with watchdog triggeringBartlomiej Sieka2008-04-25-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | 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-6/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>