summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeLines
* ColdFire: Fix compilation issue caused by a missing functionTsiChung Liew2008-08-01-0/+5
| | | | | | | Implement usec2ticks() which is used by fsl_i2c.c in lib_m68k/time.c Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
* Fix compilation error for TASREGTsiChung Liew2008-08-01-0/+2
| | | | | | | TASREG is ColdFire platform, the include ppc4xx.h in board/esd/common/flash.c causes conflict. Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
* Fix compilation error for MCF5275TsiChung Liew2008-08-01-1/+1
| | | | | | Rename OBJ to COBJ in board/platform/Makefile Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
* Fix compile error caused by incorrect function return typeTsiChung Liew2008-08-01-1/+1
| | | | | | | Rename int mii_init(void) to void mii_init(void) for idmr ColdFire platform Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
* Prepare v1.3.4-rc2: update CHANGELOGWolfgang Denk2008-07-31-1/+551
| | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
* Merge branch 'master' of ssh://10.10.0.7/home/wd/git/u-boot/masterWolfgang Denk2008-07-31-18/+50
|\
| * Add gzipped logo supportMark Jackson2008-07-31-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The README file states that CONFIG_VIDEO_BMP_GZIP behaves as follows: If this option is set, additionally to standard BMP images, gzipped BMP images can be displayed via the splashscreen support or the bmp command. However, the splashscreen function *only* supports standard BMP images. This patch adds the documented gzip support. Signed-off-by: Mark Jackson <mpfj@mimc.co.uk>
| * Fix Atmel LCD controller endianess for AVR32 processorsMark Jackson2008-07-31-0/+4
| | | | | | | | | | | | | | | | | | | | | | The Atmel lcd controller is used on Atmel's AT91 (little endian) and AVR32 (big endian) platforms. As such, the controller can handle both big and little endian memory. This patch fixes the driver for the AVR32 platform. Signed-off-by: Mark Jackson <mpfj@mimc.co.uk>
| * apollon: fix build out of treeJean-Christophe PLAGNIOL-VILLARD2008-07-31-15/+31
| | | | | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
| * Uncompressed images loaded to their start address shall set load_end tooGuennadi Liakhovetski2008-07-31-3/+2
| | | | | | | | | | Signed-off-by: Guennadi Liakhovetski <lg@denx.de> Acked-by: Bartlomiej Sieka <tur@semihalf.com>
* | Fix printf() format problems with configurable promptsWolfgang Denk2008-07-31-55/+86
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | U-Boot allows for configurable prompt strings using the CONFIG_AUTOBOOT_PROMPT resp. CONFIG_MENUPROMPT definitions. So far, the assumption was that any such user defined problts would contain exactly one "%d" format specifier. But some boards did not. To allow for flexible boot prompts without adding too complex code we now allow to specify the whole list of printf() arguments in the user definition. This is powerful, but requires a responsible user who really understands what he is doing, as he needs to know for exanple which variables are available in the respective context. Signed-off-by: Wolfgang Denk <wd@denx.de>
* | TQM85xx: fix typo introduce by commit ffbb5cb9Wolfgang Denk2008-07-31-1/+1
| | | | | | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
* | mvbc_p board: fix most build warnings.Wolfgang Denk2008-07-31-1/+2
| | | | | | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
* | E1000: clean up CONFIG_E1000_FALLBACK_MAC handlingWolfgang Denk2008-07-31-7/+8
| | | | | | | | | | | | | | Avoid "integer constant is too large for 'long' type" warnings. And simplify the code. Signed-off-by: Wolfgang Denk <wd@denx.de>
* | Merge branch 'master' of ssh://10.10.0.7/home/wd/git/u-boot/masterWolfgang Denk2008-07-31-222/+181
|\ \ | |/
| * 8260: Making the use of gd->pci_clk dependant on the CONFIG_PCIMatvejchikov Ilya2008-07-31-20/+27
| | | | | | | | Signed-off-by: Matvejchikov Ilya <matvejchikov@gmail.com>
| * PPC: Add pci_clk in the global_data for CPM2 processorsMatvejchikov Ilya2008-07-31-0/+3
| | | | | | | | | | | | | | This patch adds pci_clk field to the global_data structure for the processors which have CPM2 module in case the CONFIG_PCI is defined. Signed-off-by: Matvejchikov Ilya <matvejchikov@gmail.com>
| * mpc85xx: Update linker scripts for Freescale boardsKumar Gala2008-07-31-161/+108
| | | | | | | | | | | | | | | | | | | | | | | | * Move to using absolute addressing always. Makes the scripts a bit more portable and common * Moved .bss after the end of the image. These allows us to have more room in the resulting binary image for code and data. * Removed .text object files that aren't really needed * Make sure _end is 4-byte aligned as the .bss init code expects this. (Its possible that the end of .bss isn't 4-byte aligned) Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
| * Fix compile warnings in dlmallocKumar Gala2008-07-31-10/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The origional code was using on odd reference to get to the first real element in av_[]. The first two elements of the array are not used for actual bins, but for house keeping. If we are more explicit about how use the first few elements we can get rid of the warnings: dlmalloc.c: In function 'malloc_extend_top': dlmalloc.c:1971: warning: dereferencing type-punned pointer will break strict-aliasing rules dlmalloc.c:1999: warning: dereferencing type-punned pointer will break strict-aliasing rules dlmalloc.c:2029: warning: dereferencing type-punned pointer will break strict-aliasing rules ... The logic of how this code came to be is: bin_at(0) = (char*)&(av_[2]) - 2*SIZE_SZ SIZE_SZ is the size of pointer, and av_ is arry of pointers so: bin_at(0) = &(av_[0]) Going from there to bin_at(0)->fd or bin_at(0)->size should be straight forward. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
| * ppc4xx: Fix W7OLMG compile problems by adding missing LM75 definesStefan Roese2008-07-31-0/+6
| | | | | | | | Signed-off-by: Stefan Roese <sr@denx.de>
| * cmd_bootm.c: Fix problem with '#if (CONFIG_CMD_USB)'Stefan Roese2008-07-31-2/+2
| | | | | | | | | | | | | | | | | | A recent patch used '#if (CONFIG_CMD_USB)' instead of '#if defined(CONFIG_CMD_USB)'. This patch fixes this problem and makes common/bootm.c compile again. Signed-off-by: Stefan Roese <sr@denx.de> Acked-by: Markus Klotzbuecher <mk@denx.de>
| * Remove unused I2C at apollon boardKyungmin Park2008-07-31-8/+0
| | | | | | | | | | | | There are no I2C devices on this board. Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
| * Merge branch 'master' of /home/wd/git/u-boot/custodiansWolfgang Denk2008-07-31-16/+20
| |\
| | * Merge branch 'master' of git://git.denx.de/u-boot-avr32Wolfgang Denk2008-07-31-16/+20
| | |\
| | | * Merge branch 'format-warnings' of git://git.denx.de/u-boot-avr32Haavard Skinnemoen2008-07-24-16/+18
| | | |\
| | | | * spi flash: Fix printf() format warningsHaavard Skinnemoen2008-07-23-3/+3
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
| | | | * atmel_mci: Fix printf() format warningsHaavard Skinnemoen2008-07-23-8/+8
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
| | | | * avr32: Fix printf() format warningsHaavard Skinnemoen2008-07-23-5/+7
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
| | | * | avr32: asm/io.h needs asm/types.hHaavard Skinnemoen2008-07-23-0/+2
| | | |/ | | | | | | | | | | | | | | | | | | | | | | | | map_physmem() takes a phys_addr_t as parameter. This type is defined in asm/types.h, so we need to include that file. Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
| * | | fsl_i2c: Use timebase timer functions instead of get_timer()Kumar Gala2008-07-30-5/+4
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The current implementation of get_timer() is only really useful after we have relocated u-boot to memory. The i2c code is used before that as part of the SPD DDR setup. We actually have a bug when using the get_timer() code before relocation because the .bss hasn't been setup and thus we could be reading/writing a random location (probably in flash). Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
* | | at91rm9200dk, csb637: fix NAND related build problemsWolfgang Denk2008-07-31-17/+12
|/ / | | | | | | | | | | | | Tried fixing NAND support for the at91rm9200dk board; untested. Disabled NAND support in the csb637 board config file. Signed-off-by: Wolfgang Denk <wd@denx.de>
* | Merge branch 'master' of git://git.denx.de/u-boot-mipsWolfgang Denk2008-07-30-1/+1
|\ \
| * | mips: Fix baudrate divisor computation on alchemy cpusWolfgang Ocker2008-07-30-1/+1
| |/ | | | | | | | | | | | | | | Use CFG_MIPS_TIMER_FREQ when computing the baudrate divisor on alchemy cpus. Signed-off-by: Wolfgang Ocker <weo@reccoware.de> Signed-off-by: Shinya Kuribayashi <skuribay@ruby.dti.ne.jp>
* | Adder8xx: Fix CFG_MONITOR_LENFrank Svendsbøe2008-07-30-1/+1
| | | | | | | | | | | | | | | | | | Due to increased space usage, U-Boot can no longer be stored in three sectors. The current U-Boot use just over three flash sectors (197k), and U-Boot will become corrupt after saving environment variables. This patch adds another 64k to CFG_MONITOR_LEN. Signed-off-by: Frank E. Svendsbøe <frank.svendsboe@gmail.com>
* | Add OneNAND IPL related files to gitignoreKyungmin Park2008-07-30-0/+7
| | | | | | | | Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
* | API: Teach the storage layer about SATA and MMC options.Rafal Jaworowski2008-07-30-11/+30
| | | | | | | | | | Signed-off-by: Rafal Czubak <rcz@semihalf.com> Acked-by: Rafal Jaworowski <raj@semihalf.com>
* | API: Dump contents of sector 0 in the demo application.Rafal Jaworowski2008-07-30-6/+44
| | | | | | | | | | Signed-off-by: Rafal Czubak <rcz@semihalf.com> Acked-by: Rafal Jaworowski <raj@semihalf.com>
* | API: Correct storage enumeration routine, other minor fixes in API storage area.Rafal Jaworowski2008-07-30-5/+11
| | | | | | | | | | Signed-off-by: Rafal Czubak <rcz@semihalf.com> Acked-by: Rafal Jaworowski <raj@semihalf.com>
* | API: Fix compilation warnings in api_examples/demo.c.Rafal Jaworowski2008-07-30-8/+9
| | | | | | | | Signed-off-by: Rafal Czubak <rcz@semihalf.com>
* | Fix more printf() format warningsJean-Christophe PLAGNIOL-VILLARD2008-07-30-3/+3
| | | | | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* | Fix remaining CFG_CMD_ define, ifdef and commentsJean-Christophe PLAGNIOL-VILLARD2008-07-30-8/+8
| | | | | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* | Add include for config.h in command.h.Stefano Babic2008-07-30-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Because the cmd_tbl_s structure depends on the configuration file, it must be assured that config.h is included before the structure is evaluated by the compiler. If this is not certain, it could happen that the compiler generates structures of different size, depending on the fact if the source file includes <config.h> before or after <command.h>. The effect is that u-boot crashes when tries to relocate the command table (for ppc) or try to access to the command table for other architectures. The problem can happen on board-depending commands. All general commands under /common are unaffected, because they include already config.h before command.h. Signed-off-by: Stefano Babic <sbabic@denx.de>
* | NAND: $(obj)-qualify ecc.h in kilauea NAND boot Makefile.Scott Wood2008-07-30-1/+1
| | | | | | | | | | | | This fixes building out-of-tree. Signed-off-by: Scott Wood <scottwood@freescale.com>
* | Fix warnings if compiling with IDE support.Heiko Schocher2008-07-30-24/+22
| | | | | | | | | | | | | | cmd_ide.c:827: Warnung: weak declaration of `ide_outb' after first use results in unspecified behavior cmd_ide.c:839: Warnung: weak declaration of `ide_inb' after first use results in unspecified behavior Signed-off-by: Heiko Schocher <hs@denx.de>
* | Removed support for the adsvix board.Adrian Filipi2008-07-30-1320/+0
| | | | | | | | | | | | | | | | Support for the adsvix was originally provided by Applied Data Systems (ADS), inc., now EuroTech, Inc. The board never shipped aside from some sample boards. Signed-off-by: Adrian Filipi <adrian.filipi@eurotech.com>
* | ARM: set GD_FLG_RELOC for boards skipping relocation to RAMRemy Bohmer2008-07-30-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | If CONFIG_SKIP_RELOCATE_UBOOT is set the flag GD_FLG_RELOC is usually never set, because relocation to RAM is actually never done by U-boot itself. However, several pieces of code check if this flag is set at some time. So, to make sure this flag is set on boards skipping relocation, this is added to the initialisation of U-boot at a moment where it is safe to do so. Signed-off-by: Remy Bohmer <linux@bohmer.net>
* | fsl-i2c: fix writes to data segment before relocationTimur Tabi2008-07-30-2/+7
|/ | | | | | | | | | Prevent i2c_init() in fsl_i2c.c from writing to the data segment before relocation. Commit d8c82db4 added the ability for i2c_init() to program the I2C bus speed and save the value in i2c_bus_speed[], which is a global variable. It is an error to write to the data segment before relocation, which is what i2c_init() does when it stores the bus speed in i2c_bus_speed[]. Signed-off-by: Timur Tabi <timur@freescale.com>
* microblaze: Fix printf() format issuesMichal Simek2008-07-20-5/+5
| | | | Signed-off-by: Michal Simek <monstr@monstr.eu>
* Remove unused code from lib_arm/bootm.cGururaja Hebbar K R2008-07-20-3/+0
| | | | Signed-off-by: Gururaja Hebbar <gururajakr@sanyo.co.in>
* tqm85xx: Demystify 'DK: !!!' commentDetlev Zundel2008-07-20-1/+2
| | | | Signed-off-by: Detlev Zundel <dzu@denx.de>