From: Daniel Mack Date: Tue, 5 May 2009 12:48:29 +0200 Subject: [U-Boot] [PATCH] ARM: unbreak PXA build by defining UP2OCR In-Reply-To: <20090505103623.GE22117@buzzloop.caiaq.de> References: <20090505103623.GE22117@buzzloop.caiaq.de> Message-ID: <1241520509-17457-1-git-send-email-daniel@caiaq.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de U-Boot does not currently build for PXA platforms with USB support enabled. This is due to commit 24e37645e7378b20fa8f20e2996c8fb8e9 which introduced the usage of UP2OCR without defining it. Signed-off-by: Daniel Mack Cc: Markus Klotzbuecher --- include/asm-arm/arch-pxa/pxa-regs.h | 4 ++++ 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) -- 1.6.2.1