cros_ec: Add a function for reading a flash map entry
authorSimon Glass <sjg@chromium.org>
Thu, 27 Feb 2014 20:26:01 +0000 (13:26 -0700)
committerSimon Glass <sjg@chromium.org>
Tue, 18 Mar 2014 02:05:46 +0000 (20:05 -0600)
commit006e73b9cafde9287912c4699091f3b1f07d3f97
tree02b5a8fbde25e8ae45112b7a82f7eb005c530232
parentcecb19c03f5a7abed2e8ff691bc849bdc3c4ed2c
cros_ec: Add a function for reading a flash map entry

A flash map describes the layout of flash memory in terms of offsets and
sizes for each region. Add a function to read a flash map entry from the
device tree.

Reviewed-by: Che-Liang Chiou <clchiou@chromium.org>
Signed-off-by: Simon Glass <sjg@chromium.org>
include/fdtdec.h
lib/fdtdec.c