mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-01 08:59:33 +00:00
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>
This commit is contained in:
parent
760d1afdcc
commit
0fc4aad404
1 changed files with 4 additions and 0 deletions
|
@ -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");
|
||||
|
|
Loading…
Reference in a new issue