.
common/console.c
1 /* Called before relocation - use serial functions */
2 int console_init_f(void)
3 {
4 gd->have_console = 1;
5
6 console_update_silent();
7
8 print_pre_console_buffer(PRE_CONSOLE_FLUSHPOINT1_SERIAL);
9
10 return 0;
11 }
- 6번 줄의
console_update_silent
함수는 함수내부에서CONFIG_SILENT_CONSOLE
가 정의되어 있지 않아 아무런 역할을 수행하지 않습니다. - 8번 줄의
print_pre_console_buffer
함수는 함수가 정의된 부분에서PRE_CONSOLE_BUFFER
가 enable되어 있지 않아 아무런 역할을 하지 않습니다. - 결국 4번 줄의
gd->have_console = 1;
만 수행하고 종료합니다.