Rev 3343 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3343 | Rev 3742 | ||
---|---|---|---|
Line 124... | Line 124... | ||
124 | { |
124 | { |
125 | interrupt_init(); |
125 | interrupt_init(); |
126 | console_init(device_assign_devno()); |
126 | console_init(device_assign_devno()); |
127 | #ifdef CONFIG_FB |
127 | #ifdef CONFIG_FB |
128 | /* GXemul framebuffer */ |
128 | /* GXemul framebuffer */ |
- | 129 | fb_properties_t gxemul_prop = { |
|
- | 130 | .addr = 0x12000000, |
|
- | 131 | .offset = 0, |
|
- | 132 | .x = 640, |
|
- | 133 | .y = 480, |
|
- | 134 | .scan = 1920, |
|
129 | fb_init(0x12000000, 640, 480, 1920, VISUAL_RGB_8_8_8); |
135 | .visual = VISUAL_RGB_8_8_8, |
- | 136 | }; |
|
- | 137 | fb_init(&gxemul_prop); |
|
130 | #endif |
138 | #endif |
131 | sysinfo_set_item_val("machine." STRING(MACHINE), NULL, 1); |
139 | sysinfo_set_item_val("machine." STRING(MACHINE), NULL, 1); |
132 | } |
140 | } |
133 | 141 | ||
134 | void arch_post_cpu_init(void) |
142 | void arch_post_cpu_init(void) |