From af1a266670d040d2f4083ff309d732d648afba2a Mon Sep 17 00:00:00 2001 From: Angelos Mouzakitis Date: Tue, 10 Oct 2023 14:33:42 +0000 Subject: Add submodule dependency files Change-Id: Iaf8d18082d3991dec7c0ebbea540f092188eb4ec --- roms/u-boot/lib/at91/at91.c | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 roms/u-boot/lib/at91/at91.c (limited to 'roms/u-boot/lib/at91/at91.c') diff --git a/roms/u-boot/lib/at91/at91.c b/roms/u-boot/lib/at91/at91.c new file mode 100644 index 000000000..048597690 --- /dev/null +++ b/roms/u-boot/lib/at91/at91.c @@ -0,0 +1,29 @@ +// SPDX-License-Identifier: GPL-2.0+ +/* + * Copyright (C) 2016 Microchip + * Wenyou.Yang + */ + +#include +#include + +#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; +} -- cgit