X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=lib%2Ffdtdec.c;h=c072e54cffa6f9c3ac1955d806bb809f45d024f8;hb=237868c9c08db051ec123ff7c3317ff35c2bf2de;hp=94372cc6cd5a08023c46a2fb21ff46e2c2420847;hpb=e11b5e8d6ef72f2e83e680d132a0617a4540f0aa;p=u-boot diff --git a/lib/fdtdec.c b/lib/fdtdec.c index 94372cc6cd..c072e54cff 100644 --- a/lib/fdtdec.c +++ b/lib/fdtdec.c @@ -1255,6 +1255,9 @@ int fdtdec_setup(void) /* FDT is at end of image */ gd->fdt_blob = (ulong *)&_end; # endif +# elif defined(CONFIG_OF_BOARD) + /* Allow the board to override the fdt address. */ + gd->fdt_blob = board_fdt_blob_setup(); # elif defined(CONFIG_OF_HOSTFILE) if (sandbox_read_fdt_from_file()) { puts("Failed to read control FDT\n");