mirror of
https://github.com/antonblanchard/microwatt.git
synced 2026-05-04 07:19:18 +00:00
console: Cleanup console API
Use a more generic console_init() instead of potato_uart_init(), and do the same for interrupt control. There should be no change in behaviour. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
This commit is contained in:
@@ -228,7 +228,7 @@ void do_test(int num, int (*fn)(unsigned long))
|
||||
|
||||
int main(void)
|
||||
{
|
||||
potato_uart_init();
|
||||
console_init();
|
||||
init_mmu();
|
||||
map(0x2000, 0x2000, REF | CHG | PERM_RD | PERM_EX); /* map code page */
|
||||
map(0x7000, 0x7000, REF | CHG | PERM_RD | PERM_WR); /* map stack page */
|
||||
|
||||
Reference in New Issue
Block a user