On Thu, May 17, 2012 at 11:28:22AM -0700, Colin Cross wrote:
On Thu, May 17, 2012 at 1:40 AM, Anton Vorontsov anton.vorontsov@linaro.org wrote:
This is all straightforward: we just use the last region for console logging. If there's just one region, we fall-back to the old behaviour: just a oops/dumps logging.
Signed-off-by: Anton Vorontsov anton.vorontsov@linaro.org
I don't think using the last region is the right way to handle this. We often use very large regions for ramconsole, up to 2MB. Using a single region would require a 2MB region for console and a 2MB region for oops, which is far too large.
Yeah, I agree. I planned to take care of it later, as this would involve touching more code. But OK, let's do this right away.
Thanks!