diff options
author | Daniel Hellstrom <daniel@gaisler.com> | 2012-04-17 16:25:38 +0200 |
---|---|---|
committer | Gedare Bloom <gedare@rtems.org> | 2012-04-17 22:01:46 -0400 |
commit | 9ea65119f400d5ad9acc3c52bdfd978fb96b930c (patch) | |
tree | 7b1175a757256e3772f9c8afb3f366591a5c093c /c/src/lib/libbsp/sparc/Makefile.am | |
parent | no_cpu: replace no_cpu_isr with rtems_isr (diff) | |
download | rtems-9ea65119f400d5ad9acc3c52bdfd978fb96b930c.tar.bz2 |
LEON: updated AMBA PnP API
The old layer had some limitations/problems for multiple AHB
buses since the data structure containing all AMBA devices
were allocated before scanning.
The new layer create devices as they are found and memory is
allocated using malloc() or bsp_early_malloc() during booting.
The old 8 functions for finding a specific AHB-Slave or
APB-Slave device has been replaced with one function,
ambapp_for_each(), which iterates over all devices matching
the specified search options and calls a user provided
function. The new way lowers the footprint and makes searching
more flexible.
The frequency information is now supported, if the frequency
of one device is reported by the user.
More AHB-to-AHB bridges are supported.
The API has been split into several parts in order to lower the
footprint.
The API also introduces the AMBAPP CORE concept, where one
ambapp_core can be created from one AHB Master, AHB Slave
and one APB Slave, at least one device is required for creating
a core.
Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
Diffstat (limited to 'c/src/lib/libbsp/sparc/Makefile.am')
-rw-r--r-- | c/src/lib/libbsp/sparc/Makefile.am | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/sparc/Makefile.am b/c/src/lib/libbsp/sparc/Makefile.am index 4f445ba49d..2b9909c910 100644 --- a/c/src/lib/libbsp/sparc/Makefile.am +++ b/c/src/lib/libbsp/sparc/Makefile.am @@ -17,7 +17,17 @@ EXTRA_DIST += shared/irq/irq-shared.c # AMBA Plug&Play bus EXTRA_DIST += shared/include/ambapp.h +EXTRA_DIST += shared/include/ambapp_ids.h EXTRA_DIST += shared/amba/ambapp.c +EXTRA_DIST += shared/amba/ambapp_alloc.c +EXTRA_DIST += shared/amba/ambapp_count.c +EXTRA_DIST += shared/amba/ambapp_depth.c +EXTRA_DIST += shared/amba/ambapp_find_by_idx.c +EXTRA_DIST += shared/amba/ambapp_freq.c +EXTRA_DIST += shared/amba/ambapp_parent.c +EXTRA_DIST += shared/amba/ambapp_names.c +EXTRA_DIST += shared/amba/ambapp_old.c +EXTRA_DIST += shared/amba/ambapp_show.c # PCI bus EXTRA_DIST += shared/include/pci.h |