Rev 1898 | Rev 1994 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1898 | Rev 1986 | ||
---|---|---|---|
Line 121... | Line 121... | ||
121 | else |
121 | else |
122 | fb_scanline = fb_linebytes * (fb_depth >> 3); |
122 | fb_scanline = fb_linebytes * (fb_depth >> 3); |
123 | 123 | ||
124 | break; |
124 | break; |
125 | case SCR_FFB: |
125 | case SCR_FFB: |
126 | fb_depth = 24; |
126 | fb_depth = 32; |
127 | fb_scanline = 8192; |
127 | fb_scanline = 8192; |
128 | 128 | ||
129 | ofw_upa_reg_t *reg = &((ofw_upa_reg_t *) prop->value)[FFB_REG_24BPP]; |
129 | ofw_upa_reg_t *reg = &((ofw_upa_reg_t *) prop->value)[FFB_REG_24BPP]; |
130 | if (!ofw_upa_apply_ranges(node->parent, reg, &fb_addr)) { |
130 | if (!ofw_upa_apply_ranges(node->parent, reg, &fb_addr)) { |
131 | printf("Failed to determine screen address.\n"); |
131 | printf("Failed to determine screen address.\n"); |