|
@@ -578,15 +578,20 @@ static struct platform_device bfin_fb_adv7393_device = {
|
|
|
|
|
|
#if defined(CONFIG_SERIAL_BFIN) || defined(CONFIG_SERIAL_BFIN_MODULE)
|
|
#if defined(CONFIG_SERIAL_BFIN) || defined(CONFIG_SERIAL_BFIN_MODULE)
|
|
static struct resource bfin_uart_resources[] = {
|
|
static struct resource bfin_uart_resources[] = {
|
|
|
|
+#ifdef CONFIG_SERIAL_BFIN_UART0
|
|
{
|
|
{
|
|
.start = 0xFFC00400,
|
|
.start = 0xFFC00400,
|
|
.end = 0xFFC004FF,
|
|
.end = 0xFFC004FF,
|
|
.flags = IORESOURCE_MEM,
|
|
.flags = IORESOURCE_MEM,
|
|
- }, {
|
|
|
|
|
|
+ },
|
|
|
|
+#endif
|
|
|
|
+#ifdef CONFIG_SERIAL_BFIN_UART1
|
|
|
|
+ {
|
|
.start = 0xFFC02000,
|
|
.start = 0xFFC02000,
|
|
.end = 0xFFC020FF,
|
|
.end = 0xFFC020FF,
|
|
.flags = IORESOURCE_MEM,
|
|
.flags = IORESOURCE_MEM,
|
|
},
|
|
},
|
|
|
|
+#endif
|
|
};
|
|
};
|
|
|
|
|
|
static struct platform_device bfin_uart_device = {
|
|
static struct platform_device bfin_uart_device = {
|