cmd_ide.c, ifdef code only needed by 8xx_direct
PATCH 1/1 cmd_ide.c, ifdef code only needed by 8xx_direct
A big chunk of code in cmd_ide.c is only valid for boards that set CONFIG_IDE_8xx_DIRECT That makes it harder than neccesary to follow the flow since alot of calculations/variables are pointless.
* Patch by Thomas Lange, 10 Oct 2003:
code only needed by CONFIG_IDE_8xx_DIRECT ifdef:ed
/Thomas
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 8xx_patch
Url: http://lists.denx.de/pipermail/u-boot/attachments/20031009/7e784eed/attachment.txt
PATCH 1/1 cmd_ide.c, ifdef code only needed by 8xx_direct
Quoted 9 lines · In message <[email protected]> you wrote:
A big chunk of code in
cmd_ide.cis only valid for boards that setCONFIG_IDE_8xx_DIRECTThat makes it harder than neccesary to follow the flow since alot of calculations/variables are pointless.* Patch by Thomas Lange, 10 Oct 2003:
code only needed byCONFIG_IDE_8xx_DIRECTifdef:ed
Added, thanks. Will show up on CVS soon.
Best regards,
Wolfgang Denk
Signature · 7 lines
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd at denx.de
A secure program has to be robust: it must be able to deal with
conditions that "can't happen", whether user input, program error or
library/etc. This is basic damage control. Buffer overflow errors
have nothing to do with security, but everything with stupidity.
-- Wietse Venema in <[email protected]>