u-boot/arch/powerpc/cpu/ppc4xx/usbdev.h
Stefan Roese a47a12becf Move arch/ppc to arch/powerpc
As discussed on the list, move "arch/ppc" to "arch/powerpc" to
better match the Linux directory structure.

Please note that this patch also changes the "ppc" target in
MAKEALL to "powerpc" to match this new infrastructure. But "ppc"
is kept as an alias for now, to not break compatibility with
scripts using this name.

Signed-off-by: Stefan Roese <sr@denx.de>
Acked-by: Wolfgang Denk <wd@denx.de>
Acked-by: Detlev Zundel <dzu@denx.de>
Acked-by: Kim Phillips <kim.phillips@freescale.com>
Cc: Peter Tyser <ptyser@xes-inc.com>
Cc: Anatolij Gustschin <agust@denx.de>
2010-04-21 23:42:38 +02:00

31 lines
1.3 KiB
C

#include <config.h>
/*Common Registers*/
#define USB2D0_INTRIN_16 (CONFIG_SYS_USB_DEVICE | 0x100)
#define USB2D0_POWER_8 (CONFIG_SYS_USB_DEVICE | 0x102)
#define USB2D0_FADDR_8 (CONFIG_SYS_USB_DEVICE | 0x103)
#define USB2D0_INTRINE_16 (CONFIG_SYS_USB_DEVICE | 0x104)
#define USB2D0_INTROUT_16 (CONFIG_SYS_USB_DEVICE | 0x106)
#define USB2D0_INTRUSBE_8 (CONFIG_SYS_USB_DEVICE | 0x108)
#define USB2D0_INTRUSB_8 (CONFIG_SYS_USB_DEVICE | 0x109)
#define USB2D0_INTROUTE_16 (CONFIG_SYS_USB_DEVICE | 0x10a)
#define USB2D0_TSTMODE_8 (CONFIG_SYS_USB_DEVICE | 0x10c)
#define USB2D0_INDEX_8 (CONFIG_SYS_USB_DEVICE | 0x10d)
#define USB2D0_FRAME_16 (CONFIG_SYS_USB_DEVICE | 0x10e)
/*Indexed Registers*/
#define USB2D0_INCSR0_8 (CONFIG_SYS_USB_DEVICE | 0x110)
#define USB2D0_INCSR_16 (CONFIG_SYS_USB_DEVICE | 0x110)
#define USB2D0_INMAXP_16 (CONFIG_SYS_USB_DEVICE | 0x112)
#define USB2D0_OUTCSR_16 (CONFIG_SYS_USB_DEVICE | 0x114)
#define USB2D0_OUTMAXP_16 (CONFIG_SYS_USB_DEVICE | 0x116)
#define USB2D0_OUTCOUNT0_8 (CONFIG_SYS_USB_DEVICE | 0x11a)
#define USB2D0_OUTCOUNT_16 (CONFIG_SYS_USB_DEVICE | 0x11a)
/*FIFOs*/
#define USB2D0_FIFO_0 (CONFIG_SYS_USB_DEVICE | 0x120)
#define USB2D0_FIFO_1 (CONFIG_SYS_USB_DEVICE | 0x124)
#define USB2D0_FIFO_2 (CONFIG_SYS_USB_DEVICE | 0x128)
#define USB2D0_FIFO_3 (CONFIG_SYS_USB_DEVICE | 0x12c)
void usb_dev_init(void);