summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Mack <daniel@caiaq.de>2009-05-05 12:48:29 +0200
committerWolfgang Denk <wd@denx.de>2009-05-15 23:24:02 +0200
commitf4317ea91942f44cc1c433277927b61618e9b0a5 (patch)
tree994dacd96474c0a6b9e65849eb8b8aeb0ba1cb4d
parente26ad0eabd10a8cda51920fbcfe4da5b4ccf0c98 (diff)
downloadu-boot-imx-f4317ea91942f44cc1c433277927b61618e9b0a5.zip
u-boot-imx-f4317ea91942f44cc1c433277927b61618e9b0a5.tar.gz
u-boot-imx-f4317ea91942f44cc1c433277927b61618e9b0a5.tar.bz2
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>
-rw-r--r--include/asm-arm/arch-pxa/pxa-regs.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asm-arm/arch-pxa/pxa-regs.h b/include/asm-arm/arch-pxa/pxa-regs.h
index a8d30e2..5a0885a 100644
--- a/include/asm-arm/arch-pxa/pxa-regs.h
+++ b/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)