diff options
author | Vladimir Serbinenko <phcoder@gmail.com> | 2013-03-30 12:15:12 +0100 |
---|---|---|
committer | Ronald G. Minnich <rminnich@gmail.com> | 2013-04-09 23:52:36 +0200 |
commit | f4a0d019fa07a0d867a23b36673ff300cdefce6c (patch) | |
tree | a20e02abbe6ae5bf15454963e4e035610fa7639f /src/device | |
parent | 33e83caff59f7b6ff2ba62d3b496235ef5c4e543 (diff) |
util/cbmem: Don't output trailing garbage for cbmemc
Current code outputs the whole cbmemc buffer even if only part of
it is really used. Fix it to output only the used part and notify
the user if the buffer was too small for the required data.
Change-Id: I68c1970cf84d49b2d7d6007dae0679d7a7a0cb99
Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com>
Reviewed-on: http://review.coreboot.org/2991
Tested-by: build bot (Jenkins)
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Diffstat (limited to 'src/device')
0 files changed, 0 insertions, 0 deletions