- 28 11月, 2010 19 次提交
-
-
由 Thomas Weber 提交于
Use the return value of cmd_usage instead of ignoring this and returning a 1. Signed-off-by: NThomas Weber <weber@corscience.de> Acked-by: NMike Frysinger <vapier@gentoo.org>
-
由 Thomas Weber 提交于
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: NThomas Weber <weber@corscience.de>
-
由 Thomas Weber 提交于
The env command needs one subcommand. If this is not available print the usage help. Signed-off-by: NThomas Weber <weber@corscience.de>
-
由 Eric Cooper 提交于
update suggested sort command in comment to produce desired order suggest use of "column -t" to reformat Signed-off-by: NEric Cooper <ecc@cmu.edu>
-
由 Kristoffer Ericson 提交于
* 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: NKristoffer Ericson <kristoffer.ericson@gmail.com>
-
由 Wolfgang Denk 提交于
Signed-off-by: NWolfgang Denk <wd@denx.de> Acked-by: NStefan Roese <sr@denx.de>
-
由 Wolfgang Denk 提交于
Signed-off-by: NWolfgang Denk <wd@denx.de> Acked-by: NStefan Roese <sr@denx.de>
-
由 Wolfgang Denk 提交于
Signed-off-by: NWolfgang Denk <wd@denx.de> Acked-by: NStefan Roese <sr@denx.de>
-
由 Wolfgang Denk 提交于
Signed-off-by: NWolfgang Denk <wd@denx.de> Acked-by: NStefan Roese <sr@denx.de>
-
由 Wolfgang Denk 提交于
Signed-off-by: NWolfgang Denk <wd@denx.de> Acked-by: NStefan Roese <sr@denx.de>
-
由 Wolfgang Denk 提交于
Signed-off-by: NWolfgang Denk <wd@denx.de> Cc: Anatolij Gustschin <agust@denx.de> Cc: Timur Tabi <timur@freescale.com> Acked-by: NStefan Roese <sr@denx.de>
-
由 Wolfgang Denk 提交于
Signed-off-by: NWolfgang Denk <wd@denx.de> Acked-by: NStefan Roese <sr@denx.de>
-
由 Wolfgang Denk 提交于
Signed-off-by: NWolfgang Denk <wd@denx.de> Acked-by: NStefan Roese <sr@denx.de>
-
由 Wolfgang Denk 提交于
Signed-off-by: NWolfgang Denk <wd@denx.de> Cc: Kumar Gala <galak@kernel.crashing.org> Acked-by: NStefan Roese <sr@denx.de>
-
由 Wolfgang Denk 提交于
Signed-off-by: NWolfgang Denk <wd@denx.de> Cc: Kim Phillips <kim.phillips@freescale.com> Cc: Haiying Wang <r54964@freescale.com>
-
由 Stefan Roese 提交于
This is needed for the canyonlands_nand build target. Without it the resulting image won't fit into 4k. Signed-off-by: NStefan Roese <sr@denx.de> Cc: Scott Wood <scottwood@freescale.com> Acked-by: NScott Wood <scottwood@freescale.com> Acked-by: NStefan Roese <sr@denx.de>
-
由 Wolfgang Denk 提交于
This commit adapts 4xx boards for partial linking with --gc-sections. Signed-off-by: NStefan Roese <sr@denx.de> Signed-off-by: NWolfgang Denk <wd@denx.de> Cc: Stefan Roese <sr@denx.de> Cc: Tirumala Marri <tmarri@apm.com> Cc: David Updegraff <dave@cray.com> Cc: Matthias Fuchs <matthias.fuchs@esd-electronics.com> Cc: Dirk Eibach <eibach@gdsys.de> Cc: Larry Johnson <lrj@acm.org> Cc: Peter De Schrijver <p2@mind.be> Cc: Niklaus Giger <niklaus.giger@netstal.com> Cc: Daniel Poirot <dan.poirot@windriver.com> Acked-by: NStefan Roese <sr@denx.de>
-
由 Wolfgang Denk 提交于
The switch from archive libraries to partial linking has introduced a number of problems, that are non-trivial to solve. For example, it is no longer possible to include individual object files in the linker script as we did before for example in the case of boards with embedded environment to fill up the gap caused by the need to align the environment on flash erase block boundaries. The best (but unfortunately not easiest) approach to address this problem is to enable -ffunction-sections (and -fdata-sections) so we can again (and even in much finer granularity) place certain code where we want it. When doing this step, it seems only consequent to also add --gc-sections which has the added benefit of reducing the memory footprint of the U-Boot image (both in flash and in RAM). Unfortunately, this requires changes to a lot of linker scripts. Signed-off-by: NWolfgang Denk <wd@denx.de> Cc: Stefan Roese <sr@denx.de> Cc: Kim Phillips <kim.phillips@freescale.com> Cc: Andy Fleming <afleming@gmail.com> Cc: Kumar Gala <galak@kernel.crashing.org> Acked-by: NStefan Roese <sr@denx.de>
-
由 Scott Wood 提交于
Apply the same fix for 83xx as was done for 85xx in commit 96196a1f. Without this, NAND SPLs are built with the text base intended for the main image, resulting in a broken, very large u-boot-nand.bin. The block of defines for NAND boot is moved closer to where CONFIG_SYS_TEXT_BASE is defined. We can't directly use CONFIG_SYS_NAND_U_BOOT_DST in the definition of CONFIG_SYS_TEXT_BASE because autoconf.mk will include the literal text "CONFIG_SYS_NAND_U_BOOT_DST", but at least keep them close and point out that they're supposed to be the same. Signed-off-by: NScott Wood <scottwood@freescale.com>
-
- 27 11月, 2010 21 次提交
-
-
由 Stefan Roese 提交于
This change is needed to compile the PPC4xx NAND booting targets equipped with the IBM DDR2 SDRAM controller. Signed-off-by: NStefan Roese <sr@denx.de> Cc: Wolfgang Denk <wd@denx.de> Acked-by: NStefan Roese <sr@denx.de>
-
由 Wolfgang Denk 提交于
These boards use an embedded environment, which is not supported by the generic arch/powerpc/cpu/ppc4xx/u-boot.lds script. The breakage was introduced by commit 2cd95a25 "ppc4xx: Remove board specific linker scripts from most PPC4xx boards" Signed-off-by: NWolfgang Denk <wd@denx.de> Cc: Stefan Roese <sr@denx.de> Cc: Andrea Marson <andrea.marson@dave-tech.it> Acked-by: NStefan Roese <sr@denx.de>
-
由 Wolfgang Denk 提交于
As we try to get rid of board specific config.mk files we must provide a way for board specific settings of the LDSCRIPT variable (path to the linker script) where needed. We now implement the following hierarchy: - Highest priority has a "#define CONFIG_SYS_LDCONFIG" in the board config file. - If CONFIG_SYS_LDCONFIG is not set, and the system is booting from NAND (CONFIG_NAND_SPL is set), then a board specific linker script board/$(BOARDDIR)/u-boot-nand.lds gets used. - If we are not booting from NAND, we test if a processor specific linker script arch/powerpc/cpu/$(CPU)/u-boot.lds exists; if so we use that. - As default, arch/powerpc/config.mk gets used. Signed-off-by: NWolfgang Denk <wd@denx.de> Cc: Stefan Roese <sr@denx.de> Cc: Kim Phillips <kim.phillips@freescale.com> Cc: Kumar Gala <kumar.gala@freescale.com> Cc: Andy Fleming <afleming@gmail.com> Acked-by: NStefan Roese <sr@denx.de>
-
由 Wolfgang Denk 提交于
Signed-off-by: NWolfgang Denk <wd@denx.de> Cc: Stefan Roese <sr@denx.de> Acked-by: NStefan Roese <sr@denx.de>
-
由 Wolfgang Denk 提交于
Some boards use an embedded environment, where env_embedded.o has to be linked at a special position in the U-Boot image; to make this possible, we do not include it into libcommon.o for such boards. Signed-off-by: NMike Frysinger <vapier@gentoo.org> Signed-off-by: NWolfgang Denk <wd@denx.de> Acked-by: NStefan Roese <sr@denx.de>
-
由 Wolfgang Denk 提交于
Fix warnings: cam5200_flash.c: In function 'write_word_32': cam5200_flash.c:443: warning: dereferencing type-punned pointer will break strict-aliasing rules cam5200_flash.c: In function 'write_word_16': cam5200_flash.c:684: warning: dereferencing type-punned pointer will break strict-aliasing rules Signed-off-by: NWolfgang Denk <wd@denx.de> Acked-by: NStefan Roese <sr@denx.de>
-
由 Wolfgang Denk 提交于
So far, only the BAB7xx board would call the initialise_w83c553f() function for the WINBOND 83C553 chip, even though some other boards (HIDDEN_DRAGON, Sandpoint8240, Sandpoint8245) enabled it in their board configuration. These boards were also missing other config settings needed for that, which resulted in build errors like this: drivers/pci/libpci.o:(.got2+0x84): undefined reference to `ide_bus_offset' Switch arch/powerpc/lib/board.c to call initialise_w83c553f() not on a per-board base, but when a WINBOND_83C553 in enabled in a configuration (like BAB7xx), and disable it in the boards that had this set so far. Signed-off-by: NWolfgang Denk <wd@denx.de> Cc: Yusdi Santoso <yusdi_santoso@adaptec.com> Cc: Jim Thompson <jim@musenki.com> Acked-by: NStefan Roese <sr@denx.de>
-
由 Wolfgang Denk 提交于
The IDS8247 board is configured to use the CFI flash driver, so drop the now redundant custom flash.c file. Signed-off-by: NWolfgang Denk <wd@denx.de> Acked-by: NStefan Roese <sr@denx.de>
-
由 Wolfgang Denk 提交于
Get rid of compiler warning: e1000.c: In function 'e1000_transmit': e1000.c:5028: warning: passing argument 1 of 'virt_to_phys' discards qualifiers from pointer target type Signed-off-by: NWolfgang Denk <wd@denx.de> Acked-by: NStefan Roese <sr@denx.de>
-
由 Wolfgang Denk 提交于
The barco board appears to be unmaintained since it was added about 5 years ago. The environment location has probably never been correct. Drop it. Signed-off-by: NWolfgang Denk <wd@denx.de> Cc: Marc Leeman <marc.leeman@barco.com> Acked-by: NStefan Roese <sr@denx.de>
-
由 Wolfgang Denk 提交于
The ERIC board appears to be unmaintained for more than 9 years. The environment location has probably never been correct, and has been definitely broken since for at least a year. Drop it. Signed-off-by: NWolfgang Denk <wd@denx.de> Cc: Stefan Roese <sr@denx.de> Cc: Swen Anderson <sand@peppercon.de> Acked-by: NStefan Roese <sr@denx.de>
-
由 Wolfgang Denk 提交于
-
-
-
由 Stefan Roese 提交于
Calling usb_dev_init() from within the EHCI host driver is wrong. The EHCI host driver should have no dependency/interconnection to the USB device driver. Signed-off-by: NStefan Roese <sr@denx.de> Cc: Remy Bohmer <linux@bohmer.net>
-
由 Stefan Roese 提交于
This patch fixes a problem noticed on lwmon5 (PPC440EPx) using the common EHCI driver, when "usb reset" is issued multiple times. Upon the 2nd (and further) "usb reset" command, the command fails with the following messages: => usb reset (Re)start USB... USB: Register 1111 NbrPorts 1 USB EHCI 1.00 scanning bus for devices... 5 USB Device(s) found scanning bus for storage devices... 2 Storage Device(s) found => usb reset (Re)start USB... USB: EHCI fail to reset Error, couldn't init Lowlevel part This patch fixes this problem. Now "usb reset" can be called multiple times. Signed-off-by: NStefan Roese <sr@denx.de> Cc: Remy Bohmer <linux@bohmer.net>
-
由 Albert Aribaud 提交于
The start.S file was only half-rewritten for ELF relocations. This bugfix completes the rewrite. Signed-off-by: NAlbert Aribaud <albert.aribaud@free.fr>
-
由 Albert Aribaud 提交于
bulk addition of ELF relocation support to ARM cpus arm946es, arm720t,arm920t, arm925t, arm_intcm, ixp, lh7a40x, s3c44b0, and sa1100. Signed-off-by: NAlbert Aribaud <albert.aribaud@free.fr>
-
由 Stefan Roese 提交于
This watchdog reset call is needed here, otherwise the lwmon5 board (PPC440EPx based) will reset upon the "usb reset" command. Signed-off-by: NStefan Roese <sr@denx.de> Cc: Remy Bohmer <linux@bohmer.net>
-
由 Anatolij Gustschin 提交于
Checking the status field of the qTD token in the current code do not take into acount cases where endpoint stall (halted) bit is set together with XactErr status bit. As a result clearing stall on an endpoint won't be done if this status bit was also set. Check for halted bit and report USB_ST_STALLED status if the host controller also indicates endpoit stall condition. Signed-off-by: NAnatolij Gustschin <agust@denx.de>
-
由 Eric Cooper 提交于
start with sheevaplug configuration add modifications by Alexander Holler <holler@ahsoftware.de> change RAM definitions to one bank (128 MB) change ident string and prompt define MTD partitions and default environment variables add support for LEDs Signed-off-by: NEric Cooper <ecc@cmu.edu>
-