Moving AMBA/GRLIB drivers to bsps/shared

Sebastian Huber sebastian.huber at
Thu Dec 27 08:25:46 UTC 2018

Hello Jiri,

----- Am 27. Dez 2018 um 3:16 schrieb Jiri Gaisler jiri at

> Hello Sebastian,
> I have started to copy the basic AMBA p&p routines and the drivers for
> irqmp and gptimer to bsps/shared/amba. 

I would move the sources to bsps/shared/grlib and the includes to bsps/include/grlib.

> The routines are somewhat
> entangled with LEON3-specific code, so I have cleaned them up and made
> them cpu independent. I don't intend to touch the original code under
> bsps/sparc, so the leon3 bsps should not be affected.

Ok, is there a chance to use this code for the leon3 BSP as well?

> To avoid building
> the drivers for all architectures, I have added an --enable-grlib option
> to configure. I am now working on bringing up my RISCV/GRLIB bsp. Once
> that is working, I will submit a patch for review.

The BSP sources are controlled by the BSP, to which configure did you add this option?

More information about the devel mailing list