]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
ide: Use CFG_64BIT_LBA instead of CFG_64BIT_STRTOUL
authorStefan Roese <sr@denx.de>
Fri, 18 Jul 2008 08:43:24 +0000 (10:43 +0200)
committerWolfgang Denk <wd@denx.de>
Sun, 20 Jul 2008 20:59:32 +0000 (22:59 +0200)
This is needed for boards that define CFG_64BIT_STRTOUL but don't define
CFG_64BIT_LBA.

Signed-off-by: Stefan Roese <sr@denx.de>
common/cmd_ide.c

index 97a873d1c96a517f3e96db09038f44f1ea421083..56db43302404b72abc80e31194a5d9ae5b421e88 100644 (file)
@@ -298,7 +298,7 @@ int do_ide (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
                ulong addr = simple_strtoul(argv[2], NULL, 16);
                ulong cnt  = simple_strtoul(argv[4], NULL, 16);
                ulong n;
-#ifdef CFG_64BIT_STRTOUL
+#ifdef CFG_64BIT_LBA
                lbaint_t blk  = simple_strtoull(argv[3], NULL, 16);
 
                printf ("\nIDE read: device %d block # %qd, count %ld ... ",
@@ -327,7 +327,7 @@ int do_ide (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
                ulong addr = simple_strtoul(argv[2], NULL, 16);
                ulong cnt  = simple_strtoul(argv[4], NULL, 16);
                ulong n;
-#ifdef CFG_64BIT_STRTOUL
+#ifdef CFG_64BIT_LBA
                lbaint_t blk  = simple_strtoull(argv[3], NULL, 16);
 
                printf ("\nIDE write: device %d block # %qd, count %ld ... ",