Ver código fonte

ARM: fix PXA build by defining UP2OCR

U-Boot does not currently build for PXA platforms with USB support
enabled:

usb.c:46: error: 'UP2OCR' undeclared (first use in this function)

Signed-off-by: Daniel Mack <daniel@caiaq.de>
Cc: Markus Klotzbuecher <mk@denx.de>

Edited commit message.
Signed-off-by: Wolfgang Denk <wd@denx.de>
Daniel Mack 16 anos atrás
pai
commit
f4317ea919
1 arquivos alterados com 4 adições e 0 exclusões
  1. 4 0
      include/asm-arm/arch-pxa/pxa-regs.h

+ 4 - 0
include/asm-arm/arch-pxa/pxa-regs.h

@@ -992,6 +992,10 @@ typedef void		(*ExcpHndlr) (void) ;
 #define UHCHIE		__REG(0x4C000068)
 #define UHCHIT		__REG(0x4C00006C)
 
+#if defined(CONFIG_CPU_MONAHANS)
+#define UP2OCR		__REG(0x40600020)
+#endif
+
 #define UHCHR_FSBIR	(1<<0)
 #define UHCHR_FHR	(1<<1)
 #define UHCHR_CGR	(1<<2)