1 // SPDX-License-Identifier: GPL-2.0+ 2 /* 3 * Copyright (C) ASPEED Technology Inc. 4 * Ryan Chen <ryan_chen@aspeedtech.com> 5 */ 6 7 #include <common.h> 8 #include <command.h> 9 #include <asm/io.h> 10 #include <asm/arch/aspeed_scu_info.h> 11 #include <asm/arch/platform.h> 12 13 int print_cpuinfo(void) 14 { 15 aspeed_print_soc_id(); 16 aspeed_print_sysrst_info(); 17 aspeed_print_security_info(); 18 aspeed_print_2nd_wdt_mode(); 19 aspeed_print_spi_strap_mode(); 20 aspeed_print_espi_mode(); 21 aspeed_print_mac_info(); 22 return 0; 23 } 24