From 2a2fa797e63b1e3cd4d570318ca5fbf8723ef53a Mon Sep 17 00:00:00 2001 From: Daniel Hellstrom Date: Wed, 26 Mar 2008 23:00:38 +0100 Subject: SPARC/LEON3: Added AMBA Bus Plug&Play information print command (ambapp). It can print available cores (type: AHB Master, AHB Slave, APB Slave), their address ranges, IRQ number and version. Signed-off-by: Daniel Hellstrom --- include/ambapp.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'include/ambapp.h') diff --git a/include/ambapp.h b/include/ambapp.h index 1e49d896c..7494e594d 100644 --- a/include/ambapp.h +++ b/include/ambapp.h @@ -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 */ -- cgit v1.2.3