mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer@pengutronix.de>
To: Sam Ravnborg <sam@ravnborg.org>
Cc: Barebox List <barebox@lists.infradead.org>
Subject: Re: [PATCH 0/9] ARM: misc cleanups
Date: Wed, 1 Mar 2023 08:53:24 +0100	[thread overview]
Message-ID: <20230301075324.GO32097@pengutronix.de> (raw)
In-Reply-To: <Y/47xKrQwNGDe2KU@ravnborg.org>

On Tue, Feb 28, 2023 at 06:37:08PM +0100, Sam Ravnborg wrote:
> Hi Sascha,
> 
> On Tue, Feb 28, 2023 at 03:30:22PM +0100, Sascha Hauer wrote:
> > I am working on making it possible to build support for multiple
> > arch/arm/mach-*/ into the same barebox. Here are some misc cleanups
> > I stumbled upon while preparing multi arch support.
> > 
> > Sascha Hauer (9):
> >   ARM: mxs: remove unused mach/clock.h
> >   ARM: imx: remove unused mach/clock.h
> >   ARM: rockchip: drop mach/timer.h
> >   ARM: i.MX: Move imxfb.h to include/platform_data/
> >   pinctrl: rockchip: Fix uninitialized var warning
> >   ARM: at91: remove unnecessary configs
> >   ARM: at91: Switch all boards to multiimage
> >   at91: consolidate usb-a963 128m images
> >   ARM: pxa: Move plat/ include files to mach/
> 
> As much as I like the patches I think a more sane course of
> action for these old at91 boards would be to drop most of them.

Agreed, and you just motivated me to look into it.

> A simple algorithm would be:
>   If not supported in the kernel, drop the board.

That algorithm doesn't bring us very far. Here is a list of boards
supported in barebox, the 'x' add the beginning denotes that I
found a device tree for it in the kernel:

AT91RM9200
==========
x MACH_AT91RM9200EK	Atmel AT91RM9200-EK Evaluation Kit

AT91SAM9260
===========
x MACH_ANIMEO_IP	Somfy Animeo IP
x MACH_AT91SAM9260EK	Atmel AT91SAM9260-EK
x MACH_QIL_A9260	CALAO QIL-A9260 board
x MACH_TNY_A9260	CALAO TNY-A9260
x MACH_USB_A9260	CALAO USB-A9260
  MACH_GE863		Telit EVK-PRO3

AT91SAM9261
===========
x MACH_AT91SAM9261EK	Atmel AT91SAM9261-EK Evaluation Kit
  MACH_PM9261		Ronetix PM9261

AT91SAM9G10
===========
x MACH_AT91SAM9G10EK	Atmel AT91SAM9G10-EK Evaluation Kit

AT91SAM9G20
===========
x MACH_AT91SAM9G20EK	Atmel AT91SAM9G20-EK Evaluation Kit
x MACH_TNY_A9G20	CALAO TNY-A9G20
x MACH_USB_A9G20	CALAO USB-A9G20
  MACH_DSS11		aizo dSS11
  MACH_QIL_A9G20	CALAO QIL-A9G20 board
  MACH_HABA_KNX_LITE	CALAO HABA-KNX-LITE

AT91SAM9263
===========
  MACH_PM9263		Ronetix PM9263
x MACH_TNY_A9263	CALAO TNY-A9263
x MACH_USB_A9263	CALAO USB-A9263

AT91SAM9G45 or AT91SAM9M10
==========================
  MACH_AT91SAM9M10IHD	Atmel AT91SAM9M10IDH Tablet
x MACH_AT91SAM9M10G45EK	Atmel AT91SAM9M10G45-EK Evaluation Kit
x MACH_PM9G45		Ronetix PM9G45

AT91SAM9N12
===========
x MACH_AT91SAM9N12EK	Atmel AT91SAM9N12 Evaluation Kit

SAMA5D3
=======
x MACH_SAMA5D3XEK	Atmel SAMA5D3X Evaluation Kit

SAMA5D4
=======
x MACH_SAMA5D4EK	Atmel SAMA5D4 Evaluation Kit
x MACH_SAMA5D4_XPLAINED	Atmel SAMA5D4 XPLAINED ULTRA Evaluation Kit

It seems most boards are supported in the kernel as well.

>   
> The boards that are not in the kernel have not seen any
> activity in barebox for a long time, so it is not like
> they look maintained.

None of the boards has seen any activity except for those that are
already converted to multiboard.

Given that we could remove all board and SoC support that has
not yet been converted to multiboard support.

The question is: When you want to port over some more board/SoC code
to multiboard, does the existing code help you or would it be easier
to do a fresh start?

Sascha

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



  reply	other threads:[~2023-03-01  7:55 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-28 14:30 Sascha Hauer
2023-02-28 14:30 ` [PATCH 1/9] ARM: mxs: remove unused mach/clock.h Sascha Hauer
2023-02-28 14:30 ` [PATCH 2/9] ARM: imx: " Sascha Hauer
2023-02-28 14:30 ` [PATCH 3/9] ARM: rockchip: drop mach/timer.h Sascha Hauer
2023-02-28 14:30 ` [PATCH 4/9] ARM: i.MX: Move imxfb.h to include/platform_data/ Sascha Hauer
2023-02-28 14:30 ` [PATCH 5/9] pinctrl: rockchip: Fix uninitialized var warning Sascha Hauer
2023-02-28 14:30 ` [PATCH 6/9] ARM: at91: remove unnecessary configs Sascha Hauer
2023-02-28 14:30 ` [PATCH 7/9] ARM: at91: Switch all boards to multiimage Sascha Hauer
2023-02-28 14:30 ` [PATCH 8/9] at91: consolidate usb-a963 128m images Sascha Hauer
2023-02-28 14:30 ` [PATCH 9/9] ARM: pxa: Move plat/ include files to mach/ Sascha Hauer
2023-03-01 17:42   ` Ahmad Fatoum
2023-02-28 17:37 ` [PATCH 0/9] ARM: misc cleanups Sam Ravnborg
2023-03-01  7:53   ` Sascha Hauer [this message]
2023-03-02 17:01     ` Sam Ravnborg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230301075324.GO32097@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    --cc=sam@ravnborg.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox