summaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* lwmon5 watchdog: limit trigger rateYuri Tikhonov2008-04-222-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-221-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-182-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-181-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-1812-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-183-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>
* Merge branch 'master' of git+ssh://10.10.0.7/home/wd/git/u-boot/masterWolfgang Denk2008-03-161-3/+2
|\ | | | | | | | | | | | | | | Conflicts: drivers/rtc/Makefile Signed-off-by: Wolfgang Denk <wd@denx.de>
| * mgcoge: update configurationHeiko Schocher2008-03-161-3/+2
| | | | | | | | | | | | Fix configuration for mgcoge board Signed-off-by: Heiko Schocher <hs@denx.de>
* | Conding style cleanupWolfgang Denk2008-03-161-1/+0
| | | | | | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
* | ppc4xx: Add USB OHCI support to AMCC Canyonlands 460EX eval boardStefan Roese2008-03-152-22/+49
| | | | | | | | | | | | | | This patch adds USB OHCI support to the Canyonlands board port. It also enables EXT2 support. Signed-off-by: Stefan Roese <sr@denx.de>
* | ppc4xx: Add Canyonlands NAND booting supportStefan Roese2008-03-151-8/+81
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 460EX doesn't support a fixed bootstrap option to boot from 512 byte page NAND devices. The only bootstrap option for NAND booting is option F for 2k page devices. So to boot from a 512 bype page device, the I2C bootstrap EEPROM needs to be programmed accordingly. This patch adds basic NAND booting support for the AMCC Canyonlands aval board and also adds support to the "bootstrap" command, to enable NAND booting I2C setting. Tested with 512 byte page NAND device (32MByte) on Canyonlands. Signed-off-by: Stefan Roese <sr@denx.de>
* | ppc4xx: Add AMCC Canyonlands support (460EX) (3/3)Stefan Roese2008-03-151-2/+3
| | | | | | | | | | | | | | This patch adds support for the AMCC Canyonlands 460EX evaluation board. Signed-off-by: Stefan Roese <sr@denx.de>
* | ppc4xx: Add AMCC Canyonlands support (460EX) (2/3)Stefan Roese2008-03-151-0/+470
| | | | | | | | | | | | | | This patch adds support for the AMCC Canyonlands 460EX evaluation board. Signed-off-by: Stefan Roese <sr@denx.de>
* | ppc4xx: Add basic support for AMCC 460EX/460GT (5/5)Stefan Roese2008-03-151-88/+502
| | | | | | | | | | | | This patch adds basic support for the AMCC 460EX/460GT PPC's. Signed-off-by: Stefan Roese <sr@denx.de>
* | ppc4xx: Add basic support for AMCC 460EX/460GT (4/5)Stefan Roese2008-03-153-12/+33
| | | | | | | | | | | | This patch adds basic support for the AMCC 460EX/460GT PPC's. Signed-off-by: Stefan Roese <sr@denx.de>
* | ppc4xx: Add basic support for AMCC 460EX/460GT (3/5)Stefan Roese2008-03-156-4/+160
| | | | | | | | | | | | This patch adds basic support for the AMCC 460EX/460GT PPC's. Signed-off-by: Stefan Roese <sr@denx.de>
* | ppc4xx: program_tlb now uses 64bit physical addessStefan Roese2008-03-151-9/+9
| | | | | | | | | | | | | | | | This patch changes the physical addess parameter from 32bit to 64bit. This is needed for 36bit 4xx platforms to access areas located beyond the 4GB border, like SoC peripherals (EBC etc.). Signed-off-by: Stefan Roese <sr@denx.de>
* | ppc4xx: Add 405GPr based MCU25 board config fileNiklaus Giger2008-03-151-0/+362
| | | | | | | | Signed-off-by: Niklaus Giger <niklaus.giger@netstal.com>
* | ppc4xx: HCU4/5. Use FLASH_CFI_LEGACYNiklaus Giger2008-03-152-9/+23
|/ | | | | | | Cleanup: Remove custom flash driver for 8 bit boot-eprom and replace it with the FLASH_CFI_LEGACY et al. config options. Signed-off-by: Niklaus Giger <niklaus.giger@netstal.com>
* Merge branch 'master' of git://www.denx.de/git/u-boot-mpc83xxWolfgang Denk2008-03-084-4/+4
|\
| * mpc83xx: make dtb basename file references equal those of linuxKim Phillips2008-03-074-4/+4
| | | | | | | | | | | | | | the dts file basenames were updated in linux - this helps avoid inadvertently loading any old dtbs laying around. Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
* | Merge branch 'master' of git://www.denx.de/git/u-boot-ppc4xxWolfgang Denk2008-03-081-7/+17
|\ \
| * | ppc4xx: Sequoia: Add device tree (fdt) Linux booting default env variablesStefan Roese2008-03-071-7/+17
| |/ | | | | | | Signed-off-by: Stefan Roese <sr@denx.de>
* | mgsuvd: update board configurationHeiko Schocher2008-03-081-2/+10
| | | | | | | | | | | | initialize the UPIOx controller. Signed-off-by: Heiko Schocher <hs@denx.de>
* | mgcoge: update board configurationHeiko Schocher2008-03-081-2/+33
|/ | | | | | | add support for the config Flash. initialize the UPIOx controller. Signed-off-by: Heiko Schocher <hs@denx.de>
* 837xEMDS: Improve the system performanceDave Liu2008-03-071-1/+9
| | | | | | | | | 1. Make the CSB bus pipeline depth as 4, and enable the repeat mode; 2. Raise the eTSEC emergency priority; 3. Use the highest IP blocks clock. Signed-off-by: Dave Liu <daveliu@freescale.com>
* Replace "run load; run update" with conditionalized "run load update".Detlev Zundel2008-03-0628-29/+29
| | | | | | | The latter version stops when "run load" fails for whatever reasons rendering the combination *a lot* more secure. Signed-off-by: Detlev Zundel <dzu@denx.de>
* PCS440EP: fix build problems (redundant #define)Wolfgang Denk2008-03-041-4/+0
| | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
* Fix endianess problem in cramfs code (cramfs is always host-endian in Linux)Bernhard Nemec2008-03-031-22/+0
| | | | | | | Originally pointed out by Laurent Pinchart <laurent.pinchart@tbox.biz>, see http://thread.gmane.org/gmane.comp.boot-loaders.u-boot/22846 Signed-off-by: Bernhard Nemec <bnemec <at> ganssloser.com>
* Fix quoting problem (preboot setting) in many board config files.Wolfgang Denk2008-03-0392-96/+95
| | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
* ADS5121: Fix default environment.Wolfgang Denk2008-03-031-7/+8
| | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
* Fix checking fat32 cluster size.michael2008-03-031-1/+2
| | | | | | | | | This fixes the cluster size tests in the FAT32 file system. The current implementation of VFAT support doesn't work if the referred cluster has an offset > 16bit representation, causing "fatload" and "fatls" commands etc. to fail. Signed-off-by: michael trimarchi <trimarchi@gandalf.sssup.it>
* ppc4xx: EMAC: Fix 405EZ fifo size setup in EMAC_MR1Stefan Roese2008-03-021-6/+21
| | | | | | | | | The 405EZ only supports 512 bytes of rx-/tx-fifo EMAC sizes. But currently 4k/2k is configured. This patch fixes this issue. Thanks to Thomas Kindler <tkindler@lenord.de> for pointing this out. Signed-off-by: Stefan Roese <sr@denx.de>
* Merge branch 'master' of git://www.denx.de/git/u-boot-mpc85xxWolfgang Denk2008-03-021-1/+1
|\
| * sbc8548: Fix cfi flash bank declarationJean-Christophe PLAGNIOL-VILLARD2008-02-271-1/+1
| | | | | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* | MPC5121e ADS PCI support take 3John Rigby2008-03-024-7/+169
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds PCI support for MPC5121 Tested with drivers/net/rtl8139.c Support is conditional since PCI on old silicon does not work. ads5121_PCI_config turns on PCI In this version, condition compilation of PCI code has been moved from ifdef in board/ads5121/pci.c to board/ads5121/Makefile as suggested by Jean-Christophe PLAGNIOL-VILLARD Signed-off-by: John Rigby <jrigby@freescale.com>
* | arm-imx: Fix register definitionsJean-Christophe PLAGNIOL-VILLARD2008-03-021-60/+117
| | | | | | | | | | | | Sync register definitions with linux Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* | Remove the __STRICT_ANSI__ check from the __u64/__s64 declaration on 32bit ↵Shinya Kuribayashi2008-03-024-12/+12
|/ | | | | | | | | targets. The previous patch was lacking of i386, microblaze, nios and nios2. This patch tries to fix them. Signed-off-by: Shinya Kuribayashi <skuribay@ruby.dti.ne.jp>
* Remove the __STRICT_ANSI__ check from the __u64/__s64 declaration on 32bit ↵Shinya Kuribayashi2008-02-237-21/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | targets. ---------------------------------------------------------------- Olaf Hering [Wed, 17 Oct 2007 06:27:13 +0000 (23:27 -0700)] Remove the __STRICT_ANSI__ check from the __u64/__s64 declaration on 32bit targets. GCC can be made to warn about usage of long long types with ISO C90 (-ansi), but only with -pedantic. You can write this in a way that even then it doesn't cause warnings, namely by: #ifdef __GNUC__ __extension__ typedef __signed__ long long __s64; __extension__ typedef unsigned long long __u64; #endif The __extension__ keyword in front of this switches off any pedantic warnings for this expression. Signed-off-by: Olaf Hering <olh@suse.de> Cc: <linux-arch@vger.kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> ---------------------------------------------------------------- Signed-off-by: Shinya Kuribayashi <skuribay@ruby.dti.ne.jp>
* Replace deprecated "ramdisk" with "ramdisk_size" kernel parameter.Detlev Zundel2008-02-223-3/+3
| | | | | | | | The Linux commit fac8b209b1084bc85748bd54e13d00c1262b220f ("Remove final traces of long-deprecated "ramdisk" kernel parm") makes these changes neccessary. Signed-off-by: Detlev Zundel <dzu@denx.de>
* lwmon5: enable hardware watchdogYuri Tikhonov2008-02-221-2/+1
| | | | | | | | | | | | | Some boards (e.g. lwmon5) may use rather small watchdog intervals, so causing it to reboot the board if U-Boot does a long busy-wait with udelay(). Thus, for these boards we have to restart WD more frequently. This patch splits the busy-wait udelay() into smaller, predefined, intervals, so that the watchdog timer may be resetted with the configurable (CONFIG_WD_PERIOD) interval. Signed-off-by: Yuri Tikhonov <yur@emcraft.com>
* ppc4xx: Support for ATI Radeon 9200 card on sequoiaAnatolij Gustschin2008-02-221-1/+25
| | | | | | | | Adds configuration option for ATI Radeon 9200 card support to sequoia config file. If CONFIG_VIDEO is enabled, TEXT_BASE should be changed to 0xFFF80000. Signed-off-by: Anatolij Gustschin <agust@denx.de>
* Merge branch 'master' of git://www.denx.de/git/u-boot-mpc86xxWolfgang Denk2008-02-223-12/+12
|\
| * 86xx: Fix GUR PCI config registers properly.Jon Loeliger2008-02-201-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Back in commit 975a083a5ef785c414b35f9c5b8ae25b26b41524 where I tried to "8610HPCD: Fix typos in two PCI setup registers", I botched it due to not realizing that 8610 and 8641 had different Global Utility Register defintions, one of which was like 85xx, and the other wasn't. Correct this problem by introducing two symbols, one for each 86xx SoC, but neither of which is named anything like 85xx. My bad. Lovely Wednesday with git bisect. You know. Signed-off-by: Jon Loeliger <jdl@freescale.com>
| * 8610HPCD: Don't use VIDEO/CFB_CONSOLE by default.Jon Loeliger2008-02-201-1/+1
| | | | | | | | | | | | | | | | Without an actual supported video card hooked up, enabling the CONFIG_VIDEO by default just makes it look broken by routing all console output to the video card. Don't. Signed-off-by: Jon Loeliger <jdl@freescale.com>
| * 8610HPCD: Fix typos in two PCI setup registers.Jon Loeliger2008-02-191-2/+0
| | | | | | | | | | | | | | | | | | The two symbols MPC86xx_PORDEVSR_IO_SEL and MPC86xx_PORBMSR_HA were erroneously present as 85xx names and values, leftover from the clone wars. Fix this by removing the 85xx cruft from the 86xx codebase. Signed-off-by: Jon Loeliger <jdl@freescale.com>
| * 86xx: Convert sbc8641d to use libfdt.Jon Loeliger2008-02-181-7/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is the proper fix for a missing closing brace in the function ft_cpu_setup() noticed by joe.hamman <at> embeddedspecialties.com. The ft_cpu_setup() function in mpc8641hpcn.c should have been removed earlier as it was under the obsolete CONFIG_OF_FLAT_TREE, but was missed. Only, the sbc8641d was nominally still using it. It all got ripped out, and the funcality that was in ft_board_setup() was refactored to remove the CPU portions into the new file cpu/mpc86xx/fdt.c instead. Make sbc8641d use this now. Based loosely on an original patch from joe.hamman@embeddedspecialties.com Signed-off-by: Jon Loeliger <jdl@freescale.com>
* | Merge branch 'master' of git://www.denx.de/git/u-boot-freebsdWolfgang Denk2008-02-221-0/+51
|\ \
| * | API: Add (c) and licensing notice to the public API header.Rafal Jaworowski2008-02-211-0/+51
| |/ | | | | | | Signed-off-by: Rafal Jaworowski <raj@semihalf.com>
* | Remove duplicate defines for ARRAY_SIZEKumar Gala2008-02-222-2/+0
|/ | | | | | | A few duplicate of the ARRAY_SIZE macro sneaked in since we put the define in common.h. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
OpenPOWER on IntegriCloud