summaryrefslogtreecommitdiff
path: root/drivers/cfi_flash.c
diff options
context:
space:
mode:
authorWolfgang Denk <wd@pollux.(none)>2005-09-25 00:23:05 +0200
committerWolfgang Denk <wd@pollux.(none)>2005-09-25 00:23:05 +0200
commitb63de2c053999d95c71a93745c410a2ffc65327f (patch)
tree51a99dc86a76384fd1507222895c723b7038d15b /drivers/cfi_flash.c
parent3706ba1a361deba22602d0a5322d1667e8b9a114 (diff)
downloadu-boot-imx-b63de2c053999d95c71a93745c410a2ffc65327f.zip
u-boot-imx-b63de2c053999d95c71a93745c410a2ffc65327f.tar.gz
u-boot-imx-b63de2c053999d95c71a93745c410a2ffc65327f.tar.bz2
Update omap5912osk board:
Use drivers/cfi_flash.c instead of private flash driver; Remove hardcoded personalized settings from omap5912osk.h; Fix spacing with (RO) marks in 'flinfo' output. Patch by Michael Bendzick, 14 Jan 2005
Diffstat (limited to 'drivers/cfi_flash.c')
-rw-r--r--drivers/cfi_flash.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/cfi_flash.c b/drivers/cfi_flash.c
index 7957dd5..2ffaf80 100644
--- a/drivers/cfi_flash.c
+++ b/drivers/cfi_flash.c
@@ -497,11 +497,11 @@ void flash_print_info (flash_info_t * info)
info->start[i],
erased ? " E" : " ",
info->protect[i] ? "RO " : " ");
-#else
+#else /* ! CFG_FLASH_EMPTY_INFO */
if ((i % 5) == 0)
printf ("\n ");
printf (" %08lX%s",
- info->start[i], info->protect[i] ? " (RO) " : " ");
+ info->start[i], info->protect[i] ? " (RO)" : " ");
#endif
}
putc ('\n');