From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfgang Denk Date: Tue, 07 Sep 2010 21:38:55 +0200 Subject: [U-Boot] [PATCH] MTD/SPI/FLASH: add support for Ramtron FRAMs using SPI In-Reply-To: <4C760243.6030102@emk-elektronik.de> References: <1282740439-7910-1-git-send-email-u-boot@emk-elektronik.de> <201008252231.15014.vapier@gentoo.org> <4C760243.6030102@emk-elektronik.de> Message-ID: <20100907193855.2A710153798@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Reinhard Meyer, In message <4C760243.6030102@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.. > > > > then you can signal that only certain. 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