Rev 1135 | Rev 1474 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1135 | Rev 1396 | ||
---|---|---|---|
Line 29... | Line 29... | ||
29 | #include <console/console.h> |
29 | #include <console/console.h> |
30 | #include <arch/console.h> |
30 | #include <arch/console.h> |
31 | #include <arch/drivers/arc.h> |
31 | #include <arch/drivers/arc.h> |
32 | #include <arch/drivers/serial.h> |
32 | #include <arch/drivers/serial.h> |
33 | #include <arch/drivers/msim.h> |
33 | #include <arch/drivers/msim.h> |
34 | #include <genarch/fb/fb.h> |
- | |
35 | 34 | ||
36 | void console_init(void) |
35 | void console_init(void) |
37 | { |
36 | { |
38 | if (arc_enabled()) { |
37 | if (arc_enabled()) { |
39 | arc_console(); |
38 | arc_console(); |
40 | } else if (serial_init()) { |
39 | } else if (serial_init()) { |
41 | serial_console(); |
40 | serial_console(); |
42 | } else { |
41 | } else { |
43 | msim_console(); |
42 | msim_console(); |
44 | #ifdef CONFIG_FB |
- | |
45 | fb_init(0xb2000000, 640, 480, 24, 1920); // gxemul framebuffer |
- | |
46 | #endif |
- | |
47 | } |
43 | } |
48 | } |
44 | } |