Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F145324577
D49536.1777648455.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
670 B
Referenced Files
None
Subscribers
None
D49536.1777648455.diff
View Options
diff --git a/sys/arm/mv/mv_common.c b/sys/arm/mv/mv_common.c
--- a/sys/arm/mv/mv_common.c
+++ b/sys/arm/mv/mv_common.c
@@ -579,7 +579,6 @@
int
soc_decode_win(void)
{
- uint32_t dev, rev;
int mask, err;
mask = 0;
@@ -592,9 +591,6 @@
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 @@
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));
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, May 1, 3:14 PM (6 h, 14 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28528908
Default Alt Text
D49536.1777648455.diff (670 B)
Attached To
Mode
D49536: arm/mv: Remove soc_id calls when not needed
Attached
Detach File
Event Timeline
Log In to Comment