X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=include%2Fambapp.h;h=42c990c0289ea54baa1a9e3ed6f6fb40a343dcd4;hb=5b37bd3afdae436b8c1490e19a436a11e652e1cf;hp=1e49d896cec6698ed304887eed1e3a9f65e5e24d;hpb=1e9a164e22976933002c5e4b0b79b09fcede9cd4;p=u-boot diff --git a/include/ambapp.h b/include/ambapp.h index 1e49d896ce..42c990c028 100644 --- a/include/ambapp.h +++ b/include/ambapp.h @@ -41,7 +41,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 +140,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 */