X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=include%2Fambapp.h;h=405637d8cd6db809dc6f6b44fbebda8540b8bf65;hb=ff52e3b4306dc1f7f1c3e60802fba84acad66ce8;hp=1e49d896cec6698ed304887eed1e3a9f65e5e24d;hpb=1e9a164e22976933002c5e4b0b79b09fcede9cd4;p=oweals%2Fu-boot.git diff --git a/include/ambapp.h b/include/ambapp.h index 1e49d896ce..405637d8cd 100644 --- a/include/ambapp.h +++ b/include/ambapp.h @@ -6,24 +6,7 @@ * (C) Copyright 2007 * Daniel Hellstrom, Gaisler Research, daniel@gaisler.com. * - * 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 __AMBAPP_H__ @@ -41,7 +24,7 @@ /* Max devices this software will support */ #define LEON3_AHB_MASTERS 16 #define LEON3_AHB_SLAVES 16 - /*#define LEON3_APB_MASTERS 1*//* Number of APB buses that has Plug&Play */ +/*#define LEON3_APB_MASTERS 1*/ /* Number of APB buses that has Plug&Play */ #define LEON3_APB_SLAVES 16 /* Total number of APB slaves per APB bus */ /* Vendor codes */ @@ -140,6 +123,20 @@ #ifndef __ASSEMBLER__ +#ifdef CONFIG_CMD_AMBAPP + +/* AMBA Plug&Play relocation & initialization */ +int ambapp_init_reloc(void); + +/* AMBA Plug&Play Name of Vendors and devices */ + +/* Return name of device */ +char *ambapp_device_id2str(int vendor, int id); + +/* Return name of vendor */ +char *ambapp_vendor_id2str(int vendor); +#endif + /* * Types and structure used for AMBA Plug & Play bus scanning */