dm: core: Update ofnode_read_fmap_entry() to read hashes
authorSimon Glass <sjg@chromium.org>
Thu, 21 Jan 2021 20:57:14 +0000 (13:57 -0700)
committerSimon Glass <sjg@chromium.org>
Sat, 30 Jan 2021 21:25:42 +0000 (14:25 -0700)
commitff5fa7d62655ae6c1873e17057c057566c81df0d
tree978054b14910028705db0efd515b41fc42dd1267
parent017d421828971f6adbfa6a1305b80da7d620c596
dm: core: Update ofnode_read_fmap_entry() to read hashes

At present this function uses the old format for reading hashes. Add
support for the current format.

Add a test while we are here.

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/sandbox/dts/test.dts
drivers/core/of_extra.c
test/dm/Makefile
test/dm/of_extra.c [new file with mode: 0644]