A couple of questions about SPI

Malcolm malcolm.parsons at gmail.com
Tue Jun 9 22:20:24 CEST 2009


2009/6/9 Ewan Meadows <ewan.meadows at gmail.com>:

> >From what I can gather, I will need to map the Gamecard bus registers
> to the ARM7 via EXMEMCNT:
> http://nocash.emubase.de/gbatek.htm#dscartridgeioports

If it can be accessed from the ARM9, access it from the ARM9.

> My basic understanding at the moment is that I will have to put all
> the functions to read/write to the DSerial in
> arch/arm/mach-nds/arm7/spi.c and then create a driver in drivers/char

I think you want a driver in drivers/spi for talking to the hardware.

Any other drivers would talk to the spi driver.

-- 
Malcolm Parsons


More information about the dslinux-devel mailing list