1
0
mirror of git://projects.qi-hardware.com/f32xbase.git synced 2025-01-30 17:21:06 +02:00
Werner Almesberger 6dbd844d0f f32x: open /dev/mem with O_SYNC to disable caching
- f32x/gpio-s3c24xx.c (gpio_init), f32x/gpio-xburst.c (gpio_init): open
  /dev/mem with O_SYNC to disable caching
2011-01-03 18:33:56 -03:00
..

Targets: C8051F326/C8051F327
Programmer: OpenMoko GTA01/GTA02 with a debug v2 board

To do:
- support C8051F320/1 as well
- port to Ben NanoNote

Signal	DbgV3	Net		GPIO	V0: C2	V1: C2
------	-----	-------		----	------	------
CLK	3	SPI_CLK0	E13	C2CK	C2D
MOSI	4	SPI_MOSI0	E12	C2D	-
MISO	5	SPI_MISO0	E11	-	C2CK
nSS	6	SS0		G2	-	-


On the Ben, the kernel driver has to release the MMC port before it
can be used by f32x:

echo jz4740-mmc.0 >/sys/bus/platform/drivers/jz4740-mmc/unbind