]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: bcm: Add missing sentinel to bcm2711_compat[]
authorH. Nikolaus Schaller <hns@goldelico.com>
Sun, 15 Dec 2019 07:49:02 +0000 (08:49 +0100)
committerFlorian Fainelli <f.fainelli@gmail.com>
Mon, 16 Dec 2019 03:32:28 +0000 (19:32 -0800)
commita6925e4e97bc6ab16f8536dbe4c9bde7faade9a4
tree493e8b355a3acd8bf6ea66b72b4302e219d05498
parent7855fcc07be326322b44982a21760fd9bd8e2b92
ARM: bcm: Add missing sentinel to bcm2711_compat[]

commit ade5ff32d6ef ("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: ade5ff32d6ef ("ARM: bcm: Add support for BCM2711 SoC")
Acked-by: Stefan Wahren <wahrenst@gmx.net>
Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
arch/arm/mach-bcm/bcm2711.c