summaryrefslogtreecommitdiffstats
path: root/include/ide.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/ide.h')
-rw-r--r--include/ide.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/ide.h b/include/ide.h
index f691a74ab4..59ea9758a7 100644
--- a/include/ide.h
+++ b/include/ide.h
@@ -44,9 +44,11 @@ extern ulong ide_bus_offset[];
#ifdef CONFIG_SYS_64BIT_LBA
typedef uint64_t lbaint_t;
#define LBAF "%llx"
+#define LBAFU "%llu"
#else
typedef ulong lbaint_t;
#define LBAF "%lx"
+#define LBAFU "%lu"
#endif
/*
OpenPOWER on IntegriCloud