Commit cd6c7ea2 authored by Paul Mundt's avatar Paul Mundt Committed by Paul Mundt

sh: Add a dummy SH-4 PCIC fixup.

By default we don't have anything to fix up for the SH-4 PCIC, boards can
overload this as necessary.
Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent 0264f160
...@@ -162,3 +162,9 @@ char * __init pcibios_setup(char *str) ...@@ -162,3 +162,9 @@ char * __init pcibios_setup(char *str)
return str; return str;
} }
int __attribute__((weak)) pci_fixup_pcic(void)
{
/* Nothing to do. */
return 0;
}
...@@ -12,7 +12,6 @@ ...@@ -12,7 +12,6 @@
* License. See linux/COPYING for more information. * License. See linux/COPYING for more information.
* *
*/ */
#undef DEBUG #undef DEBUG
#include <linux/init.h> #include <linux/init.h>
...@@ -194,9 +193,7 @@ int __init sh7751_pcic_init(struct sh4_pci_address_map *map) ...@@ -194,9 +193,7 @@ int __init sh7751_pcic_init(struct sh4_pci_address_map *map)
* DMA interrupts... * DMA interrupts...
*/ */
#if defined(CONFIG_SH_RTS7751R2D) || defined(CONFIG_SH_LBOX_RE2)
pci_fixup_pcic(); pci_fixup_pcic();
#endif
/* SH7751 init done, set central function init complete */ /* SH7751 init done, set central function init complete */
/* use round robin mode to stop a device starving/overruning */ /* use round robin mode to stop a device starving/overruning */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment