diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2007-10-01 09:52:34 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2007-10-01 09:52:34 +0200 |
commit | 16a49fbbd71736f1768b91c68f2ada40429d5b1d (patch) | |
tree | b86ab9d7f2eff31e97bf94ab02cbd73a3dee3d2a /drivers | |
parent | 884988f6d620a718c11cfbcccda0cb5be284be6f (diff) | |
download | barebox-16a49fbbd71736f1768b91c68f2ada40429d5b1d.tar.gz barebox-16a49fbbd71736f1768b91c68f2ada40429d5b1d.tar.xz |
consolidate some printf() into one to safe space
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/cfi_flash.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/drivers/cfi_flash.c b/drivers/cfi_flash.c index 8a1e9f7224..773ee2bc2d 100644 --- a/drivers/cfi_flash.c +++ b/drivers/cfi_flash.c @@ -455,11 +455,12 @@ static void cfi_info (struct device_d* dev) return; } - printf ("CFI conformant FLASH (%d x %d)", - (info->portwidth << 3), (info->chipwidth << 3)); - printf (" Size: %ld MB in %d Sectors\n", + printf ("CFI conformant FLASH (%d x %d)" + " Size: %ld MB in %d Sectors\n" + " ", + info->portwidth << 3,info->chipwidth << 3, info->size >> 20, info->sector_count); - printf (" "); + switch (info->vendor) { case CFI_CMDSET_INTEL_STANDARD: printf ("Intel Standard"); |