Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 60707
b: refs/heads/master
c: a527ad8
h: refs/heads/master
i:
  60705: 49080c0
  60703: 6182eb0
v: v3
  • Loading branch information
Grant Likely authored and Paul Mackerras committed Jul 11, 2007
1 parent 1cab11e commit 44179fd
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 14 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 31a12cece7c71c47e61ab8ed45bbff5aac4c1931
refs/heads/master: a527ad88a2f11f7ccab3038608e5c50ceae570a3
38 changes: 25 additions & 13 deletions trunk/arch/ppc/syslib/virtex_devices.c
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,21 @@
}, \
}

/*
* ML300/ML403 Video Device: shortcut macro for single instance
*/
#define XPAR_TFT(num) { \
.name = "xilinxfb", \
.id = num, \
.num_resources = 1, \
.resource = (struct resource[]) { \
{ \
.start = XPAR_TFT_##num##_BASEADDR, \
.end = XPAR_TFT_##num##_BASEADDR+7, \
.flags = IORESOURCE_IO, \
}, \
}, \
}

/* UART 8250 driver platform data table */
struct plat_serial8250_port virtex_serial_platform_data[] = {
Expand Down Expand Up @@ -146,20 +161,17 @@ struct platform_device virtex_platform_devices[] = {
XPAR_SYSACE(1),
#endif

/* ML300/403 reference design framebuffer */
#if defined(XPAR_TFT_0_BASEADDR)
{
.name = "xilinxfb",
.id = 0,
.num_resources = 1,
.resource = (struct resource[]) {
{
.start = XPAR_TFT_0_BASEADDR,
.end = XPAR_TFT_0_BASEADDR+7,
.flags = IORESOURCE_IO,
},
},
},
XPAR_TFT(0),
#endif
#if defined(XPAR_TFT_1_BASEADDR)
XPAR_TFT(1),
#endif
#if defined(XPAR_TFT_2_BASEADDR)
XPAR_TFT(2),
#endif
#if defined(XPAR_TFT_3_BASEADDR)
XPAR_TFT(3),
#endif
};

Expand Down

0 comments on commit 44179fd

Please sign in to comment.