]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
rpi: use constant "unknown board" DT filename
authorStephen Warren <swarren@wwwdotorg.org>
Fri, 25 Mar 2016 04:15:17 +0000 (22:15 -0600)
committerTom Rini <trini@konsulko.com>
Fri, 1 Apr 2016 21:17:42 +0000 (17:17 -0400)
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@wwwdotorg.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
board/raspberrypi/rpi/rpi.c

index 1fd7591f3325d9192923aff972dec85812c32ec1..54ea4a814b54107f6cc97ca4107c4d53a46722f6 100644 (file)
@@ -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,
 };