From 2488bea1aa596f5f9bf47acdd58a12147bf8e4ac Mon Sep 17 00:00:00 2001 From: Rizwan Qureshi Date: Tue, 18 Sep 2018 22:53:44 +0530 Subject: [PATCH] mb/intel/cannonlake_rvp: Move FSP param override function to separate file Move the FSP param initialization function to a separate file, as being done on the SoC side and remove the empty romstage.c file. Change-Id: Ibe64bc4ebfdbbb124bcd460dc419da1f469aa7fa Signed-off-by: Rizwan Qureshi Reviewed-on: https://review.coreboot.org/28662 Tested-by: build bot (Jenkins) Reviewed-by: Furquan Shaikh --- src/mainboard/intel/cannonlake_rvp/Makefile.inc | 1 + .../intel/cannonlake_rvp/{romstage.c => romstage_fsp_params.c} | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) rename src/mainboard/intel/cannonlake_rvp/{romstage.c => romstage_fsp_params.c} (96%) diff --git a/src/mainboard/intel/cannonlake_rvp/Makefile.inc b/src/mainboard/intel/cannonlake_rvp/Makefile.inc index 7e8219640d..c18fd9b34d 100644 --- a/src/mainboard/intel/cannonlake_rvp/Makefile.inc +++ b/src/mainboard/intel/cannonlake_rvp/Makefile.inc @@ -22,6 +22,7 @@ bootblock-$(CONFIG_CHROMEOS) += chromeos.c verstage-$(CONFIG_CHROMEOS) += chromeos.c romstage-$(CONFIG_CHROMEOS) += chromeos.c +romstage-y += romstage_fsp_params.c ramstage-$(CONFIG_CHROMEOS) += chromeos.c ramstage-y += mainboard.c diff --git a/src/mainboard/intel/cannonlake_rvp/romstage.c b/src/mainboard/intel/cannonlake_rvp/romstage_fsp_params.c similarity index 96% rename from src/mainboard/intel/cannonlake_rvp/romstage.c rename to src/mainboard/intel/cannonlake_rvp/romstage_fsp_params.c index e0699da500..457be7f2c7 100644 --- a/src/mainboard/intel/cannonlake_rvp/romstage.c +++ b/src/mainboard/intel/cannonlake_rvp/romstage_fsp_params.c @@ -1,8 +1,7 @@ /* * This file is part of the coreboot project. * - * Copyright (C) 2016 Google Inc. - * Copyright (C) 2017 Intel Corp. + * Copyright (C) 2018 Intel Corporation. * * 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