From 60857f8ec759e1cf4359290258f85fd7b1777ef2 Mon Sep 17 00:00:00 2001 From: Amit Singh Tomar Date: Mon, 27 Jan 2020 01:14:44 +0000 Subject: [PATCH] rpi4: Enable GENET Ethernet controller The Raspberry Pi 4 SoC features an integrated Gigabit Ethernet controller, connected as a platform device. Enable the new driver in the three applicable defconfigs, to allow TFTP booting on the board. Signed-off-by: Amit Singh Tomar [Andre: Add joined and 32-bit configs] Signed-off-by: Andre Przywara Tested-by: Corentin Labbe Signed-off-by: Matthias Brugger [backport of mainline commit 095c6eba9d02688e7a1c3cd2093f826d05fe961f] Signed-off-by: Marek Szyprowski Change-Id: I666fbda9f027b54c8ec29be324e38a7f53ad0cfe --- configs/rpi_4_32b_defconfig | 2 ++ configs/rpi_4_defconfig | 2 ++ 2 files changed, 4 insertions(+) diff --git a/configs/rpi_4_32b_defconfig b/configs/rpi_4_32b_defconfig index b529e25..450ab34 100644 --- a/configs/rpi_4_32b_defconfig +++ b/configs/rpi_4_32b_defconfig @@ -27,6 +27,8 @@ CONFIG_DM_MMC=y CONFIG_MMC_SDHCI=y CONFIG_MMC_SDHCI_SDMA=y CONFIG_MMC_SDHCI_BCM2835=y +CONFIG_DM_ETH=y +CONFIG_BCMGENET=y CONFIG_PINCTRL=y # CONFIG_PINCTRL_GENERIC is not set # CONFIG_REQUIRE_SERIAL_CONSOLE is not set diff --git a/configs/rpi_4_defconfig b/configs/rpi_4_defconfig index f926c36..165c2ce 100644 --- a/configs/rpi_4_defconfig +++ b/configs/rpi_4_defconfig @@ -26,6 +26,8 @@ CONFIG_DM_KEYBOARD=y CONFIG_DM_MMC=y CONFIG_MMC_SDHCI=y CONFIG_MMC_SDHCI_BCM2835=y +CONFIG_DM_ETH=y +CONFIG_BCMGENET=y CONFIG_PINCTRL=y # CONFIG_PINCTRL_GENERIC is not set # CONFIG_REQUIRE_SERIAL_CONSOLE is not set -- 2.7.4