CFI: Small cleanup for FLASH_SHOW_PROGRESS
authorStefan Roese <sr@denx.de>
Wed, 19 Mar 2008 06:09:26 +0000 (07:09 +0100)
committerStefan Roese <sr@denx.de>
Wed, 19 Mar 2008 12:41:25 +0000 (13:41 +0100)
commitf0105727d132f56a21fa3ed8b162309cca6cac44
tree41b34838d9842a42f3318ca1725bce969af3ef27
parent9a042e9ca512beaaa2cb450274313fc477141241
CFI: Small cleanup for FLASH_SHOW_PROGRESS

With this patch we don't need that many #ifdef's in the code. It moves
the subtraction into the macro and defines a NOP-macro when
CONFIG_FLASH_SHOW_PROGRESS is not defined.

Signed-off-by: Stefan Roese <sr@denx.de>
Acked-by: Gerald Van Baren <vanbaren@cideas.com>
drivers/mtd/cfi_flash.c