]> Git Repo - J-u-boot.git/blobdiff - common/lcd_console.c
net: ti: am65-cpsw-nuss: Enable MDIO manual mode
[J-u-boot.git] / common / lcd_console.c
index 1a246c492cece47559779e263bcaade382ef7c39..ed36c78440c0a5469e3668c634436b4823fedf20 100644 (file)
@@ -229,8 +229,8 @@ static int do_lcd_setcursor(struct cmd_tbl *cmdtp, int flag, int argc,
        if (argc != 3)
                return CMD_RET_USAGE;
 
        if (argc != 3)
                return CMD_RET_USAGE;
 
-       col = simple_strtoul(argv[1], NULL, 10);
-       row = simple_strtoul(argv[2], NULL, 10);
+       col = dectoul(argv[1], NULL);
+       row = dectoul(argv[2], NULL);
        lcd_position_cursor(col, row);
 
        return 0;
        lcd_position_cursor(col, row);
 
        return 0;
@@ -258,4 +258,3 @@ U_BOOT_CMD(
        "print string on lcd-framebuffer",
        "    <string>"
 );
        "print string on lcd-framebuffer",
        "    <string>"
 );
-
This page took 0.025812 seconds and 4 git commands to generate.