[PATCH 3/4] spi: davinci: Allow SPI to be build without EDMA support
From: Santosh Shilimkar <hidden>
Date: 2013-09-30 13:36:23
From: Santosh Shilimkar <hidden>
Date: 2013-09-30 13:36:23
On Sunday 29 September 2013 08:31 AM, Mark Brown wrote:
On Fri, Sep 27, 2013 at 07:42:35PM -0400, Santosh Shilimkar wrote:quoted
DaVinci SPI IP works without EDMA support and thats how it has been used on Keystone SOCs currently. Hence keep the EDMA select limited to ARCH_DAVINCI so that Keystone SOCs can use the driver.quoted
Keystone SOC do support EDMA IP as well but the support has not been added and tested so far.If there's no hard dependency on EDMA then the driver probably ought to be marked as COMPILE_TEST so that it can be build tested on other systems. Is that possible?
EDMA is already getting tested for DAVINCI builds and there are patches coming AMXXXX SOC support. So probably marking it COMPILE_TEST isn't needed since it has been in use already for other SOCs. Regards, Santosh