powerpc: remove 4xx supportThere was for long time no activity in the 4xx area.We need to go further and convert to Kconfig, but itturned out, nobody is interested anymore in 4xx,so remove it.
powerpc: remove 4xx supportThere was for long time no activity in the 4xx area.We need to go further and convert to Kconfig, but itturned out, nobody is interested anymore in 4xx,so remove it.Signed-off-by: Heiko Schocher <hs@denx.de>
show more ...
Consolidate bool type'bool' is defined in random places. This patch consolidates them into asingle header file include/linux/types.h, using stdbool.h introduced in C99.All other #define, typedef
Consolidate bool type'bool' is defined in random places. This patch consolidates them into asingle header file include/linux/types.h, using stdbool.h introduced in C99.All other #define, typedef and enum are removed. They are all consistent withtrue = 1, false = 0.Replace FALSE, False with false. Replace TRUE, True with true.Skip *.py, *.php, lib/* files.Signed-off-by: York Sun <yorksun@freescale.com>
ppc: Fix DBSR_IAx defines in <bedbug/regs.h>While adding asm/cache.h to common.h for PPC targets, I got anerror about multiple definitions of some DBSR_ macros. Whilescanning these defines, I not
ppc: Fix DBSR_IAx defines in <bedbug/regs.h>While adding asm/cache.h to common.h for PPC targets, I got anerror about multiple definitions of some DBSR_ macros. Whilescanning these defines, I noticed that some where defined notcorrectly for all PPC variants. So I removed all unused defines,and corrected the ones really used by bedbug (book-e vs. ppc40x).Signed-off-by: Stefan Roese <sr@denx.de>Cc: Wolfgang Denk <wd@denx.de>
Fix warning: "assert" redefinedCommit 21726a7 "Add assert() for debug assertions" caused buildwarnings for many systems:In file included from bedbug.c:6:/home/wd/git/u-boot/work/include/bedbug/
Fix warning: "assert" redefinedCommit 21726a7 "Add assert() for debug assertions" caused buildwarnings for many systems:In file included from bedbug.c:6:/home/wd/git/u-boot/work/include/bedbug/bedbug.h:24:1: warning: "assert" redefinedIn file included from bedbug.c:3:/home/wd/git/u-boot/work/include/common.h:144:1: warning: this is the location of the previous definitionIn file included from cmd_bedbug.c:10:/home/wd/git/u-boot/work/include/bedbug/bedbug.h:24:1: warning: "assert" redefinedIn file included from cmd_bedbug.c:5:/home/wd/git/u-boot/work/include/common.h:144:1: warning: this is the location of the previous definitionSigned-off-by: Wolfgang Denk <wd@denx.de>Cc: Simon Glass <sjg@chromium.org>Acked-by: Simon Glass <sjg@chromium.org>
Make sure that argv[] argument pointers are not modified.The hush shell dynamically allocates (and re-allocates) memory for theargument strings in the "char *argv[]" argument vector passed tocomm
Make sure that argv[] argument pointers are not modified.The hush shell dynamically allocates (and re-allocates) memory for theargument strings in the "char *argv[]" argument vector passed tocommands. Any code that modifies these pointers will cause seriouscorruption of the malloc data structures and crash U-Boot, so makesure the compiler can check that no such modifications are being doneby changing the code into "char * const argv[]".This modification is the result of debugging a strange crash causedafter adding a new command, which used the following argumentprocessing code which has been working perfectly fine in all Unixsystems since version 6 - but not so in U-Boot:int main (int argc, char **argv){ while (--argc > 0 && **++argv == '-') {/* ====> */ while (*++*argv) { switch (**argv) { case 'd': debug++; break; ... default: usage (); } } } ...}The line marked "====>" will corrupt the malloc data structures andusually cause U-Boot to crash when the next command gets executed bythe shell. With the modification, the compiler will prevent this withan error: increment of read-only location '*argv'N.B.: The code above can be trivially rewritten like this: while (--argc > 0 && **++argv == '-') { char *arg = *argv; while (*++arg) { switch (*arg) { ...Signed-off-by: Wolfgang Denk <wd@denx.de>Acked-by: Mike Frysinger <vapier@gentoo.org>
Big white-space cleanup.This commit gets rid of a huge amount of silly white-space issues.Especially, all sequences of SPACEs followed by TAB characters getremoved (unless they appear in print st
Big white-space cleanup.This commit gets rid of a huge amount of silly white-space issues.Especially, all sequences of SPACEs followed by TAB characters getremoved (unless they appear in print statements).Also remove all embedded "vim:" and "vi:" statements which hideindentation problems.Signed-off-by: Wolfgang Denk <wd@denx.de>
* Code cleanup: - remove trailing white space, trailing empty lines, C++ comments, etc. - split cmd_boot.c (separate cmd_bdinfo.c and cmd_load.c)* Patches by Kenneth Johansson, 25 Jun 2003: -
* Code cleanup: - remove trailing white space, trailing empty lines, C++ comments, etc. - split cmd_boot.c (separate cmd_bdinfo.c and cmd_load.c)* Patches by Kenneth Johansson, 25 Jun 2003: - major rework of command structure (work done mostly by Michal Cendrowski and Joakim Kristiansen)
Initial revision