| b64f190b | 14-Jul-2008 |
Wolfgang Denk <wd@denx.de> |
Fix printf() format issues with sizeof_t types by using %zu
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Wolfgang Denk <wd@denx.de> |
| 4b326101 | 14-Jul-2008 |
Stefan Roese <sr@denx.de> |
Merge branch 'master' of /home/stefan/git/u-boot/u-boot into next |
| d5996dd5 | 13-Jul-2008 |
Wolfgang Denk <wd@denx.de> |
Fix some more printf() format problems.
Signed-off-by: Wolfgang Denk <wd@denx.de> |
| 0a5676be | 12-Jul-2008 |
Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> |
Fix some more printf() format issues.
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> |
| c78fce69 | 11-Jul-2008 |
Michal Simek <monstr@monstr.eu> |
FIS: repare incorrect return value with ramdisk handling
Microblaze and PowerPC use boot_get_ramdisk for loading ramdisk to memory with checking return value. Return 0 means success. Return 1 means
FIS: repare incorrect return value with ramdisk handling
Microblaze and PowerPC use boot_get_ramdisk for loading ramdisk to memory with checking return value. Return 0 means success. Return 1 means failed. Here is correspond part of code from bootm.c which check return code.
ret = boot_get_ramdisk (argc, argv, images, IH_ARCH_PPC, &rd_data_start, &rd_data_end); if (ret) goto error;
Signed-off-by: Michal Simek <monstr@monstr.eu>
show more ...
|
| d1631fe1 | 26-Jun-2008 |
Stefan Roese <sr@denx.de> |
ppc4xx: Consolidate PPC4xx UIC defines
This 2nd patch now removes all UIC mask bit definition. They should be generated from the vectors by using the UIC_MASK() macro from now on. This way only the
ppc4xx: Consolidate PPC4xx UIC defines
This 2nd patch now removes all UIC mask bit definition. They should be generated from the vectors by using the UIC_MASK() macro from now on. This way only the vectors need to get defined for new PPC's.
Also only the really used interrupt vectors are now defined. This makes definitions for new PPC versions easier and less error prone.
Another part of this patch is that the 4xx emac driver got a little cleanup, since now the usage of the interrupts is clearer.
Signed-off-by: Stefan Roese <sr@denx.de>
show more ...
|
| 9b55a253 | 10-Jul-2008 |
Wolfgang Denk <wd@denx.de> |
Fix some more print() format errors.
Signed-off-by: Wolfgang Denk <wd@denx.de> |
| 4109df6f | 10-Jul-2008 |
Kim Phillips <kim.phillips@freescale.com> |
silence misc printf formatting compiler warnings
Signed-off-by: Kim Phillips <kim.phillips@freescale.com> |
| 3d71c81a | 10-Jul-2008 |
Markus Klotzbücher <mk@denx.de> |
USB: shutdown USB before booting
This patch fixes a potentially serious issue related to USB which was discouvered by Martin Krause <martin.krause@tqs.de> and fixed for ARM920T. Martin wrote:
Tur
USB: shutdown USB before booting
This patch fixes a potentially serious issue related to USB which was discouvered by Martin Krause <martin.krause@tqs.de> and fixed for ARM920T. Martin wrote:
Turn off USB to prevent the host controller from writing to the SDRAM while Linux is booting. This could happen, because the HCCA (Host Controller Communication Area) lies within the SDRAM and the host controller writes continously to this area (as busmaster!), for example to increase the HccaFrameNumber variable, which happens every 1 ms.
This is a slightly modified version of the patch in order to shutdown USB when booting on all architectures.
Signed-off-by: Markus Klotzbuecher <mk@denx.de>
show more ...
|
| e0320b1e | 10-Jul-2008 |
Wolfgang Denk <wd@denx.de> |
Merge branch 'master' of ssh://10.10.0.7/home/wd/git/u-boot/master |
| 06c53bea | 10-Jul-2008 |
Wolfgang Denk <wd@denx.de> |
Fix some more print() format errors.
Signed-off-by: Wolfgang Denk <wd@denx.de> |
| d4b5f3fa | 27-Jun-2008 |
Christian Eggers <christian@p2400.wgnetz.xx> |
Fix "usb part" command
Only print partition for selected device if user supplied the <dev> arg with the "usb part [dev]" command.
Signed-off-by: Christian Eggers <ceggers@gmx.de> Acked-by: Markus K
Fix "usb part" command
Only print partition for selected device if user supplied the <dev> arg with the "usb part [dev]" command.
Signed-off-by: Christian Eggers <ceggers@gmx.de> Acked-by: Markus Klotzbuecher <mk@denx.de>
show more ...
|
| e870690b | 10-Jul-2008 |
Stefan Roese <sr@denx.de> |
MTD/NAND: Fix printf format warning in nand code
This patch fixes NAND related printf format warning. Those warnings are now visible since patch dc4b0b38d4aadf08826f6c31270f1eecd27964fd [Fix printf
MTD/NAND: Fix printf format warning in nand code
This patch fixes NAND related printf format warning. Those warnings are now visible since patch dc4b0b38d4aadf08826f6c31270f1eecd27964fd [Fix printf errors.] by Andrew Klossner has been applied. Thanks, this is really helpful.
Signed-off-by: Stefan Roese <sr@denx.de>
show more ...
|
| 40234535 | 09-Jul-2008 |
Wolfgang Denk <wd@denx.de> |
Merge branch 'master' of git://www.denx.de/git/u-boot-nand-flash |
| 5bb12dbd | 07-Jul-2008 |
Harald Welte <laforge@gnumonks.org> |
Remove code duplication for setting the default environment
common/env_common.c (default_env): new function that resets the environment to the default value common/env_common.c (env_relocate):
Remove code duplication for setting the default environment
common/env_common.c (default_env): new function that resets the environment to the default value common/env_common.c (env_relocate): use default_env instead of own copy common/env_nand.c (env_relocate_spec): use default_env instead of own copy include/environment.h: added default_env prototype
Signed-off-by: Werner Almesberger <werner@openmoko.org> Signed-off-by: Harald Welte <laforge@openmoko.org>
show more ...
|
| 99c2b434 | 22-Jun-2008 |
Marcel Ziswiler <marcel@ziswiler.com> |
NAND: Fix warning due to missing env_ptr casts to u_char * in env_nand.c.
The writeenv() and readenv() calls introduced by the recently added bad block management for environment variables were miss
NAND: Fix warning due to missing env_ptr casts to u_char * in env_nand.c.
The writeenv() and readenv() calls introduced by the recently added bad block management for environment variables were missing casts therefore producing compile time warnings. While at it fixing some typo in a comment and indentation.
Signed-off-by: Marcel Ziswiler <marcel@ziswiler.com> Signed-off-by: Scott Wood <scottwood@freescale.com>
show more ...
|
| b502611b | 06-Jul-2008 |
Joakim Tjernlund <joakim.tjernlund@transmode.se> |
Change env_get_char from a global function ptr to a function
This avoids an early global data reference.
Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@transmode.se> |
| dc4b0b38 | 07-Jul-2008 |
Andrew Klossner <andrew@cesa.opbu.xerox.com> |
Fix printf errors.
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 begi
Fix printf errors.
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>
show more ...
|
| 9fea65a6 | 24-Jun-2008 |
Michal Simek <monstr@monstr.eu> |
ppc4xx: Rename CONFIG_XILINX_ML300 to CONFIG_XILINX_405
This change helps with better handling with others Xilinx based platform.
Signed-off-by: Michal Simek <monstr@monstr.eu> Acked-by: Stefan Roe
ppc4xx: Rename CONFIG_XILINX_ML300 to CONFIG_XILINX_405
This change helps with better handling with others Xilinx based platform.
Signed-off-by: Michal Simek <monstr@monstr.eu> Acked-by: Stefan Roese <sr@denx.de>
show more ...
|
| 5981ebd3 | 20-Jun-2008 |
Detlev Zundel <dzu@denx.de> |
fdt: Fix typo in variable name.
Signed-off-by: Detlev Zundel <dzu@denx.de> |
| f6a69559 | 12-Jun-2008 |
Steven A. Falco <sfalco@harris.com> |
cmd_nvedit.c: clean up syntax highlighting
My text-editor (vim) has a bit of trouble syntax-highlighting the cmd_nvedit.c file, because it apparently does not parse C ifdef/else/endif. The following
cmd_nvedit.c: clean up syntax highlighting
My text-editor (vim) has a bit of trouble syntax-highlighting the cmd_nvedit.c file, because it apparently does not parse C ifdef/else/endif. The following patch does not change the behavior of the code at all, but does allow the editor to properly syntax-highlight the file.
Signed-off-by: Steve Falco <sfalco@harris.com>
show more ...
|
| 75678c80 | 12-Jun-2008 |
Steven A. Falco <sfalco@harris.com> |
Make setenv() return status
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> |
| 3bab76a2 | 06-Jun-2008 |
Marian Balakowicz <m8@semihalf.com> |
Delay FIT format check on sector based devices
Global FIT image operations like format check cannot be performed on a first sector data, defer them to the point when whole FIT image was uploaded to
Delay FIT format check on sector based devices
Global FIT image operations like format check cannot be performed on a first sector data, defer them to the point when whole FIT image was uploaded to a system RAM.
Signed-off-by: Marian Balakowicz <m8@semihalf.com> Partial ('cmd_nand' case) Acked-by: Grant Erickson <gerickson@nuovations.com> NAND and DOC bits Acked-by: Scott Wood <scottwood@freescale.com>
show more ...
|
| e093a247 | 28-Jun-2008 |
Wolfgang Denk <wd@denx.de> |
Coding Style Cleanup
Signed-off-by: Wolfgang Denk <wd@denx.de> |
| 9e4006bc | 16-Jun-2008 |
Philip Balister <philip@balister.org> |
NAND: Add missing declaration to non-redundant saveenv().
Signed-off-by: Scott Wood <scottwood@freescale.com> |