mirror of
https://github.com/opnsense/src.git
synced 2026-06-06 15:22:34 -04:00
arm/mv: Remove soc_id calls when not needed
Reviewed by: cognet Sponsored by: Arm Ltd Differential Revision: https://reviews.freebsd.org/D49536
This commit is contained in:
parent
17c67ba24d
commit
10db84e113
1 changed files with 0 additions and 8 deletions
|
|
@ -579,7 +579,6 @@ SYSINIT(mv_enter_debugger, SI_SUB_CPU, SI_ORDER_ANY, mv_enter_debugger, NULL);
|
|||
int
|
||||
soc_decode_win(void)
|
||||
{
|
||||
uint32_t dev, rev;
|
||||
int mask, err;
|
||||
|
||||
mask = 0;
|
||||
|
|
@ -592,9 +591,6 @@ soc_decode_win(void)
|
|||
if ((err = win_cpu_from_dt()) != 0)
|
||||
return (err);
|
||||
|
||||
/* Retrieve our ID: some windows facilities vary between SoC models */
|
||||
soc_id(&dev, &rev);
|
||||
|
||||
if (soc_family == MV_SOC_ARMADA_XP)
|
||||
if ((err = decode_win_sdram_fixup()) != 0)
|
||||
return(err);
|
||||
|
|
@ -1603,10 +1599,6 @@ decode_win_ahci_dump(u_long base)
|
|||
static int
|
||||
decode_win_sata_valid(void)
|
||||
{
|
||||
uint32_t dev, rev;
|
||||
|
||||
soc_id(&dev, &rev);
|
||||
|
||||
return (decode_win_can_cover_ddr(MV_WIN_SATA_MAX));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue