the following patch was just integrated into master:
Author: Kyösti Mälkki <kyosti.malkki(a)gmail.com>
Date: Wed Nov 27 17:51:31 2013 +0200
CBMEM console: Prevent buffer overrun
Make sure memcpy target and a possible message telling log was truncated
stay within the allocated region for CBMEM console.
This fixes observed CBMEM corruption on platforms that do not use CBMEM
console during romstage. Those platforms will need an additional fix to
reset cursor position to zero on s3 resume.
Signed-off-by: Kyösti Mälkki <kyosti.malkki(a)gmail.com>