summaryrefslogtreecommitdiffstats
path: root/board
diff options
context:
space:
mode:
authorStephen Warren <swarren@wwwdotorg.org>2016-03-24 22:15:17 -0600
committerTom Rini <trini@konsulko.com>2016-04-01 17:17:42 -0400
commit29937caab33274251542c308e69678433cdd7348 (patch)
tree805f0540e63d5a420b1411cf09effb6d38f4cb3f /board
parentadb91ec72b85e1e50e5593828732174576e19d44 (diff)
downloadtalos-obmc-uboot-29937caab33274251542c308e69678433cdd7348.tar.gz
talos-obmc-uboot-29937caab33274251542c308e69678433cdd7348.zip
rpi: use constant "unknown board" DT filename
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>
Diffstat (limited to 'board')
-rw-r--r--board/raspberrypi/rpi/rpi.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/board/raspberrypi/rpi/rpi.c b/board/raspberrypi/rpi/rpi.c
index 1fd7591f33..54ea4a814b 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,
};
OpenPOWER on IntegriCloud