X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=common%2Flcd.c;h=16a0a7cea8fc95a153da45d6cdc8c24bce3e6771;hb=7e5f460ec457fe310156e399198a41eb0ce1e98c;hp=f8bc1ceba74a62ce154d5acc213f29db856faa12;hpb=a4ef0657e3075d0f951d78cc1398cb7e05af648a;p=platform%2Fkernel%2Fu-boot.git diff --git a/common/lcd.c b/common/lcd.c index f8bc1ce..16a0a7c 100644 --- a/common/lcd.c +++ b/common/lcd.c @@ -12,6 +12,10 @@ #include #include #include +#include +#include +#include +#include #include #include #include @@ -743,7 +747,7 @@ static int on_splashimage(const char *name, const char *value, enum env_op op, if (op == env_op_delete) return 0; - addr = simple_strtoul(value, NULL, 16); + addr = hextoul(value, NULL); /* See README.displaying-bmps */ aligned = (addr % 4 == 2); if (!aligned) {