diff options
Diffstat (limited to 'src/mainboard/google/geralt/mainboard.c')
-rw-r--r-- | src/mainboard/google/geralt/mainboard.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/mainboard/google/geralt/mainboard.c b/src/mainboard/google/geralt/mainboard.c index ddcb1bb000..b2367b6685 100644 --- a/src/mainboard/google/geralt/mainboard.c +++ b/src/mainboard/google/geralt/mainboard.c @@ -1,14 +1,23 @@ /* SPDX-License-Identifier: GPL-2.0-only */ +#include <bootmode.h> #include <device/device.h> #include <soc/bl31.h> #include <soc/msdc.h> #include <soc/usb.h> +#include "display.h" #include "gpio.h" static void mainboard_init(struct device *dev) { + if (display_init_required()) { + if (configure_display() < 0) + printk(BIOS_ERR, "%s: Failed to init display\n", __func__); + } else { + printk(BIOS_INFO, "%s: Skipped display initialization\n", __func__); + } + mtk_msdc_configure_emmc(true); mtk_msdc_configure_sdcard(); setup_usb_host(); |