From 94c2f76616f5c3da5370e770614aef3a4df51826 Mon Sep 17 00:00:00 2001 From: Felix Held Date: Wed, 27 May 2020 23:17:10 +0200 Subject: 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/41795 Reviewed-by: Raul Rangel Tested-by: build bot (Jenkins) --- src/soc/amd/picasso/include/soc/soc_util.h | 4 +--- src/soc/amd/picasso/soc_util.c | 10 ---------- 2 files changed, 1 insertion(+), 13 deletions(-) (limited to 'src') 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; -- cgit v1.2.3