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