Skip to content
Snippets Groups Projects
Commit d330e04d authored by Wenyou Yang's avatar Wenyou Yang Committed by Tom Rini
Browse files

lib: at91: Add logo files used via API of DM_VIDEO


In order to display the company's logo via the API of DM_VIDEO,
and add the logo files of both Atmel and Microchip.

Signed-off-by: default avatarWenyou Yang <wenyou.yang@microchip.com>
Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
parent 56246d1e
No related branches found
No related tags found
No related merge requests found
......@@ -43,6 +43,15 @@ typedef struct vidinfo {
u_long vl_lower_margin; /* Time from picture to sync */
u_long mmio; /* Memory mapped registers */
u_int logo_width;
u_int logo_height;
int logo_x_offset;
int logo_y_offset;
u_long logo_addr;
} vidinfo_t;
void atmel_logo_info(vidinfo_t *info);
void microchip_logo_info(vidinfo_t *info);
#endif
......@@ -16,6 +16,7 @@ obj-$(CONFIG_TIZEN) += tizen/
obj-$(CONFIG_FIT) += libfdt/
obj-$(CONFIG_OF_LIVE) += of_live.o
obj-$(CONFIG_CMD_DHRYSTONE) += dhry/
obj-$(CONFIG_ARCH_AT91) += at91/
obj-$(CONFIG_AES) += aes.o
obj-y += charset.o
......
#
# Copyright (C) 2017 Microchip
# Wenyou.Yang <wenyou.yang@microchip.com>
#
# SPDX-License-Identifier: GPL-2.0+
#
obj-$(CONFIG_ARCH_AT91) += at91.o
/*
* Copyright (C) 2016 Microchip
* Wenyou.Yang <wenyou.yang@microchip.com>
*
* SPDX-License-Identifier: GPL-2.0+
*/
#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;
}
This diff is collapsed.
This diff is collapsed.
tools/logos/microchip.bmp

12.4 KiB

0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment