Felix Singer has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/52488 )
Change subject: soc/intel/cannonlake: Remove unuseful method ......................................................................
soc/intel/cannonlake: Remove unuseful method
parse_devicetree() just calls parse_devicetree_param(). Remove it and use parse_devicetree_param() instead.
Change-Id: I1128ab709cfdb02bbdb505c3f22f5433a30cb3c1 Signed-off-by: Felix Singer felixsinger@posteo.net --- M src/soc/intel/cannonlake/fsp_params.c 1 file changed, 1 insertion(+), 8 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/88/52488/1
diff --git a/src/soc/intel/cannonlake/fsp_params.c b/src/soc/intel/cannonlake/fsp_params.c index 9d1d55f..6d8b48e 100644 --- a/src/soc/intel/cannonlake/fsp_params.c +++ b/src/soc/intel/cannonlake/fsp_params.c @@ -88,13 +88,6 @@ } #endif
-static void parse_devicetree(FSP_S_CONFIG *params) -{ - const config_t *config = config_of_soc(); - - parse_devicetree_param(config, params); -} - /* Ignore LTR value for GBE devices */ static void ignore_gbe_ltr(void) { @@ -139,7 +132,7 @@ config_t *config = config_of_soc();
/* Parse device tree and enable/disable devices */ - parse_devicetree(params); + parse_devicetree_param(config, params);
/* Load VBT before devicetree-specific config. */ params->GraphicsConfigPtr = (uintptr_t)vbt_get();