summaryrefslogtreecommitdiff
path: root/drivers/fpga/sandbox.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2022-09-06 20:27:25 -0600
committerTom Rini <trini@konsulko.com>2022-09-29 22:43:43 -0400
commit41b65d68ec324d9c75dcfe6e1b34fef077b4b87a (patch)
treeb13489945c63cc85fbeb5ca03382524eeed8e8af /drivers/fpga/sandbox.c
parentb7bd94f1a8a63cd4f947036e0d42ee2e23852d64 (diff)
dm: core: Add definitions for multiple ofnode trees
At present, unless OF_LIVE is enabled, ofnode only supports access to one device tree, the control FDT. This is because only the node offset is encoded in ofnode, with the tree being implicit. This makes ofnode (without OF_LIVE) unsuitable for device tree fixups, as implemented by ft_board_setup() and other such functions. To solve this, we can use the top bits of the node offset to hold a tree ID. Add the definitions for this. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/fpga/sandbox.c')
0 files changed, 0 insertions, 0 deletions