aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-02-14Fix return value of mtest when CFG_ALT_MEMTEST setGuennadi Liakhovetski
Fix a missing return statement from a non-void function. Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
2008-02-1485xx, 86xx: Determine I2C clock frequencies and store in global_dataTimur Tabi
Update global_data to define i2c1_clk and i2c2_clk to 85xx and 86xx. Update the get_clocks() function in 85xx and 86xx to determine the I2C clock frequency and store it in gd->i2c1_clk and gd->i2c2_clk. Signed-off-by: Timur Tabi <timur@freescale.com>
2008-02-14TQM834x: clean up configurationWolfgang Denk
Get board name consistent with Linux and elsewhere; get rid of local network definitions etc. Signed-off-by: Wolfgang Denk <wd@denx.de>
2008-02-14TFTP: fix search of ':' in BootFileJean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2008-02-14Coding style cleanup; update CHANGELOG.Wolfgang Denk
Signed-off-by: Wolfgang Denk <wd@denx.de>
2008-02-14PPC: Use r2 instead of r29 as global data pointerWolfgang Denk
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>
2008-02-14ARM: make the machid configurable via the environmentUwe Kleine-König
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>
2008-02-14Use #ifdef CONFIG_FSLDMAFECVlad Lungu
MCD_tasks.c lacks [subject] so compilation of mips targets (and more, probably) fails Signed-off-by: Vlad Lungu <vlad@comsys.ro>
2008-02-14common/miiphyutil.c: Cleanup MII_DEBUG and debug()Shinya Kuribayashi
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>
2008-02-14OneNAND Initial Program Loader (IPL) supportKyungmin Park
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>
2008-02-14Fix CONFIG_MMC usage in fat codeAndy Fleming
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>
2008-02-14ppc: Refactor cache routines, so there is only one common set.Rafal Jaworowski
Signed-off-by: Rafal Jaworowski <raj@semihalf.com>
2008-02-14NFS Timeout with large files.Hiroshi Ito
Retry to send NFS packet before reaching timeout. Signed-off-by: Hiroshi Ito <ito@mlb.co.jp>
2008-02-14Add dependencies to avoid race conditions with parallel make.Johannes Stezenbach
Signed-off-by: Johannes Stezenbach <js@sig21.net>
2008-02-14Mark board_init_[fr] as noreturnMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2008-02-14Only use TEXT_BASE if defined by the boardMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2008-02-14Fix remaining CONFIG_COMMANDSJean-Christophe PLAGNIOL-VILLARD
update comments Fix coding style Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2008-02-14Add *~ to .gitignoreNiklaus Giger
One should never add a backup file ending in with ~ to the git repository. Signed-off-by: Niklaus Giger <niklaus.giger@netstal.com>
2008-02-14Remove duplicate defines for ARRAY_SIZEKumar Gala
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
2008-02-14Fix incorrect address test in AT91F_DataflashSelect().Stelian Pop
Signed-off-by: Stelian Pop <stelian@popies.net>
2008-02-13Fix building of fdt_support.c if DEBUG setKumar Gala
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
2008-02-12Merge branch 'master' of /home/wd/git/u-boot/custodiansWolfgang Denk
2008-02-12Merge branch 'master' of git://www.denx.de/git/u-boot-mpc83xxWolfgang Denk
2008-02-12Merge branch 'master' of /home/wd/git/u-boot/custodiansWolfgang Denk
2008-02-12Get rid of "#undef DEBUG" from board config files.Wolfgang Denk
Signed-off-by: Wolfgang Denk <wd@denx.de>
2008-02-12Remove #undef DEBUG from MPC83xx board header filesTimur Tabi
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>
2008-02-12QE: Move FDT support into a common fileKumar Gala
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>
2008-02-07ADS5121e: DDR2 init/timing update.Grzegorz Bernacki
Signed-off-by: John Rigby <jrigby@freescale.com> Signed-off-by: Grzegorz Bernacki <gjb@semihalf.com>
2008-02-07Device tree updatesJohn Rigby
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>
2008-02-07Change IPS freq to 66MHzJohn Rigby
Recommended frequency is 66MHz Change divider from 4 to 3. Signed-off-by: John Rigby <jrigby@freescale.com>
2008-02-07xsengine: rename board_post_init to board_late_initJean-Christophe PLAGNIOL-VILLARD
missing migration from "Cleanup of some init functions" in c837dcb1a316745092567bfe4fb266d0941884ff Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2008-02-07Add attribute POST_PREREL to ECC memory POSTLarry Johnson
Signed-off-by: Larry Johnson <lrj@acm.org>
2008-02-05TFTP: add host ip addr supportJean-Christophe PLAGNIOL-VILLARD
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>
2008-02-05OMAP5912: fix FIFO handling in UART driverWolfgang Denk
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>
2008-02-04ARM: S3C24x0 SoC NAND controller supportHarald Welte
This patch adds NAND support to the S3C24x0 SoC code in u-boot Signed-off-by: Harald Welte <laforge@openmoko.org>
2008-02-04ARM: s3c24xx: Multiple serial port supportHarald Welte
This patch adds support for CONFIG_SERIAL_MULTI on s3c24x0 CPU's Signed-off-by: Harald Welte <laforge@openmoko.org>
2008-02-04ARM: arm920t: Allow use of 'gd' pointer from IRQHarald Welte
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>
2008-02-04ARM: arm920/s3c24xx: IRQ demulitplexer callbackHarald Welte
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>
2008-02-04ARM: Display Ethernet info in do_bdinfo only if CONFIG_CMD_NET is definedHebbar
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>
2008-02-04ARM: add I2C init function call in lib_arm/board.cHebbar
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>
2008-02-04ARM: Board voiceblue updateLadislav Michl
Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
2008-02-04ARM: AT91RM9200 based boards config cleanupLadislav Michl
Signed-off-by: Ladislav Michl <ladis@linux-mips.org> Remove nowhere used struct bd_info_ext, remove trailing whitespaces, fix indentation.
2008-02-04ARM: Fix at91rm9200dk base addressLadislav Michl
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.
2008-02-03MMC for PXA 27X (resubmit)stefano babic
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>
2008-02-03Fix gcc issues in pxa-regs.hstefano babic
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>
2008-01-29TQM834x: enable DHCPJens Gehrlein
Signed-off-by: Jens Gehrlein <sew_s@tqs.de> Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
2008-01-29TQM834x: support for Spansion N-type Flashes (sector size = 256 KiB at 2x16 ↵Jens Gehrlein
Bit). Signed-off-by: Jens Gehrlein <sew_s@tqs.de> Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
2008-01-29Fix conditional compilation of mpx8xxx_spi driverBen Warren
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>
2008-01-29API: Provide dummy halt() in the glue layer.Rafal Jaworowski
This fixes a demo app link failure on platforms configured with CONFIG_PANIC_HANG. Signed-off-by: Rafal Jaworowski <raj@semihalf.com>
2008-01-29API: Convert conditional building to the new scheme.Rafal Jaworowski
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>