From: Mingkai Hu Date: Tue, 12 Oct 2010 10:18:31 +0000 (+0800) Subject: spi/mpc8xxx: refactor the common code for SPI/eSPI controller X-Git-Tag: v2.6.37-rc1~187^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b36ece832512c1a0afa54ff0a56d63492a1caf08;p=pandora-kernel.git spi/mpc8xxx: refactor the common code for SPI/eSPI controller Refactor the common code in file spi_fsl_spi.c to spi_fsl_lib.c used by SPI/eSPI controller driver as a library, and leave the QE/CPM SPI controller code in the SPI controller driver spi_fsl_spi.c. Because the register map of the SPI controller and eSPI controller is so different, also leave the code operated the register to the driver code, not the common code. Signed-off-by: Mingkai Hu Signed-off-by: Grant Likely --- Reading git-diff-tree failed