]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
call fdt_update_native_fb_mode() only from ft_board_setup
authorLothar Waßmann <LW@KARO-electronics.de>
Fri, 11 Oct 2013 10:51:10 +0000 (12:51 +0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 11 Oct 2013 10:51:10 +0000 (12:51 +0200)
board/karo/common/fdt.c

index 63fd2fe5c509ef90e769aa5253676e15ba73d286..b0c828324bbd6a887f6536ed36c76d70f10eb7f2 100644 (file)
@@ -421,8 +421,7 @@ int karo_fdt_get_fb_mode(void *blob, const char *name, struct fb_videomode *fb_m
                }
        }
        if (off > 0) {
-               fdt_init_fb_mode(blob, off, fb_mode);
-               return fdt_update_native_fb_mode(blob, off);
+               return fdt_init_fb_mode(blob, off, fb_mode);
        }
        return -EINVAL;
 }
@@ -519,8 +518,6 @@ int karo_fdt_create_fb_mode(void *blob, const char *name,
        if (ret)
                goto out;
 
-       return fdt_update_native_fb_mode(blob, off);
-
 out:
        karo_set_fdtsize(blob);
        return ret;