startup: Prettyify video depth dump

Use the right unit. for rgb10x2, this prints "30bpp" instead of "0x1E".

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
This commit is contained in:
Alyssa Rosenzweig 2021-07-25 21:02:23 -04:00 committed by Hector Martin
parent 63e8d0d48e
commit a52330809b

View file

@ -59,7 +59,7 @@ void dump_boot_args(struct boot_args *ba)
printf(" stride: 0x%lx\n", ba->video.stride);
printf(" width: %lu\n", ba->video.width);
printf(" height: %lu\n", ba->video.height);
printf(" depth: 0x%lx\n", ba->video.depth);
printf(" depth: %lubpp\n", ba->video.depth);
printf(" machine_type: %d\n", ba->machine_type);
printf(" devtree: %p\n", ba->devtree);
printf(" devtree_size: 0x%x\n", ba->devtree_size);