Changeset b7068da in mainline for kernel/genarch/src/fb/bfb.c
- Timestamp:
- 2012-02-09T20:35:12Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 591762c6
- Parents:
- 7cede12c (diff), 3d4750f (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. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/genarch/src/fb/bfb.c
r7cede12c rb7068da 40 40 #include <console/console.h> 41 41 42 uintptr_t bfb_addr = (uintptr_t) -1;42 uintptr_t bfb_addr = 0; 43 43 uint32_t bfb_width = 0; 44 44 uint32_t bfb_height = 0; … … 57 57 bool bfb_init(void) 58 58 { 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)) 60 61 return false; 61 62
Note:
See TracChangeset
for help on using the changeset viewer.