Skip to content

Commit

Permalink
MX25: put define for OTG base address in right include
Browse files Browse the repository at this point in the history
the standard place for this define is include/mach/mx25.h

Signed-off-by: Eric Bénard <eric@eukrea.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
  • Loading branch information
Eric Bénard authored and Sascha Hauer committed Jul 26, 2010
1 parent f42ae0e commit 5a36c39
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 0 additions & 2 deletions arch/arm/mach-mx25/devices.c
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,6 @@ struct platform_device mxc_uart_device4 = {
.num_resources = ARRAY_SIZE(uart4),
};

#define MX25_OTG_BASE_ADDR 0x53FF4000

static u64 otg_dmamask = DMA_BIT_MASK(32);

static struct resource mxc_otg_resources[] = {
Expand Down
1 change: 1 addition & 0 deletions arch/arm/plat-mxc/include/mach/mx25.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
#define MX25_DRYICE_BASE_ADDR 0x53ffc000
#define MX25_LCDC_BASE_ADDR 0x53fbc000
#define MX25_KPP_BASE_ADDR 0x43fa8000
#define MX25_OTG_BASE_ADDR 0x53ff4000

#define MX25_INT_DRYICE 25
#define MX25_INT_FEC 57
Expand Down

0 comments on commit 5a36c39

Please sign in to comment.