summaryrefslogtreecommitdiff
path: root/include/configs/uc100.h
diff options
context:
space:
mode:
authorPavel Herrmann <morpheus.ibis@gmail.com>2012-10-09 07:01:56 +0000
committerTom Rini <trini@ti.com>2012-10-17 07:59:08 -0700
commit8d1165e11a7aad00a2bbb05f20bacf021f6d1c12 (patch)
tree0f87522d48fc98c0b67c6bf9482cb9efaad67537 /include/configs/uc100.h
parent94fa029a6d1fcf58c4cecc46326f766425bdb918 (diff)
downloadu-boot-imx-8d1165e11a7aad00a2bbb05f20bacf021f6d1c12.zip
u-boot-imx-8d1165e11a7aad00a2bbb05f20bacf021f6d1c12.tar.gz
u-boot-imx-8d1165e11a7aad00a2bbb05f20bacf021f6d1c12.tar.bz2
split mpc8xx hooks from cmd_ide.c
move most of mpc8xx hooks from cmd_ide.c into ide_preinit() and newly created ide_init_postreset() (invoked after calling ide_reset after ide_preinit), some cleanup to make checkpatch happy, enable IDE init hooks in configs of affected boards. confusingly, these hooks are used by more than just mpc8xx-based boards, and therefore are placed in arch/ppc/lib/ note: checkpatch still emits warnings about using volatile Signed-off-by: Pavel Herrmann <morpheus.ibis@gmail.com>
Diffstat (limited to 'include/configs/uc100.h')
-rw-r--r--include/configs/uc100.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/configs/uc100.h b/include/configs/uc100.h
index 8c8fb5a..450c98b 100644
--- a/include/configs/uc100.h
+++ b/include/configs/uc100.h
@@ -331,6 +331,7 @@
*-----------------------------------------------------------------------
*/
+#define CONFIG_IDE_PREINIT 1 /* Use preinit IDE hook */
#define CONFIG_IDE_8xx_PCCARD 1 /* Use IDE with PC Card Adapter */
#undef CONFIG_IDE_8xx_DIRECT /* Direct IDE not supported */