[PATCH] nios2: remove arch remains from drivers

Ian Abbott abbotti at mev.co.uk
Fri Jun 30 01:57:50 PDT 2023


On 29/06/2023 21:13, Denis Orlov wrote:
> The architecture was removed back in the commit efccc13513, however some
> drivers that were available exclusively for NIOS2 were left over. As it
> has been impossible to compile those since then, it seems reasonable to
> just get rid of them.
> 
> Signed-off-by: Denis Orlov <denorl2009 at gmail.com>
> ---
>   drivers/serial/Kconfig              |  10 --
>   drivers/serial/Makefile             |   2 -
>   drivers/serial/serial_altera.c      |  94 -----------
>   drivers/serial/serial_altera_jtag.c |  99 ------------
>   drivers/spi/Kconfig                 |   4 -
>   drivers/spi/Makefile                |   1 -
>   drivers/spi/altera_spi.c            | 236 ----------------------------
>   7 files changed, 446 deletions(-)
>   delete mode 100644 drivers/serial/serial_altera.c
>   delete mode 100644 drivers/serial/serial_altera_jtag.c
>   delete mode 100644 drivers/spi/altera_spi.c

As a point of interest, none of those drivers should really depend on 
NIOS2.  They are usable on an ARM SoCFPGA system if the FPGA logic 
contains the corresponding Altera/Intel IP components.

Whether or not anyone needs them in barebox is another matter, but I 
have certainly used them in ARM SoCFPGA Linux systems booted from barebox.

-- 
-=( Ian Abbott <abbotti at mev.co.uk> || MEV Ltd. is a company  )=-
-=( registered in England & Wales.  Regd. number: 02862268.  )=-
-=( Regd. addr.: S11 & 12 Building 67, Europa Business Park, )=-
-=( Bird Hall Lane, STOCKPORT, SK3 0XA, UK. || www.mev.co.uk )=-




More information about the barebox mailing list