From d0c0fd736fc28ae94773cc3914faa4fae9940b5d Mon Sep 17 00:00:00 2001 From: Krishna Prasad Bhat Date: Thu, 27 Feb 2020 14:20:13 +0530 Subject: soc/intel/{icl,tgl}: Make use of print_me_fw_version() from CSE lib Make use of print_me_fw_version() which is defined in the CSE lib to print ME firmware version information for icl,tgl. BUG=None BRANCH=None TEST=Build and boot iclrvp, tglrvp boards. Change-Id: Ief75403c490eee499a84372e54fa38ea3016cc11 Signed-off-by: Krishna Prasad Bhat Reviewed-on: https://review.coreboot.org/c/coreboot/+/39147 Tested-by: build bot (Jenkins) Reviewed-by: Rizwan Qureshi Reviewed-by: Wonkyu Kim Reviewed-by: Sridhar Siricilla Reviewed-by: Subrata Banik --- src/soc/intel/icelake/Makefile.inc | 1 + src/soc/intel/icelake/me.c | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 src/soc/intel/icelake/me.c (limited to 'src/soc/intel/icelake') diff --git a/src/soc/intel/icelake/Makefile.inc b/src/soc/intel/icelake/Makefile.inc index 67a3a7114a..f30816e003 100644 --- a/src/soc/intel/icelake/Makefile.inc +++ b/src/soc/intel/icelake/Makefile.inc @@ -43,6 +43,7 @@ ramstage-y += reset.c ramstage-y += smmrelocate.c ramstage-y += systemagent.c ramstage-y += sd.c +ramstage-y += me.c smm-y += gpio.c smm-y += p2sb.c diff --git a/src/soc/intel/icelake/me.c b/src/soc/intel/icelake/me.c new file mode 100644 index 0000000000..d48b32bf6b --- /dev/null +++ b/src/soc/intel/icelake/me.c @@ -0,0 +1,19 @@ +/* + * This file is part of the coreboot project. + * + * Copyright (C) 2020 Google LLC. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; version 2 of the License. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + */ + +#include +#include + +BOOT_STATE_INIT_ENTRY(BS_DEV_ENABLE, BS_ON_EXIT, print_me_fw_version, NULL); -- cgit v1.2.3