mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-07 13:23:20 +09:00
![Stefan Roese](/assets/img/avatar_default.png)
As discussed on the list, move "arch/ppc" to "arch/powerpc" to better match the Linux directory structure. Please note that this patch also changes the "ppc" target in MAKEALL to "powerpc" to match this new infrastructure. But "ppc" is kept as an alias for now, to not break compatibility with scripts using this name. Signed-off-by: Stefan Roese <sr@denx.de> Acked-by: Wolfgang Denk <wd@denx.de> Acked-by: Detlev Zundel <dzu@denx.de> Acked-by: Kim Phillips <kim.phillips@freescale.com> Cc: Peter Tyser <ptyser@xes-inc.com> Cc: Anatolij Gustschin <agust@denx.de>
37 lines
1.5 KiB
C
37 lines
1.5 KiB
C
/*
|
|
* (C) Copyright 2008
|
|
* Ricado Ribalda-Universidad Autonoma de Madrid-ricardo.ribalda@uam.es
|
|
* This work has been supported by: QTechnology http://qtec.com/
|
|
* Based on interrupts.c Wolfgang Denk-DENX Software Engineering-wd@denx.de
|
|
* This program is free software: you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation, either version 2 of the License, or
|
|
* (at your option) any later version.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
*/
|
|
#ifndef XILINX_IRQ_H
|
|
#define XILINX_IRQ_H
|
|
|
|
#define intc XPAR_INTC_0_BASEADDR
|
|
#define ISR (intc + (0 * 4)) /* Interrupt Status Register */
|
|
#define IPR (intc + (1 * 4)) /* Interrupt Pending Register */
|
|
#define IER (intc + (2 * 4)) /* Interrupt Enable Register */
|
|
#define IAR (intc + (3 * 4)) /* Interrupt Acknowledge Register */
|
|
#define SIE (intc + (4 * 4)) /* Set Interrupt Enable bits */
|
|
#define CIE (intc + (5 * 4)) /* Clear Interrupt Enable bits */
|
|
#define IVR (intc + (6 * 4)) /* Interrupt Vector Register */
|
|
#define MER (intc + (7 * 4)) /* Master Enable Register */
|
|
|
|
#define IRQ_MASK(irq) (1 << (irq & 0x1f))
|
|
|
|
#define IRQ_MAX XPAR_INTC_MAX_NUM_INTR_INPUTS
|
|
|
|
#endif
|