Update of /cvsroot/blob/blob/include/blob/proc
In directory sc8-pr-cvs1:/tmp/cvs-serv17234/include/blob/proc
Modified Files:
pxa.h
Log Message:
Fixed a couple of bugs in my previous set of changes. The PXA port is now
fully functional. Also added a patch from Yves Rutschle which fixes a bug in
the serial code.
Index: pxa.h
===================================================================
RCS file: /cvsroot/blob/blob/include/blob/proc/pxa.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- pxa.h 6 Aug 2003 22:55:40 -0000 1.2
+++ pxa.h 7 Aug 2003 19:31:00 -0000 1.3
@@ -179,7 +179,7 @@
)
#define _FB(x) ((x) & GPIO_ALT_FN_MASK)
-#define _FM(x) (_FB(GPIO##x##_VALUE) << ((x) & 0x0f))
+#define _FM(x) (_FB(GPIO##x##_VALUE) << (((x) & 0x0f) << 1))
#define GAFR0_L_VALUE ( \
_FM(0) | _FM(1) | _FM(2) | _FM(3) | \
|