dm: core: Update ofnode to read binman-style flash entry
authorSimon Glass <sjg@chromium.org>
Mon, 1 Oct 2018 18:22:08 +0000 (12:22 -0600)
committerSimon Glass <sjg@chromium.org>
Tue, 9 Oct 2018 10:40:27 +0000 (04:40 -0600)
commite6c5c94a79d9e1dd20f869a3169bf2be00d53d14
tree658f9ce8514a3217360cc91bff053359e3583964
parentcdb6aa0afb52da34306c4339f2f4d6cbd3b0ad02
dm: core: Update ofnode to read binman-style flash entry

At present ofnode_read_fmap_entry() reads a flash map entry in a format
which is not supported by binman. To allow use to use binman-format
descriptions, update this function.

Also add a simple test.

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/sandbox/dts/sandbox.dts
arch/sandbox/dts/sandbox64.dts
arch/sandbox/dts/test.dts
drivers/core/of_extra.c
drivers/misc/cros_ec.c
include/dm/of_extra.h
test/dm/ofnode.c