Kernel 4.1-rc1 build fails on Sam460ex amcc 460ex powerpc Canyonlands

Michael Ellerman mpe at ellerman.id.au
Tue Apr 28 11:12:25 AEST 2015


On Mon, 2015-04-27 at 06:59 -0400, Julian Margetson wrote:
> Kernel 4.1-rc1 build fails  on Sam460ex amcc 460ex powerpc Canyonlands with 
> CONFIG_SATA_DWC=y
> 
> sata_dwc_460ex.c:(.text+0xa165c): undefined reference to `dw_dma_remove'
> drivers/built-in.o: In function `sata_dwc_probe':
> sata_dwc_460ex.c:(.text+0xa1900): undefined reference to `dw_dma_probe'
> sata_dwc_460ex.c:(.text+0xa1954): undefined reference to `dw_dma_remove'
> make: *** [vmlinux] Error 1

Looks like it was caused by:

commit 8b3444852a2b58129ee68a8dd69fef81ceb902a1
Author: Andy Shevchenko <andriy.shevchenko at linux.intel.com>
Date:   Tue Mar 3 22:41:21 2015 +0200

    sata_dwc_460ex: move to generic DMA driver
    
    The SATA implementation based on two actually different devices, i.e. SATA and
    DMA controllers.
    
    For Synopsys DesignWare DMA we have already a generic implementation of the
    driver. Thus, the patch converts the code to use DMAEngine framework and
    dw_dmac driver.
    
    In future it will be better to split the devices inside DTS as well like it's
    done on other platforms.
    
    Signed-off-by: Andy Shevchenko <andriy.shevchenko at linux.intel.com>
    Signed-off-by: Tejun Heo <tj at kernel.org>


cheers




More information about the Linuxppc-dev mailing list