diff options
author | Aaron Durbin <adurbin@chromium.org> | 2015-05-11 14:19:37 -0500 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2015-05-11 22:39:13 +0200 |
commit | 01562b6cb567dca5440b65250da2580db52b31e8 (patch) | |
tree | 85f714ef488801793ddb1b03199dd3b6d327aeb0 /src/arch | |
parent | 375570e617b04ac967315661098b58231f1dc0cf (diff) |
imd: don't recover on limit == 0
If the limit of the large starting region was set with
a NULL pointer then the limit field will be 0. If the
limit is zero then no attempt to recover is necessary
as there is no region to recover.
This prevented an early call cbmem_find() from hanging a
rambi device. The config was with vboot enabled and was
way before memory init in the sequence.
Change-Id: I7163d93c31ecef2c108a6dde0206dc0b6f158b5c
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: http://review.coreboot.org/10175
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Diffstat (limited to 'src/arch')
0 files changed, 0 insertions, 0 deletions