summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeLines
* TFTP: fix search of ':' in BootFileJean-Christophe PLAGNIOL-VILLARD2008-02-14-1/+1
| | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* Coding style cleanup; update CHANGELOG.Wolfgang Denk2008-02-14-5/+501
| | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
* PPC: Use r2 instead of r29 as global data pointerWolfgang Denk2008-02-14-23/+24
| | | | | | | | | | | | R29 was an unlucky choice as with recent toolchains (gcc-4.2.x) gcc will refuse to use load/store multiple insns; instead, it issues a list of simple load/store instructions upon function entry and exit, resulting in bigger code size, which in turn makes the build for a few boards fail. Use r2 instead. Signed-off-by: Wolfgang Denk <wd@denx.de>
* ARM: make the machid configurable via the environmentUwe Kleine-König2008-02-14-1/+9
| | | | | | | If the variable "machid" exists, let do_bootm_linux use that instead of bd->bi_arch_number. Signed-off-by: Uwe Kleine-König <Uwe.Kleine-Koenig@digi.com>
* Use #ifdef CONFIG_FSLDMAFECVlad Lungu2008-02-14-0/+6
| | | | | | | MCD_tasks.c lacks [subject] so compilation of mips targets (and more, probably) fails Signed-off-by: Vlad Lungu <vlad@comsys.ro>
* common/miiphyutil.c: Cleanup MII_DEBUG and debug()Shinya Kuribayashi2008-02-14-22/+9
| | | | | | | | | | | | Current MII_DEBUG is confusing in two ways. One is useless define-then- undef at the top of the file. The other is there is only one debug() in this file, and that doesn't seem worthwhile to bother having MII_DEBUG. While there are many useful printf()/puts() debug codes, but they are for DEBUG, not for MII_DEBUG. This patch tries to put them all together into MII_DEBUG and debug(). Signed-off-by: Shinya Kuribayashi <skuribay@ruby.dti.ne.jp>
* OneNAND Initial Program Loader (IPL) supportKyungmin Park2008-02-14-2/+698
| | | | | | | | | | | | | | | | | | This patch enables the OneNAND boot within U-Boot. Before this work, we used another OneNAND IPL called X-Loader based on open source. With this work, we can build the oneboot.bin image without other program. The build sequence is simple. First, it compiles the u-boot.bin Second, it compiles OneNAND IPL Finally, it becomes the oneboot.bin from OneNAND IPL and u-boot.bin The mechanism is similar with NAND boot except it boots from itself. Another thing is that you can only use the OneNAND IPL only to work other bootloader such as RedBoot and so on. Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
* Fix CONFIG_MMC usage in fat codeAndy Fleming2008-02-14-1/+1
| | | | | | | | A #if statement in fat.c depended on CONFIG_MMC, instead of defined(CONFIG_MMC). This meant CONFIG_MMC needed to be defined as "1" rather than just defined. Now it's better. Signed-off-by: Andy Fleming <afleming@freescale.com>
* ppc: Refactor cache routines, so there is only one common set.Rafal Jaworowski2008-02-14-203/+73
| | | | Signed-off-by: Rafal Jaworowski <raj@semihalf.com>
* NFS Timeout with large files.Hiroshi Ito2008-02-14-1/+6
| | | | | | Retry to send NFS packet before reaching timeout. Signed-off-by: Hiroshi Ito <ito@mlb.co.jp>
* Add dependencies to avoid race conditions with parallel make.Johannes Stezenbach2008-02-14-3/+3
| | | | Signed-off-by: Johannes Stezenbach <js@sig21.net>
* Mark board_init_[fr] as noreturnMike Frysinger2008-02-14-2/+2
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Only use TEXT_BASE if defined by the boardMike Frysinger2008-02-14-2/+8
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Fix remaining CONFIG_COMMANDSJean-Christophe PLAGNIOL-VILLARD2008-02-14-36/+26
| | | | | | | update comments Fix coding style Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* Add *~ to .gitignoreNiklaus Giger2008-02-14-0/+1
| | | | | | One should never add a backup file ending in with ~ to the git repository. Signed-off-by: Niklaus Giger <niklaus.giger@netstal.com>
* Remove duplicate defines for ARRAY_SIZEKumar Gala2008-02-14-8/+2
| | | | Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
* Fix incorrect address test in AT91F_DataflashSelect().Stelian Pop2008-02-14-1/+1
| | | | Signed-off-by: Stelian Pop <stelian@popies.net>
* Fix building of fdt_support.c if DEBUG setKumar Gala2008-02-13-3/+3
| | | | Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
* Merge branch 'master' of /home/wd/git/u-boot/custodiansWolfgang Denk2008-02-12-5/+7
|\
| * Merge branch 'master' of git://www.denx.de/git/u-boot-mpc83xxWolfgang Denk2008-02-12-5/+7
| |\
| | * TQM834x: enable DHCPJens Gehrlein2008-01-29-0/+1
| | | | | | | | | | | | | | | Signed-off-by: Jens Gehrlein <sew_s@tqs.de> Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
| | * TQM834x: support for Spansion N-type Flashes (sector size = 256 KiB at 2x16 ↵Jens Gehrlein2008-01-29-3/+3
| | | | | | | | | | | | | | | | | | | | | Bit). Signed-off-by: Jens Gehrlein <sew_s@tqs.de> Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
| | * Fix conditional compilation of mpx8xxx_spi driverBen Warren2008-01-29-2/+3
| | | | | | | | | | | | | | | | | | | | | This driver should only compile if CONFIG_MPC8XXX_SPI is set Signed-off-by: Ben Warren <biggerbadderben@gmail.com> Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
* | | Merge branch 'master' of /home/wd/git/u-boot/custodiansWolfgang Denk2008-02-12-18/+23
|\ \ \ | |/ /
| * | API: Provide dummy halt() in the glue layer.Rafal Jaworowski2008-01-29-1/+6
| | | | | | | | | | | | | | | | | | This fixes a demo app link failure on platforms configured with CONFIG_PANIC_HANG. Signed-off-by: Rafal Jaworowski <raj@semihalf.com>
| * | API: Convert conditional building to the new scheme.Rafal Jaworowski2008-01-29-17/+17
| |/ | | | | | | | | | | | | This fixes a build breakage with CONFIG_API enabled, which appeared after the recent changes in the U-Boot build system. Signed-off-by: Rafal Jaworowski <raj@semihalf.com>
* | Get rid of "#undef DEBUG" from board config files.Wolfgang Denk2008-02-12-61/+0
| | | | | | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
* | Remove #undef DEBUG from MPC83xx board header filesTimur Tabi2008-02-12-12/+0
| | | | | | | | | | | | | | | | | | Remove the "#undef DEBUG" line from all Freescale 83xx board header files. The inclusion of this line makes it impossible to enable debug code in other source files, because "#define DEBUG" typically needs to be defined before any header files are included. Signed-off-by: Timur Tabi <timur@freescale.com>
* | QE: Move FDT support into a common fileKumar Gala2008-02-12-64/+99
| | | | | | | | | | | | | | Move the flat device tree setup for QE related devices into a common file shared between 83xx & 85xx platforms that have QE's. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
* | ADS5121e: DDR2 init/timing update.Grzegorz Bernacki2008-02-07-22/+27
| | | | | | | | | | Signed-off-by: John Rigby <jrigby@freescale.com> Signed-off-by: Grzegorz Bernacki <gjb@semihalf.com>
* | Device tree updatesJohn Rigby2008-02-07-5/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Changes to match 5121 device tree going mainline in 2.6.25. Change OF_SOC from "soc5121" to plain "soc". Remove unneeded "ref-frequency" fixups. Remove "address" enetaddr fixup. Add bus-frequency fixup for old OF_SOC so old kernels with old device trees will work with new u-boot with 66MHz IPS clock Signed-off-by: John Rigby <jrigby@freescale.com>
* | Change IPS freq to 66MHzJohn Rigby2008-02-07-1/+1
| | | | | | | | | | | | | | Recommended frequency is 66MHz Change divider from 4 to 3. Signed-off-by: John Rigby <jrigby@freescale.com>
* | xsengine: rename board_post_init to board_late_initJean-Christophe PLAGNIOL-VILLARD2008-02-07-2/+2
| | | | | | | | | | | | | | missing migration from "Cleanup of some init functions" in c837dcb1a316745092567bfe4fb266d0941884ff Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* | Add attribute POST_PREREL to ECC memory POSTLarry Johnson2008-02-07-2/+2
| | | | | | | | Signed-off-by: Larry Johnson <lrj@acm.org>
* | TFTP: add host ip addr supportJean-Christophe PLAGNIOL-VILLARD2008-02-05-11/+31
| | | | | | | | | | | | | | | | allow to use a different server as set in serverip add CONFIG_TFTP_FILE_NAME_MAX_LEN to configure the file name length if not defined the max length will be at 128 Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* | OMAP5912: fix FIFO handling in UART driverWolfgang Denk2008-02-05-4/+12
| | | | | | | | | | | | | | | | | | | | | | | | According to the OMAP5912 Serial Interfaces Reference Guide (see http://focus.ti.com/lit/ug/spru760c/spru760c.pdf, page 150), the FIFO_EN enable bit in the FIFO Control Register (FCR) can only be changed when the baud clock is not running, i. e. when both DLL and DLH are set to 0. Thus make sure that DLL and DLH are 0 when writing the FCR. Signed-off-by: Wolfgang Denk <wd@denx.de>
* | ARM: S3C24x0 SoC NAND controller supportHarald Welte2008-02-04-1/+180
| | | | | | | | | | | | This patch adds NAND support to the S3C24x0 SoC code in u-boot Signed-off-by: Harald Welte <laforge@openmoko.org>
* | ARM: s3c24xx: Multiple serial port supportHarald Welte2008-02-04-21/+163
| | | | | | | | | | | | This patch adds support for CONFIG_SERIAL_MULTI on s3c24x0 CPU's Signed-off-by: Harald Welte <laforge@openmoko.org>
* | ARM: arm920t: Allow use of 'gd' pointer from IRQHarald Welte2008-02-04-5/+5
| | | | | | | | | | | | | | | | This patch allows us to use the 'gd' pointer (and thus environment and everything else associated with it) from interrupt context on arm920t. Signed-off-by: Harald Welte <laforge@openmoko.org>
* | ARM: arm920/s3c24xx: IRQ demulitplexer callbackHarald Welte2008-02-04-1/+17
| | | | | | | | | | | | | | | | | | | | | | This patch adds a IRQ demultiplexer callback to the arm920 cpu core code, plus a stub implementation of it for the S3C2410. The purpose is to allow arm920t implementations such as the s3c24x0 to implement interrupt handlers in u-boot without having to touch core arm920t code. Signed-off-by: Harald Welte <laforge@openmoko.org>
* | ARM: Display Ethernet info in do_bdinfo only if CONFIG_CMD_NET is definedHebbar2008-02-04-0/+2
| | | | | | | | | | | | | | Add ifdef to bdinfo command to display ethernet information only if CONFIG_CMD_NET is defined for arm modules. Signed-off-by: K R Gururaja Hebbar <gururajakr@sanyo.co.in>
* | ARM: add I2C init function call in lib_arm/board.cHebbar2008-02-04-0/+18
| | | | | | | | | | | | | | Adds I2C init func call to init sequence for ARM boards. This is present in ppc,blackfin and other processor init sequence. Signed-off-by: K R Gururaja Hebbar <gururajakr@sanyo.co.in>
* | ARM: Board voiceblue updateLadislav Michl2008-02-04-96/+35
| | | | | | | | Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
* | ARM: AT91RM9200 based boards config cleanupLadislav Michl2008-02-04-86/+10
| | | | | | | | | | | | | | Signed-off-by: Ladislav Michl <ladis@linux-mips.org> Remove nowhere used struct bd_info_ext, remove trailing whitespaces, fix indentation.
* | ARM: Fix at91rm9200dk base addressLadislav Michl2008-02-04-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Somewhere during development of U-Boot-1.1.3 CONFIG_BOOTBINFUNC was renamed into CONFIG_INIT_CRITICAL which was 04 Apr 2005 replaced with CONFIG_SKIP_LOWLEVEL_INIT and CONFIG_SKIP_RELOCATE_UBOOT. However CONFIG_SKIP_LOWLEVEL_INIT has oposite meaning to CONFIG_BOOTBINFUNC, so fix configuration to reflect this fact. I'm sending this patch 4th (!) time in hope it produces at least some reaction. Signed-off-by: Ladislav Michl <ladis@linux-mips.org> Fix at91rm9200dk base and environment address.
* | MMC for PXA 27X (resubmit)stefano babic2008-02-03-199/+380
| | | | | | | | | | | | | | | | | | | | | | | | | | MMC support for X_Scale PXA is broken and does not work. Mainly, the mmc_init() function cannot recognize current SD/MMC cards. There were already some patches around the world but none of them was merged into the official u-boot tree. This patch makes order fixing this issue. Resubmit after code cleanup. Applied and tested on PXA 270 (TrizepsIV module). Signed-off-by: Stefano Babic <sbabic@denx.de>
* | Fix gcc issues in pxa-regs.hstefano babic2008-02-03-9/+9
|/ | | | | | | | | | | Fix gcc4 issue. With some toolchain, a previous patch that fixes gcc4 issues generates wrong code. (Problem was reported with gcc-4.0.2-glibc-2.3.6/arm-softfloat-linux-gnu). This patch fixes the problem and solves the gcc-4 issues as the linux kernel does. Signed-off-by: Stefano Babic <sbabic@denx.de> Signed-off-by: Dmitry Ivanov <ivadmitry@gmail.com>
* inka4x0: remove dead codeWolfgang Denk2008-01-25-10/+0
| | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
* Coding Style Cleanup; update CHANGELOGWolfgang Denk2008-01-23-1/+169
| | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
* Merge ../custodiansWolfgang Denk2008-01-23-110/+5362
|\