// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (C) ASPEED Technology Inc. * Ryan Chen */ #include #include #include #include #include __attribute__((weak)) void aspeed_print_fmc_aux_ctrl(); __attribute__((weak)) void aspeed_print_spi1_abr_mode(); __attribute__((weak)) void aspeed_print_spi1_aux_ctrl(); int print_cpuinfo(void) { aspeed_print_soc_id(); aspeed_print_sysrst_info(); aspeed_print_security_info(); aspeed_print_2nd_wdt_mode(); if (aspeed_print_fmc_aux_ctrl) aspeed_print_fmc_aux_ctrl(); if (aspeed_print_spi1_abr_mode) aspeed_print_spi1_abr_mode(); if (aspeed_print_spi1_aux_ctrl) aspeed_print_spi1_aux_ctrl(); aspeed_print_spi_strap_mode(); aspeed_print_espi_mode(); aspeed_print_mac_info(); return 0; }