From: Lothar Waßmann Date: Thu, 6 Mar 2014 11:15:54 +0000 (+0100) Subject: karo: tx48: resize fdt in ft_board_setup() X-Git-Tag: KARO-TX6-2014-03-07~3 X-Git-Url: https://git.kernelconcepts.de/?a=commitdiff_plain;h=cf29d39d99730be4440df131519653f30784827f;p=karo-tx-uboot.git karo: tx48: resize fdt in ft_board_setup() --- diff --git a/board/karo/tx48/tx48.c b/board/karo/tx48/tx48.c index e59aa16289..7c39056324 100644 --- a/board/karo/tx48/tx48.c +++ b/board/karo/tx48/tx48.c @@ -1079,6 +1079,11 @@ void ft_board_setup(void *blob, bd_t *bd) const char *baseboard = getenv("baseboard"); int stk5_v5 = baseboard != NULL && (strcmp(baseboard, "stk5-v5") == 0); 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);