[U-Boot-Users] [PATCH 3/7] cfi_flash: Reorder functions and eliminate extra prototypes

Haavard Skinnemoen hskinnemoen at atmel.com
Thu Dec 13 12:56:30 CET 2007


Reorder the functions in cfi_flash.c so that each function only uses
functions that have been defined before it. This allows the static
prototype declarations near the top to be eliminated and might allow
gcc to do a better job inlining functions.

Signed-off-by: Haavard Skinnemoen <hskinnemoen at atmel.com>
---
 drivers/mtd/cfi_flash.c | 1343 +++++++++++++++++++++++------------------------
 1 files changed, 656 insertions(+), 687 deletions(-)

This patch is too large for the mailing list. You can grab it here:

http://avr32linux.org/twiki/pub/Sandbox/UbootCfiCleanup/0003-cfi_flash-Reorder-functions-and-eliminate-extra-pro.patch




More information about the U-Boot mailing list