1
0
mirror of git://projects.qi-hardware.com/f32xbase.git synced 2024-11-04 23:21:53 +02:00
Commit Graph

8 Commits

Author SHA1 Message Date
Werner Almesberger
bb600dada5 f32x: added support for the c2ben adapter
- f32x/c2-ben.c: bitbang wrapper for the c2ben board
- f32x/Makefile: added "ben" target
- f32x/gpio-xburst.h, f32x/gpio-xburst.c: GPIO access primitives for XBurst
  CPUs
2010-10-21 20:15:07 -03:00
Werner Almesberger
80a0152663 Don't call gpio_init in c2_init, so that we can do additional setup work before
- f32x/c2-om.c: moved system includes to c2-bitbang.c
- f32x/c2-bitbang.c (c2_init): leave it to the upper layer to call gpio_init
- f32x/c2-om.c (om_init): call gpio_init, then c2_init
2010-10-21 19:28:00 -03:00
Werner Almesberger
6a4da0eaef Moved C2 bitbang functions from c2-om.c to (#included) c2-bitbang.c
- f32x/c2-om.c: renamed C2 bitbang functions from om_* to c2_*
- f32x/c2-om.c,  f32x/c2-bitbang.c: moved most of the content of c2-om.c to
  c2-bitbang.c and #include c2-bitbang.c
- f32x/Makefile: c2-om.o depends on c2-bitbang.c now
2010-10-21 19:09:43 -03:00
Werner Almesberger
3c9abdc65a Renamed gpio.* to gpio-s3c24xx.*
- f32x/Makefile (OBJS_om): rename gpio.o to gpio-s3c24xx.o
- f32x/gpio-s3c24xx.h, f32x/gpio-s3c24xx.c, f32x/c2-om.c: renamed gpio.* to
  gpio-s3c24xx.* to
2010-10-21 18:30:02 -03:00
Werner Almesberger
3bbf318536 Switched from four-spaces to one-tab indentation. 2010-10-21 10:05:26 -03:00
Werner Almesberger
de75051afa Support different targets. (Openmoko GTA01/02 with Dbgv3, soon c2ben.)
- f32x/Makefile: added support for building for different targets (for now,
  just TARGET=om)
- f32x/c2-drv.h: interface for C2 drivers
- f32x/c2-om.c: updated title
- f32x/c2-om.c: renamed all c2_* to om_* and made them "static"
- f32x/c2-om.c (c2_om): driver operations
- f32x/c2.c: call driver operations
- f32x/c2.h: moved protocol constants to c2-drv.h
2010-10-21 10:03:42 -03:00
Werner Almesberger
ab35c6b518 Prepare abstraction of C2 communication.
- f32x/c2.c: renamed to c2-om.c
- f32x/Makefile (OBJS): changed c2.o to c2-om.o
2010-10-21 10:00:41 -03:00
Werner Almesberger
c55fc4018d f32x/ - firmware uploader for the C2 protocol. From IDBG. 2010-08-13 08:46:38 -03:00