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>
This commit is contained in:
Felix Held 2020-05-27 23:17:10 +02:00 committed by Felix Held
parent ecbfa99f64
commit 94c2f76616
2 changed files with 1 additions and 13 deletions

View File

@ -33,10 +33,8 @@ void print_socket_type(void);
void print_silicon_type(void); void print_silicon_type(void);
void print_soc_type(void); void print_soc_type(void);
/* functions to determine the connectivity feature set */ /* function to determine the connectivity feature set */
bool soc_is_pollock(void);
bool soc_is_dali(void); bool soc_is_dali(void);
bool soc_is_picasso(void);
/* function to determine the iGPU type */ /* function to determine the iGPU type */
bool soc_is_raven2(void); bool soc_is_raven2(void);

View File

@ -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) bool soc_is_dali(void)
{ {
return get_soc_type() == SOC_DALI; return get_soc_type() == SOC_DALI;
} }
bool soc_is_picasso(void)
{
return get_soc_type() == SOC_PICASSO;
}
bool soc_is_raven2(void) bool soc_is_raven2(void)
{ {
return get_silicon_type() == SILICON_RV2; return get_silicon_type() == SILICON_RV2;