paul@82 | 1 | /* |
paul@82 | 2 | * LCD device support for the MIPS Creator CI20. |
paul@82 | 3 | * |
paul@153 | 4 | * Copyright (C) 2018, 2020, 2023 Paul Boddie <paul@boddie.org.uk> |
paul@82 | 5 | * |
paul@82 | 6 | * This program is free software; you can redistribute it and/or |
paul@82 | 7 | * modify it under the terms of the GNU General Public License as |
paul@82 | 8 | * published by the Free Software Foundation; either version 2 of |
paul@82 | 9 | * the License, or (at your option) any later version. |
paul@82 | 10 | * |
paul@82 | 11 | * This program is distributed in the hope that it will be useful, |
paul@82 | 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
paul@82 | 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
paul@82 | 14 | * GNU General Public License for more details. |
paul@82 | 15 | * |
paul@82 | 16 | * You should have received a copy of the GNU General Public License |
paul@82 | 17 | * along with this program; if not, write to the Free Software |
paul@82 | 18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, |
paul@82 | 19 | * Boston, MA 02110-1301, USA |
paul@82 | 20 | */ |
paul@82 | 21 | |
paul@82 | 22 | #pragma once |
paul@82 | 23 | |
paul@153 | 24 | #include <l4/devices/lcd-jz4740-device.h> |
paul@82 | 25 | |
paul@82 | 26 | #ifdef __cplusplus |
paul@82 | 27 | |
paul@82 | 28 | class Lcd_ci20 : public Lcd_jz4740_device |
paul@82 | 29 | { |
paul@82 | 30 | public: |
paul@82 | 31 | /* Inherit constructor. */ |
paul@82 | 32 | |
paul@82 | 33 | Lcd_ci20(Lcd_chip *chip, L4::Cap<Display_device_interface> display) |
paul@82 | 34 | : Lcd_jz4740_device(chip, display) |
paul@82 | 35 | { |
paul@82 | 36 | } |
paul@82 | 37 | |
paul@82 | 38 | /* Common device instance. */ |
paul@82 | 39 | |
paul@82 | 40 | static Lcd_ci20 *device; |
paul@82 | 41 | }; |
paul@82 | 42 | |
paul@82 | 43 | #endif |