From: Daniel Mack Date: Tue, 5 May 2009 10:48:29 +0000 (+0200) Subject: ARM: fix PXA build by defining UP2OCR X-Git-Tag: v2009.06-rc2~1 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=f4317ea91942f44cc1c433277927b61618e9b0a5;p=u-boot 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 Cc: Markus Klotzbuecher Edited commit message. Signed-off-by: Wolfgang Denk --- diff --git a/include/asm-arm/arch-pxa/pxa-regs.h b/include/asm-arm/arch-pxa/pxa-regs.h index a8d30e2df4..5a0885aef2 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)