Update of /cvsroot/blob/blob/src/lib
In directory usw-pr-cvs1:/tmp/cvs-serv29741
Modified Files:
Makefile.am led.c serial-pxa.c serial.c
Log Message:
Added support for PXA processors, Lubbock and PXA IDP machines
Index: Makefile.am
===================================================================
RCS file: /cvsroot/blob/blob/src/lib/Makefile.am,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -d -r1.21 -r1.22
--- Makefile.am 10 May 2002 08:30:28 -0000 1.21
+++ Makefile.am 14 Aug 2002 21:13:45 -0000 1.22
@@ -43,7 +43,6 @@
printf.c \
reboot.c \
serial.c \
- serial-sa11x0.c \
strncpy.c \
strlen.c \
strncmp.c \
@@ -51,6 +50,11 @@
time.c \
util.c
+libblob_a_DEPENDENCIES = \
+ @BLOB_SERIAL_DRIVER_OBJS@
+
+libblob_a_LIBADD = \
+ @BLOB_SERIAL_DRIVER_OBJS@
INCLUDES += \
-I${top_builddir}/include \
Index: led.c
===================================================================
RCS file: /cvsroot/blob/blob/src/lib/led.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- led.c 15 Oct 2001 21:27:05 -0000 1.5
+++ led.c 14 Aug 2002 21:13:45 -0000 1.6
@@ -42,7 +42,6 @@
#include <blob/arch.h>
#include <blob/led.h>
-#include <blob/sa1100.h>
#include <blob/init.h>
@@ -61,25 +60,25 @@
-
+/* TODO: fix this */
void led_on(void)
{
if(led_locked)
return;
- GPSR = LED_GPIO;
+ /* GPSR = LED_GPIO; */
led_state = 1;
}
-
+/* TODO: fix this */
void led_off(void)
{
if(led_locked)
return;
- GPCR = LED_GPIO;
+ /* GPCR = LED_GPIO; */
led_state = 0;
}
Index: serial-pxa.c
===================================================================
RCS file: /cvsroot/blob/blob/src/lib/serial-pxa.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- serial-pxa.c 30 Jul 2002 17:45:18 -0000 1.2
+++ serial-pxa.c 14 Aug 2002 21:13:45 -0000 1.3
@@ -26,7 +26,6 @@
#include <blob/arch.h>
#include <blob/errno.h>
-#include <blob/pxa-regs.h>
#include <blob/serial.h>
#include <blob/types.h>
Index: serial.c
===================================================================
RCS file: /cvsroot/blob/blob/src/lib/serial.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- serial.c 5 Feb 2002 14:47:54 -0000 1.9
+++ serial.c 14 Aug 2002 21:13:45 -0000 1.10
@@ -39,17 +39,10 @@
#include <blob/arch.h>
#include <blob/errno.h>
#include <blob/led.h>
-#include <blob/sa1100.h>
#include <blob/serial.h>
#include <blob/time.h>
-
-
-
serial_driver_t *serial_driver;
-
-
-
/* initialise serial port at the request baudrate. returns 0 on
* success, or a negative error number on failure
|