Rev 606 | Rev 837 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 606 | Rev 836 | ||
---|---|---|---|
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 <fb/fb.h> |
|
34 | 35 | ||
35 | void console_init(void) |
36 | void console_init(void) |
36 | { |
37 | { |
37 | if (arc_enabled()) { |
38 | if (arc_enabled()) { |
38 | arc_console(); |
39 | arc_console(); |
39 | } else if (serial_init()) { |
40 | } else if (serial_init()) { |
40 | serial_console(); |
41 | serial_console(); |
41 | } else |
42 | } else |
42 | msim_console(); |
43 | msim_console(); |
- | 44 | #ifdef CONFIG_FB |
|
- | 45 | fb_init(0xb2000000, 640, 480); |
|
- | 46 | #endif |
|
43 | } |
47 | } |