- Sep 08, 2008
-
-
Wolfgang Denk authored
missing doc_probe() prototype. Signed-off-by:
Wolfgang Denk <wd@denx.de>
-
- Aug 30, 2008
-
-
Guennadi Liakhovetski authored
Based on the original S3C64XX port by Samsung for U-Boot 1.1.6. Signed-off-by:
Guennadi Liakhovetski <lg@denx.de>
-
- Aug 20, 2008
-
-
Haavard Skinnemoen authored
ARM, i386, m68k and ppc all have identical implementations of strmhz(). Other architectures don't provide this function at all. This patch moves strmhz() into lib_generic, reducing code duplication and providing a more unified API across architectures. Signed-off-by:
Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
-
- Aug 12, 2008
-
-
William Juul authored
A lot changed in the Linux MTD code, since it was last ported from Linux to U-Boot. This patch takes U-Boot NAND support to the level of Linux 2.6.22.1 and will enable support for very large NAND devices (4KB pages) and ease the compatibility between U-Boot and Linux filesystems. This patch is tested on two custom boards with PPC and ARM processors running YAFFS in U-Boot and Linux using gcc-4.1.2 cross compilers. MAKEALL ppc/arm has some issues: * DOC/OneNand/nand_spl is not building (I have not tried porting these parts, and since I do not have any HW and I am not familiar with this code/HW I think its best left to someone else.) Except for the issues mentioned above, I have ported all drivers necessary to run MAKEALL ppc/arm without errors and warnings. Many drivers were trivial to port, but some were not so trivial. The following drivers must be examined carefully and maybe rewritten to some degree: cpu/ppc4xx/ndfc.c cpu/arm926ejs/davinci/nand.c board/delta/nand.c board/zylonite/nand.c Signed-off-by:
William Juul <william.juul@tandberg.com> Signed-off-by:
Stig Olsen <stig.olsen@tandberg.com> Signed-off-by:
Scott Wood <scottwood@freescale.com>
-
- Jul 09, 2008
-
-
Andrew Klossner authored
The compiler will help find mismatches between printf formats and arguments if you let it. This patch adds the necessary attributes to declarations in include/common.h, then begins to correct the resulting compiler warnings. Some of these were bugs, e.g., "$d" instead of "%d" and incorrect arguments. Others were just annoying, like int-long mismatches on a system where both are 32 bits. It's worth fixing the annoying errors to catch the real ones. Signed-off-by:
Andrew Klossner <andrew@cesa.opbu.xerox.com>
-
- Jul 01, 2008
-
-
Steven A. Falco authored
Currently, the setenv function does not return an error code. This patch allows to test for errors. Signed-off-by:
Steve Falco <sfalco@harris.com>
-
- Jun 28, 2008
-
-
Andy Fleming authored
ALIGN() returns the smallest aligned value greater than the passed in address or size. Taken from Linux. Signed-off-by:
Andy Fleming <afleming@freescale.com>
-
- Jun 12, 2008
-
-
Becky Bruce authored
This patch changes the return type of initdram() from long int to phys_size_t. This is required for a couple of reasons: long int limits the amount of dram to 2GB, and u-boot in general is moving over to phys_size_t to represent the size of physical memory. phys_size_t is defined as an unsigned long on almost all current platforms. This patch *only* changes the return type of the initdram function (in include/common.h, as well as in each board's implementation of initdram). It does not actually modify the code inside the function on any of the platforms; platforms which wish to support more than 2GB of DRAM will need to modify their initdram() function code. Build tested with MAKEALL for ppc, arm, mips, mips-el. Booted on powerpc MPC8641HPCN. Signed-off-by:
Becky Bruce <becky.bruce@freescale.com>
-
- Jun 11, 2008
-
-
Becky Bruce authored
Signed-off-by:
Becky Bruce <becky.bruce@freescale.com>
-
- Jun 03, 2008
-
-
Haavard Skinnemoen authored
AVR32 and AT91SAM9 both have their own identical definitions of container_of() taken from the Linux kernel. Move it to common.h so that all architectures can use it. container_of() is already used by some drivers, and will be used extensively by the new and improved SPI API. Signed-off-by:
Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
-
- May 11, 2008
-
-
Wolfgang Denk authored
This reverts commit c0559be3 which is known to break booting from dataflash and NAND.
-
- Apr 28, 2008
-
-
Wolfgang Denk authored
Signed-off-by:
Wolfgang Denk <wd@denx.de>
-
- Apr 24, 2008
-
-
Bartlomiej Sieka authored
Implement watchodg-aware variants of hash calculation functions: - crc32_wd() - md5_wd() - sha1_csum_wd() The above functions calculate the hash of the input buffer in chunks, triggering the watchdog after processing each chunk. The chunk size is given as a function call parameter. Signed-off-by:
Bartlomiej Sieka <tur@semihalf.com>
-
Jean-Christophe PLAGNIOL-VILLARD authored
in commit fad63407 "make show_boot_progress () weak." show_boot_progress is supposed to be declared as weak but declared as inline instead. Signed-off-by:
Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
-
Kumar Gala authored
eg. because of rounding error we can get 799Mhz instead of 800Mhz. Introduced DIV_ROUND_UP and roundup taken from linux kernel. Signed-off-by:
Dejan Minic <minic@freescale.com> Signed-off-by:
Srikanth Srinivasan <srikanth.srinivasan@freescale.com> Signed-off-by:
Kumar Gala <galak@kernel.crashing.org> Acked-by:
Andy Fleming <afleming@freescale.com>
-
Mike Frysinger authored
The envcrc.c does sizeof(unsigned long) when calculating the crc, but this is done with the build toolchain instead of the target tool chain, so if the build is a 64bit system but the target is 32bits, the size will obviously be wrong. This converts all unsigned long stuff related to crc32 to uint32_t types. Compile tested only: output of ./tools/envcrc when run on a 32bit build system matches that of a 64bit build system. Signed-off-by:
Mike Frysinger <vapier@gentoo.org> Acked-by:
Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
-
- Apr 22, 2008
-
-
Yuri Tikhonov authored
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>
-
- Apr 17, 2008
-
-
Joakim Tjernlund authored
This avoids an early global data reference. Signed-off-by:
Joakim Tjernlund <Joakim.Tjernlund@transmode.se>
-
- Mar 26, 2008
-
-
Kumar Gala authored
The following changes are needed to be inline with ePAPR v0.81: * r4, r5 and now always set to 0 on boot release * r7 is used to pass the size of the initial map area (IMA) * EPAPR_MAGIC value changed for book-e processors * changes in the spin table layout * spin table supports a 64-bit physical release address Signed-off-by:
Kumar Gala <galak@kernel.crashing.org>
-
Kumar Gala authored
Added the cpu command that provides a generic mechanism to get status, reset, and release secondary cores in multicore processors. Added support for using the ePAPR defined spin-table mechanism on 85xx. Signed-off-by:
Kumar Gala <galak@kernel.crashing.org>
-
- Mar 15, 2008
-
-
Stefan Roese authored
This patch adds basic support for the AMCC 460EX/460GT PPC's. Signed-off-by:
Stefan Roese <sr@denx.de>
-
- Mar 12, 2008
-
-
Marian Balakowicz authored
autoscript() routine is updated to accept second argument, which is only used for FIT images and provides a FIT subimage unit name. autoscript() routine callers must now pass two arguments. For non-interactive use (like in cmd_load.c, cmd_net.c), new environment variable 'autoscript_uname' is introduced and used as a FIT subimage unit name source. autoscript command accepts extended syntax of the addr argument: addr:<subimg_uname> Signed-off-by:
Marian Balakowicz <m8@semihalf.com>
-
- Feb 21, 2008
-
-
Marian Balakowicz authored
Signed-off-by:
Marian Balakowicz <m8@semihalf.com>
-
- Feb 14, 2008
-
-
Anatolij Gustschin authored
Signed-off-by:
Anatolij Gustschin <agust@denx.de>
-
Mike Frysinger authored
Signed-off-by:
Mike Frysinger <vapier@gentoo.org>
-
- Feb 13, 2008
-
-
Kumar Gala authored
Signed-off-by:
Kumar Gala <galak@kernel.crashing.org>
-
- Feb 05, 2008
-
-
Mike Frysinger authored
Signed-off-by:
Mike Frysinger <vapier@gentoo.org>
-
- Feb 04, 2008
-
-
Harald Welte authored
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>
-
- Jan 12, 2008
-
-
Grzegorz Bernacki authored
Signed-off-by:
Grzegorz Bernacki <gjb@semihalf.com>
-
- Jan 09, 2008
-
-
James Yang authored
Add new function readline_into_buffer() that allows the output of readline to be put into a pointer to char buffer. This refactoring allows other functions besides the main command loop to also use the same input mechanism. Signed-off-by:
James Yang <James.Yang@freescale.com> Acked-by:
Jon Loeliger <jdl@freescale.com>
-
Rafal Jaworowski authored
This is an API for external (standalone) applications running on top of U-Boot, and is meant to be more extensible and robust than the existing jumptable mechanism. It is similar to UNIX syscall approach. See api/README for more details. Included is the demo application using this new framework (api_examples). Please note this is still an experimental feature, and is turned off by default. Signed-off-by:
Rafal Jaworowski <raj@semihalf.com>
-
Rafal Jaworowski authored
The newly introduced API (routines related to env vars) will need to call it. Signed-off-by:
Rafal Zabdyr <armo@semihalf.com>
-
- Dec 27, 2007
-
-
Martin Krause authored
Signed-off-by:
Martin Krause <martin.krause@tqs.de>
-
- Dec 12, 2007
-
-
Kumar Gala authored
The MPC8572 introduces the concept of an asynchronous DDR clock with regards to the platform clock. Introduce get_ddr_freq() to report the DDR freq regardless of sync/async mode. Signed-off-by:
Kumar Gala <galak@kernel.crashing.org>
-
- Nov 17, 2007
-
-
Grant Likely authored
Ugh. I *hate* to back this change out, but these compiler flags don't work for relocation on all versions of GCC. I've not been able to reproduce the environment in my setup (and hence, not been able to find a combination that *does* work), so I've got no choice but to go back to the old gcc flags and linker script. Signed-off-by:
Grant Likely <grant.likely@secretlab.ca>
-
- Nov 16, 2007
-
-
Stefan Roese authored
Till now the UTL registers on 405EX were not initialized but left with their default values. This patch new initializes some of the UTL registers on 405EX. Signed-off-by:
Stefan Roese <sr@denx.de>
-
- Nov 15, 2007
-
-
Grant Likely authored
This reverts commit 3649cd99. Signed-off-by:
Grant Likely <grant.likely@secretlab.ca>
-
Grant Likely authored
This reverts commit 6f7576b2. Signed-off-by:
Grant Likely <grant.likely@secretlab.ca>
-
Grant Likely authored
This reverts commit a85dd254. Signed-off-by:
Grant Likely <grant.likely@secretlab.ca>
-
Grant Likely authored
This reverts commit f3a52fe0. Signed-off-by:
Grant Likely <grant.likely@secretlab.ca>
-