diff options
author | Daniel Hellstrom <daniel@gaisler.com> | 2019-09-12 14:48:29 +0200 |
---|---|---|
committer | Daniel Hellstrom <daniel@gaisler.com> | 2021-03-11 17:35:27 +0100 |
commit | b57436c8fcfc7747a35856e69d362d33802f0421 (patch) | |
tree | 315404e64422a01f0ed15d7ef85e420532f40a19 /bsps/sparc/leon3/start/amba.c | |
parent | leon,greth: added support for variable sized descriptor table sizes (diff) | |
download | rtems-b57436c8fcfc7747a35856e69d362d33802f0421.tar.bz2 |
leon3: avoid dependency on apbuart/timer driver
Moves drvmgr_drivers[] from amba.c to a separate file in order
to avoid the dependecy on APBUART/GPTIMER drivers. This has
an effect when user configured not to use timer or uart
in their project.
Diffstat (limited to 'bsps/sparc/leon3/start/amba.c')
-rw-r--r-- | bsps/sparc/leon3/start/amba.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/bsps/sparc/leon3/start/amba.c b/bsps/sparc/leon3/start/amba.c index e7ff29808c..1de206139f 100644 --- a/bsps/sparc/leon3/start/amba.c +++ b/bsps/sparc/leon3/start/amba.c @@ -34,18 +34,6 @@ struct ambapp_bus ambapp_plb; #include <drvmgr/drvmgr.h> #include <grlib/ambapp_bus_grlib.h> -extern void gptimer_register_drv (void); -extern void apbuart_cons_register_drv(void); -/* All drivers included by BSP, this is overridden by the user by including - * the drvmgr_confdefs.h. By default the Timer and UART driver are included. - */ -drvmgr_drv_reg_func drvmgr_drivers[] __attribute__((weak)) = -{ - gptimer_register_drv, - apbuart_cons_register_drv, - NULL /* End array with NULL */ -}; - /* Driver resources configuration for AMBA root bus. It is declared weak * so that the user may override it, if the defualt settings are not * enough. |