Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Kestrel Collaboration
Kestrel Firmware
Bare Metal Firmware
Commits
10599423
Commit
10599423
authored
3 years ago
by
Raptor Engineering Development Team
Committed by
Evan Lojewski
3 years ago
Browse files
Options
Download
Email Patches
Plain Diff
Fix incorrect AVSBus disable commands
parent
1c05bf82
no-dram
i2c-debug
ipl-debug
3 merge requests
!17
Add optional DRAM-free mode
,
!16
Add I2C debug commands to console
,
!14
Fix incorrect AVSBus disable commands
Pipeline
#241
passed with stage
in 19 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
main.c
main.c
+3
-3
No files found.
main.c
View file @
10599423
...
...
@@ -1532,7 +1532,7 @@ static int disable_avsbus_pmbus_cpu(const cpu_info_t *cpu)
{
return
-
1
;
}
if
(
i2c_write_register_byte
(
cpu
->
i2c_master
,
cpu
->
vdd_regulator_addr
,
0x01
,
0x
b
0
))
if
(
i2c_write_register_byte
(
cpu
->
i2c_master
,
cpu
->
vdd_regulator_addr
,
0x01
,
0x
8
0
))
{
return
-
1
;
}
...
...
@@ -1542,7 +1542,7 @@ static int disable_avsbus_pmbus_cpu(const cpu_info_t *cpu)
{
return
-
1
;
}
if
(
i2c_write_register_byte
(
cpu
->
i2c_master
,
cpu
->
vcs_regulator_addr
,
0x01
,
0x
b
0
))
if
(
i2c_write_register_byte
(
cpu
->
i2c_master
,
cpu
->
vcs_regulator_addr
,
0x01
,
0x
8
0
))
{
return
-
1
;
}
...
...
@@ -1552,7 +1552,7 @@ static int disable_avsbus_pmbus_cpu(const cpu_info_t *cpu)
{
return
-
1
;
}
if
(
i2c_write_register_byte
(
cpu
->
i2c_master
,
cpu
->
vdn_regulator_addr
,
0x01
,
0x
b
0
))
if
(
i2c_write_register_byte
(
cpu
->
i2c_master
,
cpu
->
vdn_regulator_addr
,
0x01
,
0x
8
0
))
{
return
-
1
;
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment