[PATCH v3 04/10] of: overlay: make search dir/path more generic

Sascha Hauer s.hauer at pengutronix.de
Mon Jul 15 02:48:42 PDT 2024


On Wed, Jul 03, 2024 at 06:58:32PM +0200, Marco Felsch wrote:
> In preparation of adding support for FIT image overlay handling the
> global.of.overlay.dir can be reused if we rename it to a more generic
> global.of.overlay.path since it does not imply an directory.
> 
> This commit adds the ground work by deprecating the old
> global.of.overlay.dir and moving the directory handling into a separate
> of_overlay_global_fixup_dir() helper.
> 
> No functional change.
> 
> Signed-off-by: Marco Felsch <m.felsch at pengutronix.de>
> ---
>  drivers/of/overlay.c | 22 ++++++++++++++--------
>  1 file changed, 14 insertions(+), 8 deletions(-)

This also needs Documentation/user/devicetree.rst to be updated.

Sascha

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list