Browse Source

Merge branch 'master' of git://git.denx.de/u-boot-testing

Wolfgang Denk 17 years ago
parent
commit
2c8d41969b
2 changed files with 9 additions and 9 deletions
  1. 6 6
      board/purple/purple.c
  2. 3 3
      cpu/mips/au1x00_usb_ohci.h

+ 6 - 6
board/purple/purple.c

@@ -35,8 +35,8 @@
 
 
 #define cache_unroll(base,op)		\
 #define cache_unroll(base,op)		\
 	__asm__ __volatile__("		\
 	__asm__ __volatile__("		\
-		.set noreorder;	        \
-		.set mips3;	        \
+		.set noreorder;		\
+		.set mips3;		\
 		cache %1, (%0);		\
 		cache %1, (%0);		\
 		.set mips0;		\
 		.set mips0;		\
 		.set reorder"		\
 		.set reorder"		\
@@ -47,10 +47,10 @@
 typedef void (*FUNCPTR)(ulong *source, ulong *destination, ulong nlongs);
 typedef void (*FUNCPTR)(ulong *source, ulong *destination, ulong nlongs);
 
 
 extern void	asc_serial_init		(void);
 extern void	asc_serial_init		(void);
-extern void	asc_serial_putc	(char);
-extern void	asc_serial_puts	(const char *);
-extern int	asc_serial_getc	(void);
-extern int	asc_serial_tstc	(void);
+extern void	asc_serial_putc		(char);
+extern void	asc_serial_puts		(const char *);
+extern int	asc_serial_getc		(void);
+extern int	asc_serial_tstc		(void);
 extern void	asc_serial_setbrg	(void);
 extern void	asc_serial_setbrg	(void);
 
 
 void _machine_restart(void)
 void _machine_restart(void)

+ 3 - 3
cpu/mips/au1x00_usb_ohci.h

@@ -87,10 +87,10 @@ typedef struct ed ed_t;
 #define TD_CC_DATATOGGLEM	0x03
 #define TD_CC_DATATOGGLEM	0x03
 #define TD_CC_STALL		0x04
 #define TD_CC_STALL		0x04
 #define TD_DEVNOTRESP		0x05
 #define TD_DEVNOTRESP		0x05
-#define TD_PIDCHECKFAIL	0x06
+#define TD_PIDCHECKFAIL		0x06
 #define TD_UNEXPECTEDPID	0x07
 #define TD_UNEXPECTEDPID	0x07
 #define TD_DATAOVERRUN		0x08
 #define TD_DATAOVERRUN		0x08
-#define TD_DATAUNDERRUN	0x09
+#define TD_DATAUNDERRUN		0x09
 #define TD_BUFFEROVERRUN	0x0C
 #define TD_BUFFEROVERRUN	0x0C
 #define TD_BUFFERUNDERRUN	0x0D
 #define TD_BUFFERUNDERRUN	0x0D
 #define TD_NOTACCESSED		0x0F
 #define TD_NOTACCESSED		0x0F
@@ -284,7 +284,7 @@ struct virt_root_hub {
 
 
 #define RH_ACK			0x01
 #define RH_ACK			0x01
 #define RH_REQ_ERR		-1
 #define RH_REQ_ERR		-1
-#define RH_NACK			   0x00
+#define RH_NACK			0x00
 
 
 
 
 /* OHCI ROOT HUB REGISTER MASKS */
 /* OHCI ROOT HUB REGISTER MASKS */