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>
This commit is contained in:
parent
e26ad0eabd
commit
f4317ea919
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user