Frans Hendriks | 43b6e2e | 2019-06-04 13:53:05 +0200 | [diff] [blame^] | 1 | /* |
| 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 | |
| 19 | void 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 | } |