blob: 840e778a4a9921784827084a58be8f6692314311 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
// See LICENSE for license details.
#include "femto.h"
auxval_t __auxv[] = {
{ UART0_CLOCK_FREQ, 32000000 },
{ UART0_BAUD_RATE, 115200 },
{ SIFIVE_UART0_CTRL_ADDR, 0x10013000 },
{ SIFIVE_TEST_CTRL_ADDR, 0x100000 },
{ 0, 0 }
};
void arch_setup()
{
register_console(&console_sifive_uart);
register_poweroff(&poweroff_sifive_test);
}
|