Rev 1993 | Rev 2071 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 1993 | Rev 1994 | ||
|---|---|---|---|
| Line 141... | Line 141... | ||
| 141 | } |
141 | } |
| 142 | 142 | ||
| 143 | break; |
143 | break; |
| 144 | case SCR_FFB: |
144 | case SCR_FFB: |
| 145 | fb_scanline = 8192; |
145 | fb_scanline = 8192; |
| 146 | visual = VISUAL_RGB_0_8_8_8; |
146 | visual = VISUAL_BGR_0_8_8_8; |
| 147 | 147 | ||
| 148 | ofw_upa_reg_t *reg = &((ofw_upa_reg_t *) prop->value)[FFB_REG_24BPP]; |
148 | ofw_upa_reg_t *reg = &((ofw_upa_reg_t *) prop->value)[FFB_REG_24BPP]; |
| 149 | if (!ofw_upa_apply_ranges(node->parent, reg, &fb_addr)) { |
149 | if (!ofw_upa_apply_ranges(node->parent, reg, &fb_addr)) { |
| 150 | printf("Failed to determine screen address.\n"); |
150 | printf("Failed to determine screen address.\n"); |
| 151 | return; |
151 | return; |