disable forgotten test code

This commit is contained in:
Markus Fröschle
2016-09-18 08:51:17 +00:00
parent a0a6a36e0c
commit 3f74be9639
3 changed files with 21 additions and 12 deletions

View File

@@ -344,13 +344,19 @@ void video_init(void)
radeon_found = true;
dbg("matched\r\n");
if (radeonfb_pci_register(handle, board) >= 0)
xprintf("not registering RADEON card\r\n");
if (0)
{
xprintf("RADEON video card found and registered\r\n");
}
else
{
dbg("failed to register RADEON PCI video card\r\n");
if (radeonfb_pci_register(handle, board) >= 0)
{
xprintf("RADEON video card found and registered\r\n");
}
else
{
dbg("failed to register RADEON PCI video card\r\n");
}
}
return;
}