summaryrefslogtreecommitdiffstats
path: root/disk/part.c
diff options
context:
space:
mode:
authorHeiko Schocher <hs@denx.de>2009-12-03 11:21:21 +0100
committerWolfgang Denk <wd@denx.de>2009-12-08 22:14:07 +0100
commit4b142febff71eabdb7ddbb125c7b583b24ddc434 (patch)
treedcddb5bcbf00a28467eb8bb096fe857b8f86a858 /disk/part.c
parent00b6d927ba8900cdf218b90b277e1090e284bea6 (diff)
downloadbootable_bootloader_goldelico_gta04-4b142febff71eabdb7ddbb125c7b583b24ddc434.zip
bootable_bootloader_goldelico_gta04-4b142febff71eabdb7ddbb125c7b583b24ddc434.tar.gz
bootable_bootloader_goldelico_gta04-4b142febff71eabdb7ddbb125c7b583b24ddc434.tar.bz2
common: delete CONFIG_SYS_64BIT_VSPRINTF and CONFIG_SYS_64BIT_STRTOUL
There is more and more usage of printing 64bit values, so enable this feature generally, and delete the CONFIG_SYS_64BIT_VSPRINTF and CONFIG_SYS_64BIT_STRTOUL defines. Signed-off-by: Heiko Schocher <hs@denx.de>
Diffstat (limited to 'disk/part.c')
-rw-r--r--disk/part.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/disk/part.c b/disk/part.c
index 9ced452..b6bae17 100644
--- a/disk/part.c
+++ b/disk/part.c
@@ -196,7 +196,7 @@ void dev_print (block_dev_desc_t *dev_desc)
if (dev_desc->lba48)
printf (" Supports 48-bit addressing\n");
#endif
-#if defined(CONFIG_SYS_64BIT_LBA) && defined(CONFIG_SYS_64BIT_VSPRINTF)
+#if defined(CONFIG_SYS_64BIT_LBA)
printf (" Capacity: %ld.%ld MB = %ld.%ld GB (%Ld x %ld)\n",
mb_quot, mb_rem,
gb_quot, gb_rem,