- Jul 31, 2008
-
-
Kumar Gala authored
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>
-
Stefan Roese authored
Signed-off-by:
Stefan Roese <sr@denx.de>
-
Stefan Roese authored
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>
-
Kyungmin Park authored
There are no I2C devices on this board. Signed-off-by:
Kyungmin Park <kyungmin.park@samsung.com>
-
Wolfgang Denk authored
-
- Jul 29, 2008
-
-
Kumar Gala authored
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>
-
Frank Svendsbøe authored
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>
-
Kyungmin Park authored
Signed-off-by:
Kyungmin Park <kyungmin.park@samsung.com>
-
Rafal Jaworowski authored
Signed-off-by:
Rafal Czubak <rcz@semihalf.com> Acked-by:
Rafal Jaworowski <raj@semihalf.com>
-
Rafal Jaworowski authored
Signed-off-by:
Rafal Czubak <rcz@semihalf.com> Acked-by:
Rafal Jaworowski <raj@semihalf.com>
-
Rafal Jaworowski authored
Signed-off-by:
Rafal Czubak <rcz@semihalf.com> Acked-by:
Rafal Jaworowski <raj@semihalf.com>
-
Rafal Jaworowski authored
Signed-off-by:
Rafal Czubak <rcz@semihalf.com>
-
Jean-Christophe PLAGNIOL-VILLARD authored
Signed-off-by:
Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
-
Jean-Christophe PLAGNIOL-VILLARD authored
Signed-off-by:
Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
-
Stefano Babic authored
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>
-
Scott Wood authored
This fixes building out-of-tree. Signed-off-by:
Scott Wood <scottwood@freescale.com>
-
Heiko Schocher authored
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>
-
Adrian Filipi authored
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>
-
Remy Bohmer authored
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>
-
Timur Tabi authored
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>
-
Wolfgang Ocker authored
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>
-
- Jul 24, 2008
-
- Jul 23, 2008
-
-
Haavard Skinnemoen authored
Signed-off-by:
Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
-
Haavard Skinnemoen authored
Signed-off-by:
Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
-
Haavard Skinnemoen authored
Signed-off-by:
Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
-
Haavard Skinnemoen authored
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>
-
- Jul 20, 2008
-
-
Michal Simek authored
Signed-off-by:
Michal Simek <monstr@monstr.eu>
-
Gururaja Hebbar K R authored
Signed-off-by:
Gururaja Hebbar <gururajakr@sanyo.co.in>
-
Detlev Zundel authored
Signed-off-by:
Detlev Zundel <dzu@denx.de>
-
Detlev Zundel authored
Signed-off-by:
Detlev Zundel <dzu@denx.de>
-
Ricardo Ribalda authored
Signed-off-by:
Ricardo Ribalda Delgado <ricardo.ribalda@uam.es> Acked-by:
Grant Likely <grant.likely@secretlab.ca>
-
Stefan Roese authored
Some CPU POST tests did not disable the interrupts while running. This seems to be necessary to protect this self modifying code. Signed-off-by:
Stefan Roese <sr@denx.de>
-
Stefan Roese authored
This is needed for boards that define CFG_64BIT_STRTOUL but don't define CFG_64BIT_LBA. Signed-off-by:
Stefan Roese <sr@denx.de>
-
Niklaus Giger authored
The SPR IVPR register is only present (as far as I know) for processors with a PPC440 core. Signed-off-by:
Niklaus Giger <niklaus.giger@netstal.com> Acked-by:
Stefan Roese <sr@denx.de>
-
- Jul 18, 2008
-
-
Stefan Roese authored
This patch defines CFG_64BIT_VSPRINTF and CFG_64BIT_STRTOUL for all 440/460 platforms. This may be needed since those platforms support 36bit physical address space. Signed-off-by:
Stefan Roese <sr@denx.de>
-
Stefan Roese authored
This patch fixes a problem with incorrect MODTx (On Die Termination) setup for a configuration with multiple DIMM's and multiple ranks. Without this change Katmai was unable to boot Linux with DDR2 frequency >= 533MHz and mem>=3GB. With this patch Katmai successfully boots Linux with DDR2 frequency = 640MHz and mem=4GB. Signed-off-by:
Stefan Roese <sr@denx.de>
-
- Jul 17, 2008
-
-
Sebastian Siewior authored
This got broken by commits 93c56f21 [cfi_flash: support of long cmd in U-boot.] That command needs to be in little endian format on BE machines with CFG_WRITE_SWAPPED_DATA. Without this patch, the command 0xf0 gets saved on stack as 0x00 00 00 f0 and 0x00 gets written into the cmdbuf in case portwidth = chipwidth = 8bit. Cc: Alexey Korolev <akorolev@infradead.org> Cc: Vasiliy Leonenko <vasiliy.leonenko@mail.ru> Signed-off-by:
Sebastian Siewior <bigeasy@linutronix.de>
-