comparison target-utils/c139explore/main.c @ 948:c73516dd50bb

c139explore: delay before greeting printf to work around defect in fc-compalram
author Mychaela Falconia <falcon@ivan.Harhan.ORG>
date Mon, 02 Nov 2015 22:11:06 +0000
parents 845c2e420069
children df1dccc0ef9c
comparison
equal deleted inserted replaced
947:76149e0628ba 948:c73516dd50bb
3 3
4 struct ns16550_regs *uart_base; 4 struct ns16550_regs *uart_base;
5 5
6 main() 6 main()
7 { 7 {
8 /* delay kludge workaround for defect in fc-compalram */
9 osmo_delay_ms(30);
8 uart_base = (struct ns16550_regs *) 0xFFFF5800; 10 uart_base = (struct ns16550_regs *) 0xFFFF5800;
9 printf("C139 hardware exploration utility running\n"); 11 printf("C139 hardware exploration utility running\n");
10 for (;;) { 12 for (;;) {
11 putchar('='); 13 putchar('=');
12 if (command_entry()) 14 if (command_entry())