From mboxrd@z Thu Jan 1 00:00:00 1970 From: Timur Tabi Date: Thu, 07 Dec 2006 16:09:08 -0600 Subject: [U-Boot-Users] MPC83xx SPI driver In-Reply-To: <1165528582.31193.208.camel@saruman.qstreams.net> References: <1165528582.31193.208.camel@saruman.qstreams.net> Message-ID: <45789104.9080601@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Ben Warren wrote: > Hello, > > I'm ready to re-submit a hard SPI driver for some members of the MPC83xx > family of CPUs, but am unsure where to put it. While designed for the > MPC834x chips, it should also work with the upcoming MPC8313, if the > online datasheet is accurate. The other 83xx chips handle > SPI with a CPM, so this driver won't work there. Should I put it in > cpu/mpc83xx/, drivers/, or somewhere else? And given the unusual chip > compatibilities, what should the file be called? Definitely drivers/. Use fsl_i2c.c as an example of a driver that supports multiple families. -- Timur Tabi Linux Kernel Developer @ Freescale