From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Fri, 30 Sep 2022 18:22:17 +0200 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1oeImH-001ZFZ-92 for lore@lore.pengutronix.de; Fri, 30 Sep 2022 18:22:17 +0200 Received: from localhost ([127.0.0.1] helo=metis.ext.pengutronix.de) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1oeImE-0006Q0-2y; Fri, 30 Sep 2022 18:22:14 +0200 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oeImA-0006GP-K1; Fri, 30 Sep 2022 18:22:10 +0200 Received: from [2a0a:edc0:0:1101:1d::ac] (helo=dude04.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.94.2) (envelope-from ) id 1oeImB-003pqa-Dc; Fri, 30 Sep 2022 18:22:09 +0200 Received: from afa by dude04.red.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1oeIm8-003SIw-Mz; Fri, 30 Sep 2022 18:22:08 +0200 From: Ahmad Fatoum To: distrokit@pengutronix.de Date: Fri, 30 Sep 2022 18:21:55 +0200 Message-Id: <20220930162159.814389-7-a.fatoum@pengutronix.de> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220930162159.814389-1-a.fatoum@pengutronix.de> References: <20220930162159.814389-1-a.fatoum@pengutronix.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [DistroKit] [PATCH 06/10] v7a: kernel: configure for 32-bit Raspberry Pi 4 support X-BeenThere: distrokit@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: DistroKit Mailinglist List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Ahmad Fatoum Sender: "DistroKit" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: distrokit-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false We already support the Raspberry Pi 3 with our v7a kernel configuration, flip a few more options to get the kernel running on a Raspberry Pi 4 in A32 mode as well. Signed-off-by: Ahmad Fatoum --- configs/platform-v7a/kernelconfig | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/configs/platform-v7a/kernelconfig b/configs/platform-v7a/kernelconfig index 43752f0dc9ab..f1021bc5e6ad 100644 --- a/configs/platform-v7a/kernelconfig +++ b/configs/platform-v7a/kernelconfig @@ -1476,7 +1476,10 @@ CONFIG_ETHERNET=y # CONFIG_NET_VENDOR_ARC is not set CONFIG_NET_VENDOR_ASIX=y # CONFIG_SPI_AX88796C is not set -# CONFIG_NET_VENDOR_BROADCOM is not set +CONFIG_NET_VENDOR_BROADCOM=y +# CONFIG_B44 is not set +CONFIG_BCMGENET=y +# CONFIG_SYSTEMPORT is not set CONFIG_NET_VENDOR_CADENCE=y CONFIG_MACB=y CONFIG_MACB_USE_HWSTAMP=y @@ -1559,11 +1562,12 @@ CONFIG_FIXED_PHY=y # CONFIG_ADIN_PHY is not set # CONFIG_AQUANTIA_PHY is not set CONFIG_AX88796B_PHY=y -# CONFIG_BROADCOM_PHY is not set +CONFIG_BROADCOM_PHY=y # CONFIG_BCM54140_PHY is not set -# CONFIG_BCM7XXX_PHY is not set +CONFIG_BCM7XXX_PHY=y # CONFIG_BCM84881_PHY is not set # CONFIG_BCM87XX_PHY is not set +CONFIG_BCM_NET_PHYLIB=y # CONFIG_CICADA_PHY is not set # CONFIG_CORTINA_PHY is not set # CONFIG_DAVICOM_PHY is not set @@ -1605,7 +1609,7 @@ CONFIG_FWNODE_MDIO=y CONFIG_OF_MDIO=y CONFIG_MDIO_DEVRES=y # CONFIG_MDIO_BITBANG is not set -# CONFIG_MDIO_BCM_UNIMAC is not set +CONFIG_MDIO_BCM_UNIMAC=y # CONFIG_MDIO_HISI_FEMAC is not set # CONFIG_MDIO_MVUSB is not set # CONFIG_MDIO_MSCC_MIIM is not set @@ -1808,7 +1812,7 @@ CONFIG_HW_RANDOM=y CONFIG_HW_RANDOM_ATMEL=y # CONFIG_HW_RANDOM_BA431 is not set CONFIG_HW_RANDOM_BCM2835=y -# CONFIG_HW_RANDOM_IPROC_RNG200 is not set +CONFIG_HW_RANDOM_IPROC_RNG200=y CONFIG_HW_RANDOM_OMAP=y CONFIG_HW_RANDOM_VIRTIO=y CONFIG_HW_RANDOM_STM32=y @@ -2018,7 +2022,7 @@ CONFIG_GPIO_GENERIC=y # # CONFIG_GPIO_74XX_MMIO is not set # CONFIG_GPIO_ALTERA is not set -# CONFIG_GPIO_RASPBERRYPI_EXP is not set +CONFIG_GPIO_RASPBERRYPI_EXP=y # CONFIG_GPIO_CADENCE is not set # CONFIG_GPIO_DWAPB is not set # CONFIG_GPIO_FTGPIO010 is not set @@ -2173,7 +2177,7 @@ CONFIG_IMX_THERMAL=y # # Broadcom thermal drivers # -# CONFIG_BCM2711_THERMAL is not set +CONFIG_BCM2711_THERMAL=y CONFIG_BCM2835_THERMAL=y # end of Broadcom thermal drivers @@ -3365,7 +3369,7 @@ CONFIG_NVMEM_IMX_IIM=y CONFIG_NVMEM_IMX_OCOTP=y CONFIG_NVMEM_STM32_ROMEM=y # CONFIG_NVMEM_SNVS_LPGPR is not set -# CONFIG_NVMEM_RMEM is not set +CONFIG_NVMEM_RMEM=y # # HW tracing support @@ -3856,6 +3860,7 @@ CONFIG_NLATTR=y CONFIG_CLZ_TAB=y # CONFIG_IRQ_POLL is not set CONFIG_MPILIB=y +CONFIG_DIMLIB=y CONFIG_LIBFDT=y CONFIG_OID_REGISTRY=y CONFIG_HAVE_GENERIC_VDSO=y -- 2.30.2