summaryrefslogtreecommitdiff
path: root/src/soc
diff options
context:
space:
mode:
authorFelix Held <felix.held@amd.corp-partner.google.com>2020-05-27 23:17:10 +0200
committerFelix Held <felix-coreboot@felixheld.de>2020-05-28 23:18:12 +0000
commit94c2f76616f5c3da5370e770614aef3a4df51826 (patch)
treed9f43bf36edd4b8cb53e9b7be82500890e28261a /src/soc
parentecbfa99f64c117f45dc6d1b0c50947f46daa3280 (diff)
soc/amd/picasso/soc_util: remove unused functions
soc_is_pollock() and soc_is_picasso() aren't used by any mainboard or soc code. The same fuctionality is still provided by get_soc_type(). Change-Id: I046b4925bfeb4b31d11e2548ac87b7bbca0f6475 Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Reviewed-on: https://review.coreboot.org/c/coreboot/+/41795 Reviewed-by: Raul Rangel <rrangel@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc')
-rw-r--r--src/soc/amd/picasso/include/soc/soc_util.h4
-rw-r--r--src/soc/amd/picasso/soc_util.c10
2 files changed, 1 insertions, 13 deletions
diff --git a/src/soc/amd/picasso/include/soc/soc_util.h b/src/soc/amd/picasso/include/soc/soc_util.h
index 6399e42bb9..2459207f08 100644
--- a/src/soc/amd/picasso/include/soc/soc_util.h
+++ b/src/soc/amd/picasso/include/soc/soc_util.h
@@ -33,10 +33,8 @@ void print_socket_type(void);
void print_silicon_type(void);
void print_soc_type(void);
-/* functions to determine the connectivity feature set */
-bool soc_is_pollock(void);
+/* function to determine the connectivity feature set */
bool soc_is_dali(void);
-bool soc_is_picasso(void);
/* function to determine the iGPU type */
bool soc_is_raven2(void);
diff --git a/src/soc/amd/picasso/soc_util.c b/src/soc/amd/picasso/soc_util.c
index 9c256ae703..2d10cff6a1 100644
--- a/src/soc/amd/picasso/soc_util.c
+++ b/src/soc/amd/picasso/soc_util.c
@@ -197,21 +197,11 @@ void print_soc_type(void)
}
}
-bool soc_is_pollock(void)
-{
- return get_soc_type() == SOC_POLLOCK;
-}
-
bool soc_is_dali(void)
{
return get_soc_type() == SOC_DALI;
}
-bool soc_is_picasso(void)
-{
- return get_soc_type() == SOC_PICASSO;
-}
-
bool soc_is_raven2(void)
{
return get_silicon_type() == SILICON_RV2;