[U-Boot] [PATCH] MTD/SPI/FLASH: add support for Ramtron FRAMs using SPI

Wolfgang Denk wd at denx.de
Tue Sep 7 21:38:55 CEST 2010


Dear Reinhard Meyer,

In message <4C760243.6030102 at 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: wd at denx.de
Uncertain fortune is thoroughly mastered by the equity of the  calcu-
lation.                                               - Blaise Pascal


More information about the U-Boot mailing list