- 20 9月, 2012 1 次提交
-
-
由 Alison Wang 提交于
Signed-off-by: NAlison Wang <b18965@freescale.com>
-
- 29 11月, 2010 1 次提交
-
-
由 Mike Frysinger 提交于
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: NMike Frysinger <vapier@gentoo.org>
-
- 05 7月, 2010 1 次提交
-
-
由 Wolfgang Denk 提交于
The hush shell dynamically allocates (and re-allocates) memory for the argument strings in the "char *argv[]" argument vector passed to commands. Any code that modifies these pointers will cause serious corruption of the malloc data structures and crash U-Boot, so make sure the compiler can check that no such modifications are being done by changing the code into "char * const argv[]". This modification is the result of debugging a strange crash caused after adding a new command, which used the following argument processing code which has been working perfectly fine in all Unix systems 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 and usually cause U-Boot to crash when the next command gets executed by the shell. With the modification, the compiler will prevent this with an 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: NWolfgang Denk <wd@denx.de> Acked-by: NMike Frysinger <vapier@gentoo.org>
-
- 13 4月, 2010 1 次提交
-
-
由 Peter Tyser 提交于
Signed-off-by: NPeter Tyser <ptyser@xes-inc.com>
-
- 21 10月, 2008 1 次提交
-
-
由 Wolfgang Denk 提交于
Signed-off-by: NWolfgang Denk <wd@denx.de>
-
- 19 10月, 2008 1 次提交
-
-
Signed-off-by: NJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
-
- 03 9月, 2008 1 次提交
-
-
由 Ben Warren 提交于
This addresses all drivers whose initializers have already been moved to board_eth_init()/cpu_eth_init(). Signed-off-by: NBen Warren <biggerbadderben@gmail.com>
-
- 27 8月, 2008 2 次提交
-
-
由 Ben Warren 提交于
Added a cpu_eth_init() function to coldfire CPU directories and removed code from net/eth.c Signed-off-by: NBen Warren <biggerbadderben@gmail.com>
-
由 Ben Warren 提交于
Added a cpu_eth_init() function to cpu/mcf547x_8x directory and removed code from net/eth.c Signed-off-by: NBen Warren <biggerbadderben@gmail.com>
-
- 18 1月, 2008 2 次提交
-
-
由 TsiChungLiew 提交于
Signed-off-by: NTsiChungLiew <Tsi-Chung.Liew@freescale.com> Signed-off by: John Rigby <jrigby@freescale.com>
-
由 TsiChungLiew 提交于
Signed-off-by: NTsiChungLiew <Tsi-Chung.Liew@freescale.com> Signed-off by: John Rigby <jrigby@freescale.com>
-
- 08 11月, 2007 1 次提交
-
-
由 TsiChungLiew 提交于
Signed-off-by: NTsiChungLiew <Tsi-Chung.Liew@freescale.com>
-
- 16 9月, 2007 1 次提交
-
-
由 Wolfgang Denk 提交于
Signed-off-by: NWolfgang Denk <wd@denx.de>
-
- 11 7月, 2007 1 次提交
-
-
由 TsiChungLiew 提交于
Replace immap_5329.h and m5329.h with immap.h. Removed interrupt_init() and placed it in interrupts.c Signed-off-by: NTsiChungLiew <Tsi-Chung.Liew@freescale.com>
-
- 19 6月, 2007 1 次提交
-
-
由 TsiChung Liew 提交于
Added board/freescale/m5329evb, cpu/mcf532x, drivers/net, drivers/serial, immap_5329.h, m5329.h, mcfrtc.h, include/configs/M5329EVB.h, lib_m68k/interrupts.c, and rtc/mcfrtc.c Modified CREDITS, MAKEFILE, Makefile, README, common/cmd_bdinfo.c, common/cmd_mii.c, include/asm-m68k/byteorder.h, include/asm-m68k/fec.h, include/asm-m68k/io.h, include/asm-m68k/mcftimer.h, include/asm-m68k/mcfuart.h, include/asm-m68k/ptrace.h, include/asm-m68k/u-boot.h, lib_m68k/Makefile, lib_m68k/board.c, lib_m68k/time.c, net/eth.c and rtc/Makefile Signed-off-by: NTsiChung Liew <Tsi-Chung.Liew@freescale.com>
-