mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-08-25 08:31:28 +02:00
video: Expand video debugging buffer size
On sandbox these addresses are 16 hex digits log so we need more space for the debug string. Update it. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
8657ad43f3
commit
6a19e938f8
@ -279,10 +279,10 @@ int video_sync_copy(struct udevice *dev, void *from, void *to)
|
|||||||
*/
|
*/
|
||||||
if (offset < -priv->fb_size || offset > 2 * priv->fb_size) {
|
if (offset < -priv->fb_size || offset > 2 * priv->fb_size) {
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
char str[80];
|
char str[120];
|
||||||
|
|
||||||
snprintf(str, sizeof(str),
|
snprintf(str, sizeof(str),
|
||||||
"[sync_copy fb=%p, from=%p, to=%p, offset=%lx]",
|
"[** FAULT sync_copy fb=%p, from=%p, to=%p, offset=%lx]",
|
||||||
priv->fb, from, to, offset);
|
priv->fb, from, to, offset);
|
||||||
console_puts_select_stderr(true, str);
|
console_puts_select_stderr(true, str);
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user