]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/compulab/common/common.h
omap3: cm-t35: move the SMC911x code
[karo-tx-uboot.git] / board / compulab / common / common.h
index 7a106d6a24ed1aa38b00b53595084d9107002965..68ffb111dc369a0b65dd7d514b791a422f0717b5 100644 (file)
@@ -33,4 +33,15 @@ static inline int cl_splash_screen_prepare(int nand_offset)
 }
 #endif /* CONFIG_SPLASH_SCREEN */
 
+#ifdef CONFIG_SMC911X
+int cl_omap3_smc911x_init(int id, int cs, u32 base_addr,
+                         int (*reset)(int), int rst_gpio);
+#else /* !CONFIG_SMC911X */
+static inline int cl_omap3_smc911x_init(int id, int cs, u32 base_addr,
+                                       int (*reset)(int), int rst_gpio)
+{
+       return -ENOSYS;
+}
+#endif /* CONFIG_SMC911X */
+
 #endif /* _CL_COMMON_ */