[stage2] Remove printk, introduce UTF-8 console stdio

This commit is contained in:
TuxSH
2018-05-05 23:55:40 +02:00
parent 02217bde55
commit 8648cac77b
15 changed files with 246 additions and 149 deletions

View File

@@ -3,8 +3,8 @@
* ~ktemkin
*/
#include <stdio.h>
#include "supplies.h"
#include "lib/printk.h"
// FIXME: replace hwinit with our own code
#include "hwinit/max7762x.h"
@@ -23,7 +23,7 @@ void supply_enable(enum switch_power_supply supply)
return;
default:
printk("ERROR: could not enable unknown supply %d!\n", supply);
printf("ERROR: could not enable unknown supply %d!\n", supply);
return;
}
}