[PATCH master] ARM: rpi: fix CM3 breakage after multi-image rework

Sascha Hauer sha at pengutronix.de
Tue May 3 00:12:26 PDT 2022


On Mon, May 02, 2022 at 04:29:59PM +0200, Ahmad Fatoum wrote:
> barebox used to apply quirks by asking VideoCore firmware. If this was
> not possible, an error message is printed, but other initialization
> happened as expected. With the move to board driver matched by DT, we
> incur two breakages:
> 
>   - Compute Module 3/3+ used to be explicitly supported, but are absent
>     in new compatible list
>   - Unsupported variants used to initialize with only an error message,
>     but now their revision ID must be known
> 
> Fix this by amending the compatible list with all non-Raspberry Pi 4
> compatibles listed in the binding. We also make existence of a match
> data optional and error out if it doesn't exist. This is so far unused,
> but it conveys the intent for future users.
> 
> Fixes: c062cd5cf47d ("ARM: rpi: validate devicetree compatible instead of changing model name")
> Signed-off-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
> ---
> Only build-tested.
> ---
>  arch/arm/boards/raspberry-pi/rpi-common.c | 32 ++++++++++++++++++++---
>  arch/arm/mach-bcm283x/include/mach/mbox.h |  1 +
>  2 files changed, 29 insertions(+), 4 deletions(-)

Applied, thanks

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 |



More information about the barebox mailing list