Commit 59034b9d authored by H. Nikolaus Schaller's avatar H. Nikolaus Schaller Committed by Florian Fainelli

ARM: bcm: Add missing sentinel to bcm2711_compat[]

commit 781fa0a9 ("ARM: bcm: Add support for BCM2711 SoC")

breaks boot of many other platforms (e.g. OMAP or i.MX6) if
CONFIG_ARCH_BCM2835 is enabled in addition to some multiplatform
config (e.g. omap2plus_defconfig). The symptom is that the OMAP
based board does not show any activity beyond "Starting Kernel ..."
even with earlycon.

Reverting the mentioned commit makes it work again.

The real fix is to add the missing NULL sentinel to the
bcm2711_compat[] variable-length array.

Fixes: 781fa0a9 ("ARM: bcm: Add support for BCM2711 SoC")
Acked-by: default avatarStefan Wahren <wahrenst@gmx.net>
Signed-off-by: default avatarH. Nikolaus Schaller <hns@goldelico.com>
Signed-off-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
parent e42617b8
...@@ -13,6 +13,7 @@ static const char * const bcm2711_compat[] = { ...@@ -13,6 +13,7 @@ static const char * const bcm2711_compat[] = {
#ifdef CONFIG_ARCH_MULTI_V7 #ifdef CONFIG_ARCH_MULTI_V7
"brcm,bcm2711", "brcm,bcm2711",
#endif #endif
NULL
}; };
DT_MACHINE_START(BCM2711, "BCM2711") DT_MACHINE_START(BCM2711, "BCM2711")
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment