Peichao Wang | 1d5fc28 | 2019-07-23 11:42:49 +0800 | [diff] [blame] | 1 | /* |
| 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 Lin | 9ede2ff | 2019-08-15 09:43:55 +0800 | [diff] [blame^] | 18 | static struct panel_description kodama_panels[] = { |
| 19 | [2] = { .name = "BOE_TV101WUM_N53", }, |
Peichao Wang | 1d5fc28 | 2019-07-23 11:42:49 +0800 | [diff] [blame] | 20 | }; |
| 21 | |
| 22 | struct 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 Lin | 9ede2ff | 2019-08-15 09:43:55 +0800 | [diff] [blame^] | 26 | |
| 27 | return get_panel_from_cbfs(&kodama_panels[panel_id]); |
Peichao Wang | 1d5fc28 | 2019-07-23 11:42:49 +0800 | [diff] [blame] | 28 | } |