blob: 91dfe3b2cf896e3273a3ee8c546433348213d1e6 [file] [log] [blame]
Frans Hendriks43b6e2e2019-06-04 13:53:05 +02001/*
2 * This file is part of the coreboot project.
3 *
4 * Copyright (C) 2018-2019 Eltan B.V.
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; version 2 of the License.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 */
15
16#include <soc/ramstage.h>
17#include "mainboard.h"
18
19void mainboard_silicon_init_params(SILICON_INIT_UPD *params)
20{
21 if (CONFIG(FSP1_1_DISPLAY_LOGO)) {
22 size_t logo_len;
23 void *logo = NULL;
24
25 logo = load_logo(&logo_len);
26
27 if (logo) {
28 params->PcdLogoPtr = (u32)logo;
29 params->PcdLogoSize = logo_len;
30 }
31 }
32}