mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-27 11:55:53 +00:00
73844ecbaa
This contains important fixes for the CPM2 PIC code. Eliminated CPM_IRQ_OFFSET, pulling the respective interrupt numbers from the interrupt mapping. Updated devicetree files to reflect that. Changed direct IC-related IO accesses to the IO accessors. Fixed all the sense values to keep coherency with ipic. In the current code, CPM2 stuff will have no IRQs and hence could be hardly usable. Signed-off-by: Vitaly Bordug <vbordug@ru.mvista.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
25 lines
626 B
C
25 lines
626 B
C
/*
|
|
* Since there are many different boards and no standard configuration,
|
|
* we have a unique include file for each. Rather than change every
|
|
* file that has to include MPC8260 configuration, they all include
|
|
* this one and the configuration switching is done here.
|
|
*/
|
|
#ifdef __KERNEL__
|
|
#ifndef __ASM_PPC_MPC8260_H__
|
|
#define __ASM_PPC_MPC8260_H__
|
|
|
|
|
|
#ifdef CONFIG_8260
|
|
|
|
#if defined(CONFIG_PQ2ADS) || defined (CONFIG_PQ2FADS)
|
|
#include <platforms/82xx/pq2ads.h>
|
|
#endif
|
|
|
|
#ifdef CONFIG_PCI_8260
|
|
#include <platforms/82xx/m82xx_pci.h>
|
|
#endif
|
|
|
|
#endif /* CONFIG_8260 */
|
|
#endif /* !__ASM_PPC_MPC8260_H__ */
|
|
#endif /* __KERNEL__ */
|