- Nov 28, 2010
-
-
Mike Frysinger authored
Signed-off-by:
Mike Frysinger <vapier@gentoo.org>
-
Mike Frysinger authored
Use the new helper func to clean up duplicate logic handling of the autostart env var. Signed-off-by:
Mike Frysinger <vapier@gentoo.org>
-
Mike Frysinger authored
Signed-off-by:
Mike Frysinger <vapier@gentoo.org>
-
Mike Frysinger authored
These are pure lookup tables -- no need to be writable. Signed-off-by:
Mike Frysinger <vapier@gentoo.org>
-
Mike Frysinger authored
No one else needs this table. While we're here, use the standard ARRAY_SIZE helper macro. Signed-off-by:
Mike Frysinger <vapier@gentoo.org>
-
Mike Frysinger authored
Many strings in this file need not be writable. Signed-off-by:
Mike Frysinger <vapier@gentoo.org>
-
Mike Frysinger authored
Signed-off-by:
Mike Frysinger <vapier@gentoo.org>
-
Mike Frysinger authored
Signed-off-by:
Mike Frysinger <vapier@gentoo.org>
-
Mike Frysinger authored
Signed-off-by:
Mike Frysinger <vapier@gentoo.org>
-
Mike Frysinger authored
Rather than add runtime overhead of installing completion handlers, do it statically at build time. This requires a new build time helper macro to declare a command and the completion handler at the same time. Then we convert the env related funcs over to this. This gives an opportunity to also unify the U_BOOT_CMD macros. Signed-off-by:
Mike Frysinger <vapier@gentoo.org>
-
Mike Frysinger authored
The duplication of the do_reset prototype has gotten out of hand, and they're not all in sync. Unify them all in command.h. Signed-off-by:
Mike Frysinger <vapier@gentoo.org>
-
Mike Frysinger authored
Signed-off-by:
Mike Frysinger <vapier@gentoo.org>
-
Mike Frysinger authored
The duplication of the do_bootm prototype has gotten out of hand, and they're pretty much all outdated (wrt constness). Unify them all in command.h. Signed-off-by:
Mike Frysinger <vapier@gentoo.org>
-
Mike Frysinger authored
The recent command clean up to constify the argv option to command funcs missed the command_t type itself. This is probably because there are no build time warnings from it because no one is actually using this thing. So just punt it rather than fix it. Signed-off-by:
Mike Frysinger <vapier@gentoo.org>
-
Mike Frysinger authored
No need for these structures to be writable or global. While we're here, also drop local versions of the ARRAY_SIZE macro. Signed-off-by:
Mike Frysinger <vapier@gentoo.org>
-
Wolfgang Denk authored
Signed-off-by:
Wolfgang Denk <wd@denx.de>
-
Anatolij Gustschin authored
commit ec50a8e3 "cfi_flash: handle 'chip size exceeds address window' situation" added 3rd argument to flash_get_size() but didn't fix all the function calls from the board specific code. Many boards have their own flash_get_size() definitions in the board code and use them there, but some boards (e.g. tqm834x, tqm85xx, pdm360ng) use flash_get_size() from the cfi_flash.c driver. The bug shows up if the value of the "max_size" argument (which is not defined when calling the function with two arguments) happens to be less than "info->size". In this case on the affected boards we end up with a bank of reduced size and in the worst case might even be not able to update U-Boot or to boot the kernel from flash: => fli Bank # 1: CFI conformant FLASH (32 x 16) Size: 0 kB in 1 Sectors AMD Standard command set, Manufacturer ID: 0x01, Device ID: 0x227E Erase timeout: 4096 ms, write timeout: 1 ms Buffer write timeout: 3 ms, buffer size: 64 bytes Sector Start Addresses: F0000000 RO Bank # 2: CFI conformant FLASH (32 x 16) Size: 128 MB in 512 Sectors AMD Standard command set, Manufacturer ID: 0x01, Device ID: 0x227E Erase timeout: 4096 ms, write timeout: 1 ms Buffer write timeout: 3 ms, buffer size: 64 bytes Sector Start Addresses: F8000000 F8040000 F8080000 F80C0000 F8100000 F8140000 F8180000 F81C0000 F8200000 F8240000 ... E.g., updating U-Boot is not possible now: => protect off ${u-boot_addr} +${u-boot_size} Error: end address (0xf007ffff) not in flash! Bad address format => era ${u-boot_addr} +${u-boot_size} Error: end address (0xf007ffff) not in flash! Bad address format This patch removes the 3rd argument of flash_get_size() again and sets "max_size" in the function itself instead of passing it as a function argument. Signed-off-by:
Anatolij Gustschin <agust@denx.de>
-
Sandeep Paulraj authored
Fix for ARM Relocation support Signed-off-by:
Sandeep Paulraj <s-paulraj@ti.com>
-
Sandeep Paulraj authored
Fix for ARM Relocation support Signed-off-by:
Sandeep Paulraj <s-paulraj@ti.com>
-
Sandeep Paulraj authored
Fix for ARM Relocation support Signed-off-by:
Sandeep Paulraj <s-paulraj@ti.com>
-
Dirk Behme authored
Fix compiler warning fdt_support.c: In function 'of_bus_default_count_cells': fdt_support.c:957: warning: passing argument 1 of '__swab32p' discards qualifiers from pointer target type fdt_support.c:965: warning: passing argument 1 of '__swab32p' discards qualifiers from pointer target type be32_to_cpup() expects an 'u32 *' while prop is 'const u32 *'. Signed-off-by:
Dirk Behme <dirk.behme@googlemail.com>
-
Thomas Weber authored
This patch fixes the issue by defining and using CONFIG_SYS_INIT_RAM_SIZE and CONFIG_SYS_INIT_RAM_ADDR. This patch adopts the commit 31bfcf1c from Steve Sakoman and Sandeep Paulraj on Devkit8000. Signed-off-by:
Thomas Weber <weber@corscience.de>
-
Stefan Roese authored
When the cache is enabled in SDRAM we need to flush not only the global data area but also the bd_info struct in relocate_code. This patch now flushed the complete dcache (all dcache lines) via flush_dcache() instead of adding a flush_dcache_range() call for bd_info since this is faster. Signed-off-by:
Stefan Roese <sr@denx.de>
-
Stefan Roese authored
This patch fixes a problem in the Denali (440EPx) SDRAM ECC POST test. When cache is enabled in the SDRAM area, the values written to SDRAM need to be flushed from cache to SDRAM using the dcfb instruction. Without this patch the POST ECC test failed. Now its working again on platforms with cache enabled in SDRAM. Signed-off-by:
Stefan Roese <sr@denx.de>
-
- Nov 27, 2010
-
-
Wolfgang Denk authored
Signed-off-by:
Wolfgang Denk <wd@denx.de>
-
Thomas Weber authored
Use the return value of cmd_usage instead of ignoring this and returning a 1. Signed-off-by:
Thomas Weber <weber@corscience.de> Acked-by:
Mike Frysinger <vapier@gentoo.org>
-
Thomas Weber authored
Use the return value of cmd_usage instead of ignoring this and returning a 1. Signed-off-by:
Thomas Weber <weber@corscience.de> Acked-by:
Mike Frysinger <vapier@gentoo.org>
-
Thomas Weber authored
Use the return value of cmd_usage instead of ignoring this and returning a 1. Signed-off-by:
Thomas Weber <weber@corscience.de> Acked-by:
Mike Frysinger <vapier@gentoo.org>
-
Thomas Weber authored
Guard strchr/strlen from being called with NULL pointer. This line is crashing when command "env" is called without subcommand. The cmd is NULL in this case because the calling function "do_env" decremented the argc without checking if there are still arguments available. Signed-off-by:
Thomas Weber <weber@corscience.de>
-
Thomas Weber authored
The env command needs one subcommand. If this is not available print the usage help. Signed-off-by:
Thomas Weber <weber@corscience.de>
-
Eric Cooper authored
update suggested sort command in comment to produce desired order suggest use of "column -t" to reformat Signed-off-by:
Eric Cooper <ecc@cmu.edu>
-
Kristoffer Ericson authored
* Fix memory initialization. This fixes the problem with kernel oopses during heavy load. * Cleanup pinsetup, which for reference is among other things needed for proper flash erasing. Signed-off-by:
Kristoffer Ericson <kristoffer.ericson@gmail.com>
-
Wolfgang Denk authored
Signed-off-by:
Wolfgang Denk <wd@denx.de> Acked-by:
Stefan Roese <sr@denx.de>
-
Wolfgang Denk authored
Signed-off-by:
Wolfgang Denk <wd@denx.de> Acked-by:
Stefan Roese <sr@denx.de>
-
Wolfgang Denk authored
Signed-off-by:
Wolfgang Denk <wd@denx.de> Acked-by:
Stefan Roese <sr@denx.de>
-
Wolfgang Denk authored
Signed-off-by:
Wolfgang Denk <wd@denx.de> Acked-by:
Stefan Roese <sr@denx.de>
-
Wolfgang Denk authored
Signed-off-by:
Wolfgang Denk <wd@denx.de> Acked-by:
Stefan Roese <sr@denx.de>
-
Wolfgang Denk authored
Signed-off-by:
Wolfgang Denk <wd@denx.de> Cc: Anatolij Gustschin <agust@denx.de> Cc: Timur Tabi <timur@freescale.com> Acked-by:
Stefan Roese <sr@denx.de>
-
Wolfgang Denk authored
Signed-off-by:
Wolfgang Denk <wd@denx.de> Acked-by:
Stefan Roese <sr@denx.de>
-