]> Git Repo - u-boot.git/blame - api/api_display.c
Subtree merge tag 'v6.11-dts' of dts repo [1] into dts/upstream
[u-boot.git] / api / api_display.c
CommitLineData
83d290c5 1// SPDX-License-Identifier: GPL-2.0+
a2a5729f
CLC
2/*
3 * Copyright (c) 2011 The Chromium OS Authors.
a2a5729f
CLC
4 */
5
a2a5729f 6#include <api_public.h>
f7ae49fc 7#include <log.h>
03de305e 8#include <linux/types.h>
a2a5729f
CLC
9
10/* TODO(clchiou): add support of video device */
11
12int display_get_info(int type, struct display_info *di)
13{
14 if (!di)
15 return API_EINVAL;
16
17 switch (type) {
18 default:
19 debug("%s: unsupport display device type: %d\n",
20 __FILE__, type);
21 return API_ENODEV;
a2a5729f
CLC
22 }
23
24 di->type = type;
25 return 0;
26}
27
28int display_draw_bitmap(ulong bitmap, int x, int y)
29{
30 if (!bitmap)
31 return API_EINVAL;
a2a5729f 32 return API_ENODEV;
a2a5729f
CLC
33}
34
35void display_clear(void)
36{
a2a5729f 37}
This page took 0.217399 seconds and 4 git commands to generate.