Error enabling CONFIG_PPC4XX_DMA in lk2.4.27-pre3?

Roger Larsson roger.larsson at
Thu Apr 14 06:50:11 EST 2005

On Friday 08 April 2005 22.19, Sanjay Bajaj wrote:
> Hi! Gurus,
> I tried to enable DMA in lk2.4.27-pre3 and it fails with the error attached
> to the end of the mail. On further debugging, I found that though
> CONFIG_PPC4XX_DMA is included in the .config but the asm/ppc4xx_dma.h
> includes CONFIG_PPC4XX_EDMA, which includes all the constants reported
> undeclared in the error message. Out of curiosity, changed .._EDMA to
> .._DMA in asm/ppc4xx_dma.h and still had errors. Any help is appreciated.


What processor are you using?

If I remember correctly 405GPr did not enable CONFIG_PPC4XX_EDMA
but 405GP did... yepp, this check in 'arch/ppc/' checks for 405GP
but not 405GPr

  bool 'PPC4xx DMA controller support' CONFIG_PPC4xx_DMA
  if [ "$CONFIG_PPC4xx_DMA" = "y" ]; then
    if [ "$CONFIG_405GP" = "y" -o "$CONFIG_NP405L" = "y"        \
          -o "$CONFIG_NP405H" = "y" -o "$CONFIG_NP405GS" = "y"  \
          -o "$CONFIG_440" = "y" -o "$CONFIG_405LP" = "y" \
          -o "$CONFIG_405EP" = "y" ]; then
      define_bool CONFIG_PPC4xx_EDMA y
    if [ "$CONFIG_STB03xxx" = "y" ]; then
      define_bool CONFIG_STBXXX_DMA y

More information about the Linuxppc-embedded mailing list