]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/karo/tx51/tx51.c
karo: tx51: resize fdt in ft_board_setup()
[karo-tx-uboot.git] / board / karo / tx51 / tx51.c
index b2f08ef79a8b2a0807964a669d388249c4808350..613eecc3d48bf4751608f2be89d08b68bfca71ec 100644 (file)
@@ -1103,6 +1103,11 @@ static const char *tx51_touchpanels[] = {
 void ft_board_setup(void *blob, bd_t *bd)
 {
        const char *video_mode = karo_get_vmode(getenv("video_mode"));
+       int ret;
+
+       ret = fdt_increase_size(blob, 4096);
+       if (ret)
+               printf("Failed to increase FDT size: %s\n", fdt_strerror(ret));
 
        fdt_fixup_mtdparts(blob, nodes, ARRAY_SIZE(nodes));
        fdt_fixup_ethernet(blob);