Dear Reinhard Meyer, In message <4c760243.6030...@emk-elektronik.de> you wrote: > Dear Mike Frysinger, > > i dont have a problem with going through the env as a hook, but it doesnt > > seem > > to scale. what if you have 2 fram devices and a winbond spi flash ? > > perhaps > > the name spec should be: > > fram_dev.<bus>.<cs> > > > > then you can signal that only certain<bus>.<cs> locations should get > > special > > treatment. and it wont inadvertently clobber other devices or detect > > devices > > that dont exist without explicit permission. > > Makes sense.
Actually we have a standard feature for issues like this (until we have device tree support in U-Boot :-) - use hwconfig (CONFIG_HWCONFIG). 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: w...@denx.de Uncertain fortune is thoroughly mastered by the equity of the calcu- lation. - Blaise Pascal _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot