global: Convert simple_strtoul() with hex to hextoul()
[platform/kernel/u-boot.git] / common / lcd.c
index f8bc1ce..16a0a7c 100644 (file)
 #include <command.h>
 #include <cpu_func.h>
 #include <env_callback.h>
+#include <log.h>
+#include <asm/cache.h>
+#include <init.h>
+#include <asm/global_data.h>
 #include <linux/types.h>
 #include <stdio_dev.h>
 #include <lcd.h>
@@ -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) {