mirror of
				https://github.com/smaeul/u-boot.git
				synced 2025-10-26 09:38:14 +00:00 
			
		
		
		
	As part of bringing the master branch back in to next, we need to allow for all of these changes to exist here. Reported-by: Jonas Karlman <jonas@kwiboo.se> Signed-off-by: Tom Rini <trini@konsulko.com>
		
			
				
	
	
		
			38 lines
		
	
	
		
			596 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			38 lines
		
	
	
		
			596 B
		
	
	
	
		
			C
		
	
	
	
	
	
| // SPDX-License-Identifier: GPL-2.0+
 | |
| /*
 | |
|  * Copyright (c) 2011 The Chromium OS Authors.
 | |
|  */
 | |
| 
 | |
| #include <api_public.h>
 | |
| #include <log.h>
 | |
| #include <linux/types.h>
 | |
| 
 | |
| /* TODO(clchiou): add support of video device */
 | |
| 
 | |
| int display_get_info(int type, struct display_info *di)
 | |
| {
 | |
| 	if (!di)
 | |
| 		return API_EINVAL;
 | |
| 
 | |
| 	switch (type) {
 | |
| 	default:
 | |
| 		debug("%s: unsupport display device type: %d\n",
 | |
| 				__FILE__, type);
 | |
| 		return API_ENODEV;
 | |
| 	}
 | |
| 
 | |
| 	di->type = type;
 | |
| 	return 0;
 | |
| }
 | |
| 
 | |
| int display_draw_bitmap(ulong bitmap, int x, int y)
 | |
| {
 | |
| 	if (!bitmap)
 | |
| 		return API_EINVAL;
 | |
| 	return API_ENODEV;
 | |
| }
 | |
| 
 | |
| void display_clear(void)
 | |
| {
 | |
| }
 |