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
8919c987
Commit
8919c987
authored
4 years ago
by
Raptor Engineering Development Team
Browse files
Options
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
;
...
...
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