Index: kernel/arch/ppc32/src/ppc32.c
===================================================================
--- kernel/arch/ppc32/src/ppc32.c	(revision 3dea17f5a2dc97de65bf1ff23eb43f3621665af4)
+++ kernel/arch/ppc32/src/ppc32.c	(revision 228b13511773d4e4522facc70f00a9efccb1be5e)
@@ -39,4 +39,5 @@
 #include <arch/interrupt.h>
 #include <genarch/fb/fb.h>
+#include <genarch/fb/visuals.h>
 #include <userspace.h>
 #include <proc/uarg.h>
@@ -76,5 +77,23 @@
 	if (config.cpu_active == 1) {
 		/* Initialize framebuffer */
-		fb_init(bootinfo.screen.addr, bootinfo.screen.width, bootinfo.screen.height, bootinfo.screen.bpp, bootinfo.screen.scanline, false);
+		unsigned int visual;
+		
+		switch (bootinfo.screen.bpp) {
+		case 8:
+			visual = VISUAL_INDIRECT_8;
+			break;
+		case 16:
+			visual = VISUAL_RGB_5_5_5;
+			break;
+		case 24:
+			visual = VISUAL_RGB_8_8_8;
+			break;
+		case 32:
+			visual = VISUAL_RGB_0_8_8_8;
+			break;
+		default:
+			panic("Unsupported bits per pixel");
+		}
+		fb_init(bootinfo.screen.addr, bootinfo.screen.width, bootinfo.screen.height, bootinfo.screen.scanline, visual);
 		
 		/* Initialize IRQ routing */
