Changeset 30413b31 in mainline for kernel/genarch/src/fb/bfb.c


Ignore:
Timestamp:
2011-12-10T08:29:44Z (12 years ago)
Author:
Frantisek Princ <frantisek.princ@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
d9f8dd13
Parents:
b8b1e631 (diff), 87955bfb (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge with mainline

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/genarch/src/fb/bfb.c

    rb8b1e631 r30413b31  
    4040#include <console/console.h>
    4141
    42 uintptr_t bfb_addr = (uintptr_t) -1;
     42uintptr_t bfb_addr = 0;
    4343uint32_t bfb_width = 0;
    4444uint32_t bfb_height = 0;
     
    5757bool bfb_init(void)
    5858{
    59         if ((bfb_width == 0) || (bfb_height == 0))
     59        if ((bfb_addr == 0) || (bfb_width == 0) || (bfb_height == 0) ||
     60            (bfb_bpp == 0) || (bfb_scanline == 0))
    6061                return false;
    6162       
Note: See TracChangeset for help on using the changeset viewer.