예제 #1
0
파일: serial.c 프로젝트: SayCV/barebox-at91
static int rzx50_console_init(void)
{
	/* Register the serial port */
	jz_add_uart(DEVICE_ID_DYNAMIC, UART1_BASE, 12000000);

	return 0;
}
예제 #2
0
static int rzx50_console_init(void)
{
	barebox_set_model("Ritmix RZX-50");
	barebox_set_hostname("rzx50");

	/* Register the serial port */
	jz_add_uart(DEVICE_ID_DYNAMIC, UART1_BASE, 12000000);

	return 0;
}