]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - include/ide.h
split mpc8xx hooks from cmd_ide.c
[people/ms/u-boot.git] / include / ide.h
index 95dcbdd362e51fdfd2b46f7ac49128e91e383953..3a08425eeb5e82c8b2d866d8c30d1bf6a4891bd0 100644 (file)
@@ -54,6 +54,14 @@ void ide_init(void);
 ulong ide_read(int device, ulong blknr, lbaint_t blkcnt, void *buffer);
 ulong ide_write(int device, ulong blknr, lbaint_t blkcnt, const void *buffer);
 
+#ifdef CONFIG_IDE_PREINIT
+int ide_preinit(void);
+#endif
+
+#ifdef CONFIG_IDE_INIT_POSTRESET
+int ide_init_postreset(void);
+#endif
+
 #if defined(CONFIG_OF_IDE_FIXUP)
 int ide_device_present(int dev);
 #endif