upstream: fdtput: Add -p option to create subnodes along entire path

This option mimics mkdir's -p option. It automatically creates nodes
as needed along the path provided. If the node already exists, no
error is given.

Signed-off-by: Simon Glass <sjg@chromium.org>
(cherry picked from commit f807af192828222dee7a5c9f94d999673bb4d8a1)

Change-Id: Iedaa4ff22cde214f2272fcf082fbbb20bdac6a95
2 files changed