util/cbmem: remove duplicated cbmem data structure logic.
commit09c0c114e6646be978a85e3266e0c8ae1241119f
authorAaron Durbin <adurbin@chromium.org>
Wed, 30 Sep 2015 17:33:01 +0000 (30 12:33 -0500)
committerAaron Durbin <adurbin@chromium.org>
Tue, 3 Nov 2015 23:04:17 +0000 (4 00:04 +0100)
treed3eb5d4330d4a48e0de637f76513d893af89b982
parent82cb7875ff13e97c57d83deabd6350d2a5186ee7
util/cbmem: remove duplicated cbmem data structure logic.

The cbmem utility shouldn't be using the intra coreboot
data structures for obtaining the produced data/information.
Instead use the newly added cbmem records in the coreboot
tables for pulling out the data one wants by using the
generic indexing of coreboot table entries.

BUG=chrome-os-partner:43731
BRANCH=None
TEST=Interrogated cbmem table of contents with updated code.

Change-Id: I51bca7d34baf3b3a856cd5e585c8d5e3d8af1d1c
Reviewed-on: http://review.coreboot.org/11758
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
util/cbmem/cbmem.c