commit | 031bbb4cb135ee88888e46ca51c0bded23caf94a | [log] [tgz] |
---|---|---|
author | John Newlin <jnewlin@google.com> | Wed Mar 30 09:01:01 2016 -0700 |
committer | John Newlin <jnewlin@google.com> | Tue Jun 21 10:57:56 2016 -0700 |
tree | 057aecd4a666b64469051dd5d725b3ed236e1fac | |
parent | e8072e8ad2310dbe29c553adc9fc672b71492338 [diff] |
Patch from broadcom When updating the default reservation code to handle reserved-memory[1] DT entries in addition to memreserve, I made an off-by-one error when checking for the unhandled 'split region' case and could also set the incorrect size for memreserve at the end of a region. Fix that, simplify the logic a bit, and add some (hopefully) clarifying comments. Change-Id: Icc68a5023387c5336f52559514377e818421d2cf