aboutsummaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2021-11-19 13:23:51 -0700
committerAnatolij Gustschin <agust@denx.de>2021-12-26 23:02:19 +0100
commit6a19e938f8ea086ae2da8e7bc304522c80e895d3 (patch)
tree349e27a14c12656245261cdf472325795d826494 /drivers
parent8657ad43f353386be5fb6a517650322e804c98b4 (diff)
downloadu-boot-6a19e938f8ea086ae2da8e7bc304522c80e895d3.zip
u-boot-6a19e938f8ea086ae2da8e7bc304522c80e895d3.tar.gz
u-boot-6a19e938f8ea086ae2da8e7bc304522c80e895d3.tar.bz2
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/video/video-uclass.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/video/video-uclass.c b/drivers/video/video-uclass.c
index 43ebb3c..bab2a03 100644
--- a/drivers/video/video-uclass.c
+++ b/drivers/video/video-uclass.c
@@ -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) {
#ifdef DEBUG
- char str[80];
+ char str[120];
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);
console_puts_select_stderr(true, str);
#endif