]> git.sur5r.net Git - u-boot/blobdiff - include/ide.h
Tegra: T30: Beaver board support.
[u-boot] / include / ide.h
index 695d08eeccf1accdd8934d83ce07e778e85fb877..afea85cdc2cb3b5739e390d3bd02001f782fe9d3 100644 (file)
@@ -43,8 +43,10 @@ extern ulong ide_bus_offset[];
 
 #ifdef CONFIG_SYS_64BIT_LBA
 typedef uint64_t lbaint_t;
+#define LBAF "%llx"
 #else
 typedef ulong lbaint_t;
+#define LBAF "%lx"
 #endif
 
 /*
@@ -83,4 +85,11 @@ void ide_output_data(int dev, const ulong *sect_buf, int words);
 void ide_input_data_shorts(int dev, ushort *sect_buf, int shorts);
 void ide_output_data_shorts(int dev, ushort *sect_buf, int shorts);
 
+/**
+ * board_start_ide() - Start up the board IDE interfac
+ *
+ * @return 0 if ok
+ */
+int board_start_ide(void);
+
 #endif /* _IDE_H */