mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-11-18 01:46:47 +00:00
Uncomment BPMP firmware copy in LP0
This commit is contained in:
parent
c2c6745f60
commit
235b7b65e1
1 changed files with 2 additions and 3 deletions
|
@ -107,9 +107,8 @@ uint32_t cpu_suspend(uint64_t power_state, uint64_t entrypoint, uint64_t argumen
|
||||||
|
|
||||||
/* TODO: Hold the BPMP in reset. */
|
/* TODO: Hold the BPMP in reset. */
|
||||||
uint8_t *lp0_entry_code = (uint8_t *)(LP0_ENTRY_GET_RAM_SEGMENT_ADDRESS(LP0_ENTRY_RAM_SEGMENT_ID_LP0_ENTRY_CODE));
|
uint8_t *lp0_entry_code = (uint8_t *)(LP0_ENTRY_GET_RAM_SEGMENT_ADDRESS(LP0_ENTRY_RAM_SEGMENT_ID_LP0_ENTRY_CODE));
|
||||||
(void)(lp0_entry_code);
|
memcpy(lp0_entry_code, bpmpfw_bin, bpmpfw_bin_size);
|
||||||
/* TODO: memcpy(lp0_entry_code, BPMP_FIRMWARE_ADDRESS, sizeof(BPMP_FIRMWARE)); */
|
flush_dcache_range(lp0_entry_code, lp0_entry_code + bpmpfw_bin_size);
|
||||||
/* TODO: flush_dcache_range(lp0_entry_code, lp0_entry_code + sizeof(BPMP_FIRMWARE)); */
|
|
||||||
/* TODO: Take the BPMP out of reset. */
|
/* TODO: Take the BPMP out of reset. */
|
||||||
|
|
||||||
/* Start executing BPMP firmware. */
|
/* Start executing BPMP firmware. */
|
||||||
|
|
Loading…
Reference in a new issue