diff options
author | thead_admin <occ_thead@service.alibaba.com> | 2022-09-13 11:04:33 +0800 |
---|---|---|
committer | thead_admin <occ_thead@service.alibaba.com> | 2022-09-13 11:04:33 +0800 |
commit | 43db9e00d5837c100c0b2fbbee64a08ab807d1e0 (patch) | |
tree | b40c0eed02935b6682e8c5c975e3016b6b2f55fe /lib/at91/at91.c |
Linux_SDK_V0.9.5Linux_SDK_V0.9.5
Diffstat (limited to 'lib/at91/at91.c')
-rw-r--r-- | lib/at91/at91.c | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/lib/at91/at91.c b/lib/at91/at91.c new file mode 100644 index 00000000..04859769 --- /dev/null +++ b/lib/at91/at91.c @@ -0,0 +1,29 @@ +// SPDX-License-Identifier: GPL-2.0+ +/* + * Copyright (C) 2016 Microchip + * Wenyou.Yang <wenyou.yang@microchip.com> + */ + +#include <common.h> +#include <atmel_lcd.h> + +#include "atmel_logo_8bpp.h" +#include "microchip_logo_8bpp.h" + +void atmel_logo_info(vidinfo_t *info) +{ + info->logo_width = ATMEL_LOGO_8BPP_WIDTH; + info->logo_height = ATMEL_LOGO_8BPP_HEIGHT; + info->logo_x_offset = ATMEL_LOGO_8BPP_X_OFFSET; + info->logo_y_offset = ATMEL_LOGO_8BPP_X_OFFSET; + info->logo_addr = (u_long)atmel_logo_8bpp; +} + +void microchip_logo_info(vidinfo_t *info) +{ + info->logo_width = MICROCHIP_LOGO_8BPP_WIDTH; + info->logo_height = MICROCHIP_LOGO_8BPP_HEIGHT; + info->logo_x_offset = MICROCHIP_LOGO_8BPP_X_OFFSET; + info->logo_y_offset = MICROCHIP_LOGO_8BPP_X_OFFSET; + info->logo_addr = (u_long)microchip_logo_8bpp; +} |