[U-Boot] [PATCH] ARM: unbreak PXA build by defining UP2OCR
Daniel Mack
daniel at caiaq.de
Mon May 4 12:34:01 CEST 2009
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 <daniel at caiaq.de>
Cc: Markus Klotzbuecher <mk at denx.de>
---
include/asm-arm/arch-pxa/pxa-regs.h | 1 +
1 files changed, 1 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..4f5e738 100644
--- a/include/asm-arm/arch-pxa/pxa-regs.h
+++ b/include/asm-arm/arch-pxa/pxa-regs.h
@@ -991,6 +991,7 @@ typedef void (*ExcpHndlr) (void) ;
#define UHCHR __REG(0x4C000064)
#define UHCHIE __REG(0x4C000068)
#define UHCHIT __REG(0x4C00006C)
+#define UP2OCR __REG(0x40600020)
#define UHCHR_FSBIR (1<<0)
#define UHCHR_FHR (1<<1)
--
1.6.2.1
More information about the U-Boot
mailing list