X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=include%2Fmpc5xxx.h;h=10daf0944be2a06bae3cc1aa8b4858154d8817a2;hb=ca614c164012789ee27de57bab615994f9c2ec25;hp=2d343c7b08259c1aca6e0825bfa6b38d899a5b4f;hpb=83653121d7382fccfe329cb732f77f116341ef1d;p=karo-tx-uboot.git diff --git a/include/mpc5xxx.h b/include/mpc5xxx.h index 2d343c7b08..10daf0944b 100644 --- a/include/mpc5xxx.h +++ b/include/mpc5xxx.h @@ -9,23 +9,7 @@ * * 2003 (C) Wolfgang Denk, DENX Software Engineering, wd@denx.de. * - * See file CREDITS for list of people who contributed to this - * project. - * - * 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, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, - * MA 02111-1307 USA + * SPDX-License-Identifier: GPL-2.0+ */ #ifndef __ASMPPC_MPC5XXX_H #define __ASMPPC_MPC5XXX_H @@ -160,11 +144,12 @@ #define MPC5XXX_WU_GPIO_DATA_O (MPC5XXX_WU_GPIO + 0x000c) #define MPC5XXX_WU_GPIO_DATA_I (MPC5XXX_WU_GPIO + 0x0020) -/* GPIO pins */ +/* GPIO pins, for Rev.B chip */ #define GPIO_WKUP_7 0x80000000UL #define GPIO_PSC6_0 0x10000000UL #define GPIO_PSC3_9 0x04000000UL #define GPIO_PSC1_4 0x01000000UL +#define GPIO_PSC2_4 0x02000000UL #define MPC5XXX_GPIO_SIMPLE_PSC6_3 0x20000000UL #define MPC5XXX_GPIO_SIMPLE_PSC6_2 0x10000000UL @@ -897,8 +882,11 @@ struct mpc5xxx_xlb { volatile u32 snoop_window; /* XLB + 0x70 */ }; +struct pci_controller; + /* function prototypes */ void loadtask(int basetask, int tasks); +void pci_mpc5xxx_init(struct pci_controller *); #endif /* __ASSEMBLY__ */