From: Wolfgang Denk Date: Sat, 18 Sep 2010 22:02:44 +0200 Subject: [U-Boot] [PATCH V2] Adds driver for Xilinx' xps_spi SPI controller. In-Reply-To: <1280955847-2999-1-git-send-email-graeme.smecher@mail.mcgill.ca> References: <201008031359.36294.vapier@gentoo.org> <1280955847-2999-1-git-send-email-graeme.smecher@mail.mcgill.ca> Message-ID: <20100918200244.D3867157D71@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 Graeme Smecher, In message <1280955847-2999-1-git-send-email-graeme.smecher@mail.mcgill.ca> you wrote: > This code differs in only trivial ways from the altera_spi driver. It plays > nice with Thomas Chou's mmc_spi driver, as well as with SPI flash. Hm... if the core really differs in only trivial ways from the altera_spi driver, then why do we need a duplication of that code? Can we plase have a single driver source that supports both instead? 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 Harrisberger's Fourth Law of the Lab: Experience is directly proportional to the amount of equipment ruined.