diff options
author | Adam Ford <aford173@gmail.com> | 2016-10-23 07:39:01 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-10-31 10:13:16 -0400 |
commit | 0fc4aad404d62f7e32ccb9d727efef20b45ea4b9 (patch) | |
tree | 86a36e4eaf24cd3d7fa75638ecd802ac00bbf86d | |
parent | 760d1afdcc1b020b4212ba6af6075278abd972d0 (diff) | |
download | u-boot-imx-0fc4aad404d62f7e32ccb9d727efef20b45ea4b9.zip u-boot-imx-0fc4aad404d62f7e32ccb9d727efef20b45ea4b9.tar.gz u-boot-imx-0fc4aad404d62f7e32ccb9d727efef20b45ea4b9.tar.bz2 |
omap3logic: Fix Auto detect Logic PD Models
The autodetect feature doesn't allow users to specify the device tree.
This fix will make it only autodetect if 'fdtimage' is not defined.
Signed-off-by: Adam Ford <aford173@gmail.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
-rw-r--r-- | board/logicpd/omap3som/omap3logic.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/board/logicpd/omap3som/omap3logic.c b/board/logicpd/omap3som/omap3logic.c index 3ddeb46..de6a060 100644 --- a/board/logicpd/omap3som/omap3logic.c +++ b/board/logicpd/omap3som/omap3logic.c @@ -219,6 +219,10 @@ int board_init(void) #ifdef CONFIG_BOARD_LATE_INIT int board_late_init(void) { + /* If we do not have an fdtimage, let's autodetect it*/ + if (getenv("fdtimage")) + return 0; + switch (gd->bd->bi_arch_number) { case MACH_TYPE_DM3730_TORPEDO: setenv("fdtimage", "logicpd-torpedo-37xx-devkit.dtb"); |