[U-Boot] Appropiate place for custom board init

Wolfgang Denk wd at denx.de
Mon Jun 8 09:04:45 CEST 2009


Dear alfred steele,

In message <528f13590906071928m77903d07x2d238a3c1dae4548 at mail.gmail.com> you wrote:
> 
> I have  a requirement fro initializing the GPIO pin for  interrupt on
> a  custom FPGA on the MX31 board. Where should i add this code in the
> uboot tree.

It depends a bit on if there are special requirements about when this
initialization must be done. If there are no special requirements,
misc_init_r() is a good candidate.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Nothing ever becomes real until it is experienced.       - John Keats


More information about the U-Boot mailing list