aboutsummaryrefslogtreecommitdiff
path: root/common/image.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 /common/image.c
parent00b6d927ba8900cdf218b90b277e1090e284bea6 (diff)
downloadu-boot-linaro-natty-4b142febff71eabdb7ddbb125c7b583b24ddc434.tar.gz
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 'common/image.c')
-rw-r--r--common/image.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/common/image.c b/common/image.c
index 5cc3ab49d..82e7aa436 100644
--- a/common/image.c
+++ b/common/image.c
@@ -436,11 +436,7 @@ phys_size_t getenv_bootm_size(void)
char *s = getenv ("bootm_size");
if (s) {
phys_size_t tmp;
-#ifdef CONFIG_SYS_64BIT_STRTOUL
tmp = (phys_size_t)simple_strtoull (s, NULL, 16);
-#else
- tmp = (phys_size_t)simple_strtoul (s, NULL, 16);
-#endif
return tmp;
}