fdtdec: Add weak function to patch U-Boot DT right after fdtdec_setup()
authorMarek Vasut <marek.vasut+renesas@gmail.com>
Sat, 11 Apr 2020 19:18:59 +0000 (21:18 +0200)
committerMarek Vasut <marek.vasut+renesas@gmail.com>
Wed, 20 May 2020 11:20:19 +0000 (13:20 +0200)
commit0e2afc8368b632ffb195d588ec2315ffbbf0a7e9
tree4b6ba3c1918885df7072308b2436a180d2bd1caf
parentc1bde2378a7673c992783b4c00729a52ba18e830
fdtdec: Add weak function to patch U-Boot DT right after fdtdec_setup()

Add weak function which is called right after fdtdec_setup() configured
the U-Boot DT. This permits board-specific adjustments to the U-Boot DT
before U-Boot starts parsing the DT. This could be used e.g. to patch in
various custom nodes or merge in DT fragments from prior-stage firmware.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Cc: Simon Glass <sjg@chromium.org>
Cc: Tom Rini <trini@konsulko.com>
include/fdtdec.h
lib/fdtdec.c