diff options
author | Daniel Hellstrom <daniel@gaisler.com> | 2008-03-26 23:00:38 +0100 |
---|---|---|
committer | Daniel Hellstrom <daniel@gaisler.com> | 2008-04-08 07:58:32 +0000 |
commit | 2a2fa797e63b1e3cd4d570318ca5fbf8723ef53a (patch) | |
tree | 0507d85576ec9356290c9d655cbdee73ffb51eea /include | |
parent | 1e9a164e22976933002c5e4b0b79b09fcede9cd4 (diff) | |
download | u-boot-imx-2a2fa797e63b1e3cd4d570318ca5fbf8723ef53a.zip u-boot-imx-2a2fa797e63b1e3cd4d570318ca5fbf8723ef53a.tar.gz u-boot-imx-2a2fa797e63b1e3cd4d570318ca5fbf8723ef53a.tar.bz2 |
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 <daniel@gaisler.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/ambapp.h | 14 | ||||
-rw-r--r-- | include/config_cmd_all.h | 1 |
2 files changed, 15 insertions, 0 deletions
diff --git a/include/ambapp.h b/include/ambapp.h index 1e49d89..7494e59 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 */ diff --git a/include/config_cmd_all.h b/include/config_cmd_all.h index 69276a3..d1b5ffb 100644 --- a/include/config_cmd_all.h +++ b/include/config_cmd_all.h @@ -13,6 +13,7 @@ * Alphabetical list of all possible commands. */ +#define CONFIG_CMD_AMBAPP /* AMBA Plug & Play Bus print utility */ #define CONFIG_CMD_ASKENV /* ask for env variable */ #define CONFIG_CMD_AUTOSCRIPT /* Autoscript Support */ #define CONFIG_CMD_BDI /* bdinfo */ |