public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] how to use a function provided by u-boot in linux driver
@ 2009-05-19  6:19 Kartheek N S
  2009-05-19 14:26 ` Detlev Zundel
  2009-05-19 21:25 ` Wolfgang Denk
  0 siblings, 2 replies; 3+ messages in thread
From: Kartheek N S @ 2009-05-19  6:19 UTC (permalink / raw)
  To: u-boot


Hi All,
     I would like to use miiphy_read and miiphy_write functions provided by
u-boot in the linux kernel driver.
     This is required for reading the link status of each of the phys
associated with a switch.

    I added miiphy_read and miiphy_write to the exports.h and tried to use
it in the kernel. But we get lots of multiple reference errors as some
libraries will be there both in u-boot and linux kernel.

    Could I do something like a dll or lib for these functions and use them
in the linux kernel driver ?
    Please guide me on this.

Thanks,
Kartheek N S
-- 
View this message in context: http://www.nabble.com/how-to-use-a-function-provided-by-u-boot-in-linux-driver-tp23610373p23610373.html
Sent from the Uboot - Users mailing list archive at Nabble.com.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-05-19 21:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-19  6:19 [U-Boot] how to use a function provided by u-boot in linux driver Kartheek N S
2009-05-19 14:26 ` Detlev Zundel
2009-05-19 21:25 ` Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox