Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -162,3 +162,9 @@ char * __init pcibios_setup(char *str)

	return str;
}

int __attribute__((weak)) pci_fixup_pcic(void)
{
	/* Nothing to do. */
	return 0;
}
+6 −9
Original line number Diff line number Diff line
@@ -12,7 +12,6 @@
 *  License.  See linux/COPYING for more information.
 *
 */

#undef DEBUG

#include <linux/init.h>
@@ -194,9 +193,7 @@ int __init sh7751_pcic_init(struct sh4_pci_address_map *map)
	 * DMA interrupts...
	 */

#if defined(CONFIG_SH_RTS7751R2D) || defined(CONFIG_SH_LBOX_RE2)
	pci_fixup_pcic();
#endif

	/* SH7751 init done, set central function init complete */
	/* use round robin mode to stop a device starving/overruning */