aboutsummaryrefslogtreecommitdiff
path: root/src/soc/intel/apollolake/lpc.c
diff options
context:
space:
mode:
authorSubrata Banik <subrata.banik@intel.com>2018-01-10 10:51:50 +0530
committerSubrata Banik <subrata.banik@intel.com>2018-01-17 17:47:33 +0000
commit888520622b65bc0eabd55d04c314ffc1b0ed5b7e (patch)
treed2a82b65a338f334697c055418a48d78d4c149ab /src/soc/intel/apollolake/lpc.c
parent7410f8be8fc3c5f9bceb61c0c61e02c697968cbd (diff)
soc/intel/common: Add option to pass SoC IO resource
This patch ensures common block has option to reserve IO resources based on SOC requirements. Also add pch_lpc_ prefix to maintain same function nomenclature across all intel common block. Change-Id: Ic00af688104bcea1aff06be6cbb20208a60e5f1d Signed-off-by: Subrata Banik <subrata.banik@intel.com> Reviewed-on: https://review.coreboot.org/23201 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/soc/intel/apollolake/lpc.c')
-rw-r--r--src/soc/intel/apollolake/lpc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/soc/intel/apollolake/lpc.c b/src/soc/intel/apollolake/lpc.c
index 95b8bf5fb7..70b29b5a42 100644
--- a/src/soc/intel/apollolake/lpc.c
+++ b/src/soc/intel/apollolake/lpc.c
@@ -1,7 +1,7 @@
/*
* This file is part of the coreboot project.
*
- * Copyright (C) 2017 Intel Corp.
+ * Copyright (C) 2017-2018 Intel Corp.
*
* 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
@@ -82,7 +82,7 @@ void lpc_configure_pads(void)
gpio_configure_pads(lpc_gpios, ARRAY_SIZE(lpc_gpios));
}
-void lpc_init(struct device *dev)
+void lpc_soc_init(struct device *dev)
{
const struct soc_intel_apollolake_config *cfg;