[PATCH1/2] mrc cache: Add MRC cache FMAP entry support.

Add code to retrieve the location of the MRC cache from the FMAP
device tree definition.

fdt_decode.c should be refactored (fmap_offset could be determined
just once and used throughout without passing it as a parameter), will
leave this for another day.

BUG=chrome-os-partner:5808
TEST=manual
  . see test description in the second patch commit message.

Change-Id: Ic4003d685609beb61d1dea324bd804a2838e471c
Signed-off-by: Vadim Bendebury <[email protected]>
Reviewed-on: http://gerrit.chromium.org/gerrit/9961
Reviewed-by: Stefan Reinauer <[email protected]>
Reviewed-by: Duncan Laurie <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
2 files changed
tree: 88db02317c5ae7599deddad7d317c2695d05cd90
  1. board/
  2. common/
  3. include/
  4. lib/