2023-03-14 17:19:11 +00:00
|
|
|
From 52b75976133683dc9fe66e8ad35127125f938bed Mon Sep 17 00:00:00 2001
|
2018-04-06 15:34:45 +00:00
|
|
|
From: Peter Robinson <pbrobinson@gmail.com>
|
2023-03-14 17:19:11 +00:00
|
|
|
Date: Tue, 28 Feb 2023 12:04:34 +0000
|
|
|
|
Subject: [PATCH 2/2] rpi: Use OF_BOARD rather than OF_EMBED
|
|
|
|
|
|
|
|
The use of OF_EMBED isn't recommended for standard use and the OF_BOARD
|
|
|
|
is actually a better fit for the Raspberry Pi as the prior firmware
|
|
|
|
provides a DT that can be used by U-Boot and the subsequent OS too, but
|
|
|
|
it still allows the loading of a DT from disk as well if users wish
|
|
|
|
to use the upstream kernel DT.
|
2018-04-06 15:34:45 +00:00
|
|
|
|
|
|
|
Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
|
|
|
|
---
|
2020-08-10 21:23:45 +00:00
|
|
|
configs/rpi_0_w_defconfig | 2 +-
|
|
|
|
configs/rpi_2_defconfig | 2 +-
|
|
|
|
configs/rpi_3_32b_defconfig | 2 +-
|
|
|
|
configs/rpi_3_b_plus_defconfig | 2 +-
|
|
|
|
configs/rpi_3_defconfig | 2 +-
|
2023-03-14 17:19:11 +00:00
|
|
|
configs/rpi_4_32b_defconfig | 1 +
|
|
|
|
configs/rpi_4_defconfig | 1 +
|
|
|
|
configs/rpi_arm64_defconfig | 1 +
|
2020-08-10 21:23:45 +00:00
|
|
|
configs/rpi_defconfig | 2 +-
|
2023-03-14 17:19:11 +00:00
|
|
|
9 files changed, 9 insertions(+), 6 deletions(-)
|
2018-04-06 15:34:45 +00:00
|
|
|
|
2018-04-17 16:32:44 +00:00
|
|
|
diff --git a/configs/rpi_0_w_defconfig b/configs/rpi_0_w_defconfig
|
2023-03-14 17:19:11 +00:00
|
|
|
index 5249b29d76c..8c217848ca2 100644
|
2018-04-17 16:32:44 +00:00
|
|
|
--- a/configs/rpi_0_w_defconfig
|
|
|
|
+++ b/configs/rpi_0_w_defconfig
|
2023-03-14 17:19:11 +00:00
|
|
|
@@ -23,7 +23,7 @@ CONFIG_CMD_GPIO=y
|
2018-04-17 16:32:44 +00:00
|
|
|
CONFIG_CMD_MMC=y
|
|
|
|
CONFIG_CMD_USB=y
|
2018-12-04 15:40:35 +00:00
|
|
|
CONFIG_CMD_FS_UUID=y
|
2018-04-17 16:32:44 +00:00
|
|
|
-CONFIG_OF_EMBED=y
|
|
|
|
+CONFIG_OF_BOARD=y
|
|
|
|
CONFIG_ENV_FAT_DEVICE_AND_PART="0:1"
|
2020-05-12 22:33:51 +00:00
|
|
|
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
2020-08-10 21:23:45 +00:00
|
|
|
CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG=y
|
2018-04-06 15:34:45 +00:00
|
|
|
diff --git a/configs/rpi_2_defconfig b/configs/rpi_2_defconfig
|
2023-03-14 17:19:11 +00:00
|
|
|
index 154284765f4..bfc5679fb7e 100644
|
2018-04-06 15:34:45 +00:00
|
|
|
--- a/configs/rpi_2_defconfig
|
|
|
|
+++ b/configs/rpi_2_defconfig
|
2023-03-14 17:19:11 +00:00
|
|
|
@@ -24,7 +24,7 @@ CONFIG_CMD_GPIO=y
|
2018-04-06 15:34:45 +00:00
|
|
|
CONFIG_CMD_MMC=y
|
|
|
|
CONFIG_CMD_USB=y
|
2018-12-04 15:40:35 +00:00
|
|
|
CONFIG_CMD_FS_UUID=y
|
2018-04-17 16:32:44 +00:00
|
|
|
-CONFIG_OF_EMBED=y
|
2018-04-06 15:34:45 +00:00
|
|
|
+CONFIG_OF_BOARD=y
|
|
|
|
CONFIG_ENV_FAT_DEVICE_AND_PART="0:1"
|
2020-05-12 22:33:51 +00:00
|
|
|
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
2020-08-10 21:23:45 +00:00
|
|
|
CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG=y
|
2018-04-06 15:34:45 +00:00
|
|
|
diff --git a/configs/rpi_3_32b_defconfig b/configs/rpi_3_32b_defconfig
|
2023-03-14 17:19:11 +00:00
|
|
|
index ef1f25d2ad7..54cdcee980a 100644
|
2018-04-06 15:34:45 +00:00
|
|
|
--- a/configs/rpi_3_32b_defconfig
|
|
|
|
+++ b/configs/rpi_3_32b_defconfig
|
2023-03-14 17:19:11 +00:00
|
|
|
@@ -23,7 +23,7 @@ CONFIG_CMD_GPIO=y
|
2018-04-06 15:34:45 +00:00
|
|
|
CONFIG_CMD_MMC=y
|
|
|
|
CONFIG_CMD_USB=y
|
2018-12-04 15:40:35 +00:00
|
|
|
CONFIG_CMD_FS_UUID=y
|
2018-04-17 16:32:44 +00:00
|
|
|
-CONFIG_OF_EMBED=y
|
2018-04-06 15:34:45 +00:00
|
|
|
+CONFIG_OF_BOARD=y
|
|
|
|
CONFIG_ENV_FAT_DEVICE_AND_PART="0:1"
|
2020-05-12 22:33:51 +00:00
|
|
|
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
2020-08-10 21:23:45 +00:00
|
|
|
CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG=y
|
|
|
|
diff --git a/configs/rpi_3_b_plus_defconfig b/configs/rpi_3_b_plus_defconfig
|
2023-03-14 17:19:11 +00:00
|
|
|
index 154615d78a1..3008c7a1c18 100644
|
2020-08-10 21:23:45 +00:00
|
|
|
--- a/configs/rpi_3_b_plus_defconfig
|
|
|
|
+++ b/configs/rpi_3_b_plus_defconfig
|
2023-03-14 17:19:11 +00:00
|
|
|
@@ -22,7 +22,7 @@ CONFIG_CMD_GPIO=y
|
2020-08-10 21:23:45 +00:00
|
|
|
CONFIG_CMD_MMC=y
|
|
|
|
CONFIG_CMD_USB=y
|
|
|
|
CONFIG_CMD_FS_UUID=y
|
|
|
|
-CONFIG_OF_EMBED=y
|
|
|
|
+CONFIG_OF_BOARD=y
|
|
|
|
CONFIG_ENV_FAT_DEVICE_AND_PART="0:1"
|
|
|
|
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
|
|
|
CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG=y
|
2018-04-06 15:34:45 +00:00
|
|
|
diff --git a/configs/rpi_3_defconfig b/configs/rpi_3_defconfig
|
2023-03-14 17:19:11 +00:00
|
|
|
index f0cf7f8e236..f7b9108ba00 100644
|
2018-04-06 15:34:45 +00:00
|
|
|
--- a/configs/rpi_3_defconfig
|
|
|
|
+++ b/configs/rpi_3_defconfig
|
2023-03-14 17:19:11 +00:00
|
|
|
@@ -22,7 +22,7 @@ CONFIG_CMD_GPIO=y
|
2018-04-17 16:32:44 +00:00
|
|
|
CONFIG_CMD_MMC=y
|
|
|
|
CONFIG_CMD_USB=y
|
2018-12-04 15:40:35 +00:00
|
|
|
CONFIG_CMD_FS_UUID=y
|
2018-04-17 16:32:44 +00:00
|
|
|
-CONFIG_OF_EMBED=y
|
|
|
|
+CONFIG_OF_BOARD=y
|
|
|
|
CONFIG_ENV_FAT_DEVICE_AND_PART="0:1"
|
2020-05-12 22:33:51 +00:00
|
|
|
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
2020-08-10 21:23:45 +00:00
|
|
|
CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG=y
|
2023-03-14 17:19:11 +00:00
|
|
|
diff --git a/configs/rpi_4_32b_defconfig b/configs/rpi_4_32b_defconfig
|
|
|
|
index 713b2ee231c..fa20ab767fe 100644
|
|
|
|
--- a/configs/rpi_4_32b_defconfig
|
|
|
|
+++ b/configs/rpi_4_32b_defconfig
|
|
|
|
@@ -24,6 +24,7 @@ CONFIG_CMD_MMC=y
|
|
|
|
CONFIG_CMD_PCI=y
|
|
|
|
CONFIG_CMD_USB=y
|
|
|
|
CONFIG_CMD_FS_UUID=y
|
|
|
|
+CONFIG_OF_BOARD=y
|
|
|
|
CONFIG_ENV_FAT_DEVICE_AND_PART="0:1"
|
|
|
|
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
|
|
|
CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG=y
|
|
|
|
diff --git a/configs/rpi_4_defconfig b/configs/rpi_4_defconfig
|
|
|
|
index 24f70b14fe8..741d4dbbbf4 100644
|
|
|
|
--- a/configs/rpi_4_defconfig
|
|
|
|
+++ b/configs/rpi_4_defconfig
|
|
|
|
@@ -24,6 +24,7 @@ CONFIG_CMD_MMC=y
|
|
|
|
CONFIG_CMD_PCI=y
|
|
|
|
CONFIG_CMD_USB=y
|
|
|
|
CONFIG_CMD_FS_UUID=y
|
|
|
|
+CONFIG_OF_BOARD=y
|
|
|
|
CONFIG_ENV_FAT_DEVICE_AND_PART="0:1"
|
|
|
|
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
|
|
|
CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG=y
|
|
|
|
diff --git a/configs/rpi_arm64_defconfig b/configs/rpi_arm64_defconfig
|
|
|
|
index 1d1ff12a58c..5e1195dd786 100644
|
|
|
|
--- a/configs/rpi_arm64_defconfig
|
|
|
|
+++ b/configs/rpi_arm64_defconfig
|
|
|
|
@@ -23,6 +23,7 @@ CONFIG_CMD_MMC=y
|
|
|
|
CONFIG_CMD_PCI=y
|
|
|
|
CONFIG_CMD_USB=y
|
|
|
|
CONFIG_CMD_FS_UUID=y
|
|
|
|
+CONFIG_OF_BOARD=y
|
|
|
|
CONFIG_ENV_FAT_DEVICE_AND_PART="0:1"
|
|
|
|
CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG=y
|
|
|
|
CONFIG_TFTP_TSIZE=y
|
2018-04-17 16:32:44 +00:00
|
|
|
diff --git a/configs/rpi_defconfig b/configs/rpi_defconfig
|
2023-03-14 17:19:11 +00:00
|
|
|
index 28b92b14456..1504093eddf 100644
|
2018-04-17 16:32:44 +00:00
|
|
|
--- a/configs/rpi_defconfig
|
|
|
|
+++ b/configs/rpi_defconfig
|
2023-03-14 17:19:11 +00:00
|
|
|
@@ -23,7 +23,7 @@ CONFIG_CMD_GPIO=y
|
2018-04-06 15:34:45 +00:00
|
|
|
CONFIG_CMD_MMC=y
|
|
|
|
CONFIG_CMD_USB=y
|
2018-12-04 15:40:35 +00:00
|
|
|
CONFIG_CMD_FS_UUID=y
|
2018-04-17 16:32:44 +00:00
|
|
|
-CONFIG_OF_EMBED=y
|
2018-04-06 15:34:45 +00:00
|
|
|
+CONFIG_OF_BOARD=y
|
|
|
|
CONFIG_ENV_FAT_DEVICE_AND_PART="0:1"
|
2020-05-12 22:33:51 +00:00
|
|
|
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
2020-08-10 21:23:45 +00:00
|
|
|
CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG=y
|
2018-04-06 15:34:45 +00:00
|
|
|
--
|
2023-03-14 17:19:11 +00:00
|
|
|
2.39.2
|
2018-04-06 15:34:45 +00:00
|
|
|
|