[prev in list] [next in list] [prev in thread] [next in thread] 

List:       uclinux-dev
Subject:    [uClinux-dev] Problem with SPI on Coldfire MCF5208
From:       Jakub Krajewski <kraju () onet ! eu>
Date:       2006-04-28 13:19:26
Message-ID: 200604281519.26476.kraju () onet ! eu
[Download RAW message or body]

Hi all,

I have some problems with getting uClinux support for SPI on M5208EVB 
board. First I tried bundled distribution (-m5208evb-intec, based on
uClinux-20041215). After checking "Character devices -> Coldfire SPI 
support" option kernel (2.4.27-uc1) refuses to compile properly. 
Error output:

--result--

mcf_qspi.c: In function `init':
mcf_qspi.c:726: error: `MCFSIM_ICR4' undeclared (first use in this 
function)
mcf_qspi.c:726: error: (Each undeclared identifier is reported only once
mcf_qspi.c:726: error: for each function it appears in.)
mcf_qspi.c:736: error: `MCFSIM_PACNT' undeclared (first use in this 
function)
mcf_qspi.c:738: error: `MCFSIM_PDCNT' undeclared (first use in this 
function)
mcf_qspi.c:674: warning: unused variable `cp'
mcf_qspi.c: In function `qspi_exit':
mcf_qspi.c:816: error: `MCFSIM_ICR4' undeclared (first use in this 
function)

--end---

It looks like there is no code suitable for 5208 in given 'init' 
function (MCFSIM_ICR4/P[A|D]CNT register defines don't exist 
in 5208's header files). Same with 2.4.32-uc0 from uClinux-cvs (even
when I choose "SPI support -> Motorola Coldfire" option). 
New SPI layer from 2.6.16-uc0 (as far as I remember it was introduced  
in 2.6.15) doesn't have support for Coldfire at all.

Is there any chance to get Coldfire 5208 SPI to work on uClinux?

-- 
Jakub Krajewski
kraju@onet.eu
_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic