Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
Bare Metal Firmware
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
3
Issues
3
List
Boards
Labels
Milestones
Merge Requests
3
Merge Requests
3
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kestrel Collaboration
Kestrel Firmware
Bare Metal Firmware
Commits
8919c987
Commit
8919c987
authored
Jan 15, 2021
by
Raptor Engineering Development Team
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix HIOMAP window reset on chassis power down
parent
d5ea8c7b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
main.c
main.c
+8
-0
No files found.
main.c
View file @
8919c987
...
...
@@ -1150,6 +1150,14 @@ static void run_post_shutdown_bmc_peripheral_teardown(void)
// Disable LPC slave IRQs
set_lpc_slave_irq_enable
(
0
);
// Reset HIOMAP windows
hiomap_config
.
protocol_version
=
0
;
hiomap_config
.
window_start_address
=
0
;
hiomap_config
.
window_length_bytes
=
FLASH_SIZE_BYTES
;
hiomap_config
.
active_device_id
=
0
;
hiomap_config
.
window_type
=
HIOMAP_WINDOW_TYPE_READ
;
hiomap_config
.
dirty_range_count
=
0
;
// Reset POST codes and display
post_code_high
=
0
;
post_code_low
=
0
;
...
...
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