X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=common%2Fimage.c;h=82e7aa4361f3689cdfe69f55d6a3fba01a709a56;hb=4b142febff71eabdb7ddbb125c7b583b24ddc434;hp=6eaf41eb131feb2624421b590c99441bc3a542bf;hpb=cd77dd109c4a439519a78c32eddc42bdebc7a61f;p=platform%2Fkernel%2Fu-boot.git diff --git a/common/image.c b/common/image.c index 6eaf41e..82e7aa4 100644 --- a/common/image.c +++ b/common/image.c @@ -148,6 +148,7 @@ static table_entry_t uimage_comp[] = { { IH_COMP_BZIP2, "bzip2", "bzip2 compressed", }, { IH_COMP_GZIP, "gzip", "gzip compressed", }, { IH_COMP_LZMA, "lzma", "lzma compressed", }, + { IH_COMP_LZO, "lzo", "lzo compressed", }, { -1, "", "", }, }; @@ -435,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; }