From f4317ea91942f44cc1c433277927b61618e9b0a5 Mon Sep 17 00:00:00 2001 From: Daniel Mack Date: Tue, 5 May 2009 12:48:29 +0200 Subject: [PATCH] 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 --- include/asm-arm/arch-pxa/pxa-regs.h | 4 ++++ 1 file changed, 4 insertions(+) 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) -- 2.25.1