[U-Boot] [PATCH 2/5] rpi: use constant "unknown board" DT filename

Stephen Warren swarren at wwwdotorg.org
Thu Mar 24 05:54:51 CET 2016


To simplify support for new SoCs, just use a constant filename
for the unknown case. In practice this case shouldn't be hit anyway, so
the filename isn't relevant, and certainly doesn't need to differentiate
between SoCs. If a user has an as-yet-unknown board, they can override
this value in the environment anyway.

Signed-off-by: Stephen Warren <swarren at wwwdotorg.org>
---
 board/raspberrypi/rpi/rpi.c | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/board/raspberrypi/rpi/rpi.c b/board/raspberrypi/rpi/rpi.c
index 1fd7591f3325..54ea4a814b54 100644
--- a/board/raspberrypi/rpi/rpi.c
+++ b/board/raspberrypi/rpi/rpi.c
@@ -99,11 +99,7 @@ struct rpi_model {
 
 static const struct rpi_model rpi_model_unknown = {
 	"Unknown model",
-#ifdef CONFIG_BCM2836
-	"bcm2836-rpi-other.dtb",
-#else
-	"bcm2835-rpi-other.dtb",
-#endif
+	"bcm283x-rpi-other.dtb",
 	false,
 };
 
-- 
2.7.3



More information about the U-Boot mailing list