forked from pool/u-boot
f99a5ed47d
Add support for Jetson Nano. (jsc#SLE-9387) Enable btrfs by default. (jsc#SLE-10302) Add network support for RPi4 (jsc#SLE-7276) * Patches added: 0010-ARM-tegra-Add-NVIDIA-Jetson-Nano-De.patch 0011-Kconfig-add-btrfs-to-distro-boot.patch 0012-configs-Re-sync-with-CONFIG_DISTRO_.patch 0013-net-Add-support-for-Broadcom-GENETv.patch 0014-rpi4-Update-memory-map-to-accommoda.patch 0015-rpi4-Enable-GENET-Ethernet-controll.patch OBS-URL: https://build.opensuse.org/package/show/hardware:boot/u-boot?expand=0&rev=77
59 lines
1.9 KiB
Diff
59 lines
1.9 KiB
Diff
From e61c092813f356caa2f0cb1656cb9e0ccd265f46 Mon Sep 17 00:00:00 2001
|
|
From: Amit Singh Tomar <amittomer25@gmail.com>
|
|
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 <amittomer25@gmail.com>
|
|
[Andre: Add joined and 32-bit configs]
|
|
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
|
|
---
|
|
configs/rpi_4_32b_defconfig | 2 ++
|
|
configs/rpi_4_defconfig | 2 ++
|
|
configs/rpi_arm64_defconfig | 1 +
|
|
3 files changed, 5 insertions(+)
|
|
|
|
diff --git a/configs/rpi_4_32b_defconfig b/configs/rpi_4_32b_defconfig
|
|
index 00f80f71ad..e7ea88bd4b 100644
|
|
--- a/configs/rpi_4_32b_defconfig
|
|
+++ b/configs/rpi_4_32b_defconfig
|
|
@@ -24,6 +24,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
|
|
diff --git a/configs/rpi_4_defconfig b/configs/rpi_4_defconfig
|
|
index 8cf1bb81ff..b0f9cf1c0e 100644
|
|
--- a/configs/rpi_4_defconfig
|
|
+++ b/configs/rpi_4_defconfig
|
|
@@ -24,6 +24,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
|
|
diff --git a/configs/rpi_arm64_defconfig b/configs/rpi_arm64_defconfig
|
|
index 10fbe0db92..00b3096481 100644
|
|
--- a/configs/rpi_arm64_defconfig
|
|
+++ b/configs/rpi_arm64_defconfig
|
|
@@ -36,6 +36,7 @@ CONFIG_USB_KEYBOARD=y
|
|
CONFIG_USB_HOST_ETHER=y
|
|
CONFIG_USB_ETHER_LAN78XX=y
|
|
CONFIG_USB_ETHER_SMSC95XX=y
|
|
+CONFIG_BCMGENET=y
|
|
CONFIG_DM_VIDEO=y
|
|
CONFIG_VIDEO_BPP32=y
|
|
CONFIG_SYS_WHITE_ON_BLACK=y
|