Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
Wenyou Yang | 857ad80 | 2017-09-13 14:58:46 +0800 | [diff] [blame] | 2 | /* |
| 3 | * Copyright (C) 2016 Microchip |
| 4 | * Wenyou.Yang <wenyou.yang@microchip.com> |
Wenyou Yang | 857ad80 | 2017-09-13 14:58:46 +0800 | [diff] [blame] | 5 | */ |
| 6 | |
| 7 | #include <common.h> |
| 8 | #include <atmel_lcd.h> |
| 9 | |
| 10 | #include "atmel_logo_8bpp.h" |
| 11 | #include "microchip_logo_8bpp.h" |
| 12 | |
| 13 | void atmel_logo_info(vidinfo_t *info) |
| 14 | { |
| 15 | info->logo_width = ATMEL_LOGO_8BPP_WIDTH; |
| 16 | info->logo_height = ATMEL_LOGO_8BPP_HEIGHT; |
| 17 | info->logo_x_offset = ATMEL_LOGO_8BPP_X_OFFSET; |
| 18 | info->logo_y_offset = ATMEL_LOGO_8BPP_X_OFFSET; |
| 19 | info->logo_addr = (u_long)atmel_logo_8bpp; |
| 20 | } |
| 21 | |
| 22 | void microchip_logo_info(vidinfo_t *info) |
| 23 | { |
| 24 | info->logo_width = MICROCHIP_LOGO_8BPP_WIDTH; |
| 25 | info->logo_height = MICROCHIP_LOGO_8BPP_HEIGHT; |
| 26 | info->logo_x_offset = MICROCHIP_LOGO_8BPP_X_OFFSET; |
| 27 | info->logo_y_offset = MICROCHIP_LOGO_8BPP_X_OFFSET; |
| 28 | info->logo_addr = (u_long)microchip_logo_8bpp; |
| 29 | } |