blob: fe0152dc34607479fec28163a976ad699d5bc182 [file] [log] [blame]
Peichao Wang1d5fc282019-07-23 11:42:49 +08001/*
2 * This file is part of the coreboot project.
3 *
4 * Copyright 2019 Bitland Tech Inc.
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; version 2 of the License.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 */
15
16#include "panel.h"
17
Hung-Te Lin9ede2ff2019-08-15 09:43:55 +080018static struct panel_description kodama_panels[] = {
19 [2] = { .name = "BOE_TV101WUM_N53", },
Peichao Wang1d5fc282019-07-23 11:42:49 +080020};
21
22struct panel_description *get_panel_description(int panel_id)
23{
24 if (panel_id < 0 || panel_id >= ARRAY_SIZE(kodama_panels))
25 return NULL;
Hung-Te Lin9ede2ff2019-08-15 09:43:55 +080026
27 return get_panel_from_cbfs(&kodama_panels[panel_id]);
Peichao Wang1d5fc282019-07-23 11:42:49 +080028}